Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
04932b0d
Commit
04932b0d
authored
Mar 22, 2008
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: typo fixes
Originally committed as revision 12554 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a94948d3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
4xm.c
libavcodec/4xm.c
+1
-1
error_resilience.c
libavcodec/error_resilience.c
+1
-1
mpegvideo_mmx_template.c
libavcodec/i386/mpegvideo_mmx_template.c
+1
-1
ratecontrol.c
libavcodec/ratecontrol.c
+1
-1
postprocess.c
libpostproc/postprocess.c
+3
-2
postprocess_template.c
libpostproc/postprocess_template.c
+1
-1
No files found.
libavcodec/4xm.c
View file @
04932b0d
...
...
@@ -405,7 +405,7 @@ static int decode_p_frame(FourXContext *f, const uint8_t *buf, int length){
/**
* decode block and dequantize.
* Note this is al
lmost identical to mjpeg
* Note this is al
most identical to MJPEG.
*/
static
int
decode_i_block
(
FourXContext
*
f
,
DCTELEM
*
block
){
int
code
,
i
,
j
,
level
,
val
;
...
...
libavcodec/error_resilience.c
View file @
04932b0d
...
...
@@ -561,7 +561,7 @@ static int is_intra_more_likely(MpegEncContext *s){
undamaged_count
++
;
}
if
(
undamaged_count
<
5
)
return
0
;
//al
l
most all MBs damaged -> use temporal prediction
if
(
undamaged_count
<
5
)
return
0
;
//almost all MBs damaged -> use temporal prediction
#ifdef HAVE_XVMC
//prevent dsp.sad() check, that requires access to the image
...
...
libavcodec/i386/mpegvideo_mmx_template.c
View file @
04932b0d
...
...
@@ -96,7 +96,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
int
qscale
,
int
*
overflow
)
{
long
last_non_zero_p1
;
int
level
=
0
,
q
;
//=0 is
cuz
gcc says uninitialized ...
int
level
=
0
,
q
;
//=0 is
because
gcc says uninitialized ...
const
uint16_t
*
qmat
,
*
bias
;
DECLARE_ALIGNED_16
(
int16_t
,
temp_block
[
64
]);
...
...
libavcodec/ratecontrol.c
View file @
04932b0d
...
...
@@ -121,7 +121,7 @@ int ff_rate_control_init(MpegEncContext *s)
rcc
->
p_cplx_sum
[
i
]
=
rcc
->
mv_bits_sum
[
i
]
=
rcc
->
qscale_sum
[
i
]
=
rcc
->
frame_count
[
i
]
=
1
;
// 1 is better
cuz
of 1/0 and such
rcc
->
frame_count
[
i
]
=
1
;
// 1 is better
because
of 1/0 and such
rcc
->
last_qscale_for
[
i
]
=
FF_QP2LAMBDA
*
5
;
}
rcc
->
buffer_index
=
s
->
avctx
->
rc_initial_buffer_occupancy
;
...
...
libpostproc/postprocess.c
View file @
04932b0d
...
...
@@ -50,7 +50,7 @@ TempDeNoiser# E e e Ec
* I do not have a 3DNow! CPU -> it is untested, but no one said it does not work so it seems to work
# more or less selfinvented filters so the exactness is not too meaningful
E = Exact implementation
e = al
l
most exact implementation (slightly different rounding,...)
e = almost exact implementation (slightly different rounding,...)
a = alternative / approximate impl
c = checked against the other implementations (-vo md5)
p = partially optimized, still some work to do
...
...
@@ -178,7 +178,8 @@ static inline void prefetcht2(void *p)
}
#endif
// The horizontal Functions exist only in C cuz the MMX code is faster with vertical filters and transposing
/* The horizontal functions exist only in C because the MMX
* code is faster with vertical filters and transposing. */
/**
* Check if the given 8x8 Block is mostly "flat"
...
...
libpostproc/postprocess_template.c
View file @
04932b0d
...
...
@@ -606,7 +606,7 @@ static inline void RENAME(doVertDefFilter)(uint8_t src[], int stride, PPContext
src
+=
stride
*
4
;
asm
volatile
(
#if 0 //sligtly more accurate and slightly slower
#if 0 //slig
h
tly more accurate and slightly slower
"pxor %%mm7, %%mm7 \n\t" // 0
"lea (%0, %1), %%"REG_a" \n\t"
"lea (%%"REG_a", %1, 4), %%"REG_c" \n\t"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment