Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b1609412
Commit
b1609412
authored
Sep 09, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed warnings
Originally committed as revision 2248 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
09b85c13
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
2 deletions
+6
-2
motion_est_mmx.c
libavcodec/i386/motion_est_mmx.c
+1
-1
mjpeg.c
libavcodec/mjpeg.c
+2
-1
mpegvideo.h
libavcodec/mpegvideo.h
+1
-0
ratecontrol.c
libavcodec/ratecontrol.c
+1
-0
utils.c
libavcodec/utils.c
+1
-0
No files found.
libavcodec/i386/motion_est_mmx.c
View file @
b1609412
...
...
@@ -26,7 +26,7 @@ static const __attribute__ ((aligned(8))) uint64_t round_tab[3]={
0x0002000200020002
,
};
static
__attribute__
((
aligned
(
8
)))
uint64_t
bone
=
0x0101010101010101LL
;
static
__attribute__
((
aligned
(
8
)
,
unused
))
uint64_t
bone
=
0x0101010101010101LL
;
static
inline
void
sad8_mmx
(
uint8_t
*
blk1
,
uint8_t
*
blk2
,
int
stride
,
int
h
)
{
...
...
libavcodec/mjpeg.c
View file @
b1609412
...
...
@@ -289,6 +289,7 @@ void mjpeg_close(MpegEncContext *s)
case 4: ret= left + top - topleft; break;\
case 5: ret= left + ((top - topleft)>>1); break;\
case 6: ret= top + ((left - topleft)>>1); break;\
default:\
case 7: ret= (left + top)>>1; break;\
}
...
...
@@ -1364,7 +1365,7 @@ static int mjpeg_decode_scan(MJpegDecodeContext *s){
static
int
mjpeg_decode_sos
(
MJpegDecodeContext
*
s
)
{
int
len
,
nb_components
,
i
,
h
,
v
,
predictor
,
point_transform
,
ilv
;
int
len
,
nb_components
,
i
,
h
,
v
,
predictor
,
point_transform
;
int
vmax
,
hmax
,
index
,
id
;
const
int
block_size
=
s
->
lossless
?
1
:
8
;
...
...
libavcodec/mpegvideo.h
View file @
b1609412
...
...
@@ -869,6 +869,7 @@ int msmpeg4_decode_ext_header(MpegEncContext * s, int buf_size);
int
ff_msmpeg4_decode_init
(
MpegEncContext
*
s
);
void
ff_msmpeg4_encode_init
(
MpegEncContext
*
s
);
int
ff_wmv2_decode_picture_header
(
MpegEncContext
*
s
);
int
ff_wmv2_decode_secondary_picture_header
(
MpegEncContext
*
s
);
void
ff_wmv2_add_mb
(
MpegEncContext
*
s
,
DCTELEM
block
[
6
][
64
],
uint8_t
*
dest_y
,
uint8_t
*
dest_cb
,
uint8_t
*
dest_cr
);
void
ff_mspel_motion
(
MpegEncContext
*
s
,
uint8_t
*
dest_y
,
uint8_t
*
dest_cb
,
uint8_t
*
dest_cr
,
...
...
libavcodec/ratecontrol.c
View file @
b1609412
...
...
@@ -602,6 +602,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s)
var
=
pict_type
==
I_TYPE
?
pic
->
mb_var_sum
:
pic
->
mc_mb_var_sum
;
short_term_q
=
0
;
/* avoid warning */
if
(
s
->
flags
&
CODEC_FLAG_PASS2
){
if
(
pict_type
!=
I_TYPE
)
assert
(
pict_type
==
rce
->
new_pict_type
);
...
...
libavcodec/utils.c
View file @
b1609412
...
...
@@ -222,6 +222,7 @@ void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic){
assert
(
pic
->
type
==
FF_BUFFER_TYPE_INTERNAL
);
assert
(
s
->
internal_buffer_count
);
buf
=
NULL
;
/* avoids warning */
for
(
i
=
0
;
i
<
s
->
internal_buffer_count
;
i
++
){
//just 3-5 checks so is not worth to optimize
buf
=
&
((
InternalBuffer
*
)
s
->
internal_buffer
)[
i
];
if
(
buf
->
data
[
0
]
==
pic
->
data
[
0
])
...
...
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