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
6ae43725
Commit
6ae43725
authored
Mar 12, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264/mpegvideo: fix ff_print_debug_info2 arguments
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a76ef998
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
h264.c
libavcodec/h264.c
+5
-5
mpegvideo.c
libavcodec/mpegvideo.c
+2
-4
mpegvideo.h
libavcodec/mpegvideo.h
+1
-1
No files found.
libavcodec/h264.c
View file @
6ae43725
...
...
@@ -4918,16 +4918,16 @@ not_extra:
if
((
ret
=
av_frame_ref
(
pict
,
&
h
->
next_output_pic
->
f
))
<
0
)
return
ret
;
*
got_frame
=
1
;
if
(
CONFIG_MPEGVIDEO
)
{
ff_print_debug_info2
(
h
->
avctx
,
h
->
next_output_pic
,
pict
,
h
->
er
.
mbskip_table
,
h
->
visualization_buffer
,
&
h
->
low_delay
,
h
->
mb_width
,
h
->
mb_height
,
h
->
mb_stride
,
1
);
}
}
}
assert
(
pict
->
data
[
0
]
||
!*
got_frame
);
if
(
CONFIG_MPEGVIDEO
)
{
ff_print_debug_info2
(
h
->
avctx
,
pict
,
h
->
er
.
mbskip_table
,
h
->
visualization_buffer
,
&
h
->
low_delay
,
h
->
mb_width
,
h
->
mb_height
,
h
->
mb_stride
,
1
);
}
return
get_consumed_bytes
(
buf_index
,
buf_size
);
}
...
...
libavcodec/mpegvideo.c
View file @
6ae43725
...
...
@@ -1913,15 +1913,13 @@ static void draw_arrow(uint8_t *buf, int sx, int sy, int ex,
/**
* Print debugging info for the given picture.
*/
void
ff_print_debug_info2
(
AVCodecContext
*
avctx
,
Picture
*
p
,
uint8_t
*
mbskip_table
,
void
ff_print_debug_info2
(
AVCodecContext
*
avctx
,
Picture
*
p
,
AVFrame
*
pict
,
uint8_t
*
mbskip_table
,
uint8_t
*
visualization_buffer
[
3
],
int
*
low_delay
,
int
mb_width
,
int
mb_height
,
int
mb_stride
,
int
quarter_sample
)
{
AVFrame
*
pict
;
if
(
avctx
->
hwaccel
||
!
p
||
!
p
->
mb_type
||
(
avctx
->
codec
->
capabilities
&
CODEC_CAP_HWACCEL_VDPAU
))
return
;
pict
=
&
p
->
f
;
if
(
avctx
->
debug
&
(
FF_DEBUG_SKIP
|
FF_DEBUG_QP
|
FF_DEBUG_MB_TYPE
))
{
...
...
@@ -2207,7 +2205,7 @@ void ff_print_debug_info2(AVCodecContext *avctx, Picture *p, uint8_t *mbskip_tab
void
ff_print_debug_info
(
MpegEncContext
*
s
,
Picture
*
p
)
{
ff_print_debug_info2
(
s
->
avctx
,
p
,
s
->
mbskip_table
,
s
->
visualization_buffer
,
&
s
->
low_delay
,
ff_print_debug_info2
(
s
->
avctx
,
p
,
&
p
->
f
,
s
->
mbskip_table
,
s
->
visualization_buffer
,
&
s
->
low_delay
,
s
->
mb_width
,
s
->
mb_height
,
s
->
mb_stride
,
s
->
quarter_sample
);
}
...
...
libavcodec/mpegvideo.h
View file @
6ae43725
...
...
@@ -809,7 +809,7 @@ void ff_mpeg_draw_horiz_band(MpegEncContext *s, int y, int h);
void
ff_mpeg_flush
(
AVCodecContext
*
avctx
);
void
ff_print_debug_info
(
MpegEncContext
*
s
,
Picture
*
p
);
void
ff_print_debug_info2
(
AVCodecContext
*
avctx
,
Picture
*
pict
,
uint8_t
*
mbskip_table
,
void
ff_print_debug_info2
(
AVCodecContext
*
avctx
,
Picture
*
p
,
AVFrame
*
p
ict
,
uint8_t
*
mbskip_table
,
uint8_t
*
visualization_buffer
[
3
],
int
*
low_delay
,
int
mb_width
,
int
mb_height
,
int
mb_stride
,
int
quarter_sample
);
...
...
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