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
307562be
Commit
307562be
authored
May 21, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg4videodec: print more debug info for debug_pict_info
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
8258697c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
mpeg4videodec.c
libavcodec/mpeg4videodec.c
+18
-2
No files found.
libavcodec/mpeg4videodec.c
View file @
307562be
...
...
@@ -1854,6 +1854,18 @@ no_cplx_est:
// bin shape stuff FIXME
}
}
if
(
s
->
avctx
->
debug
&
FF_DEBUG_PICT_INFO
)
{
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"tb %d/%d, tincrbits:%d, qp_prec:%d, ps:%d, %s%s
\n
"
,
s
->
avctx
->
time_base
.
num
,
s
->
avctx
->
time_base
.
den
,
s
->
time_increment_bits
,
s
->
quant_precision
,
s
->
progressive_sequence
,
s
->
scalability
?
"scalability "
:
""
,
s
->
quarter_sample
?
"qpel "
:
""
,
s
->
data_partitioning
?
"partition "
:
""
,
s
->
rvlc
?
"rvlc "
:
""
);
}
return
0
;
}
...
...
@@ -2093,12 +2105,16 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){
s
->
b_code
=
1
;
if
(
s
->
avctx
->
debug
&
FF_DEBUG_PICT_INFO
){
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"qp:%d fc:%d,%d %s size:%d pro:%d alt:%d top:%d %spel part:%d resync:%d w:%d a:%d rnd:%d vot:%d%s dc:%d ce:%d/%d/%d
\n
"
,
av_log
(
s
->
avctx
,
AV_LOG_DEBUG
,
"qp:%d fc:%d,%d %s size:%d pro:%d alt:%d top:%d %spel part:%d resync:%d w:%d a:%d rnd:%d vot:%d%s dc:%d ce:%d/%d/%d
time:%d tincr:%d
\n
"
,
s
->
qscale
,
s
->
f_code
,
s
->
b_code
,
s
->
pict_type
==
AV_PICTURE_TYPE_I
?
"I"
:
(
s
->
pict_type
==
AV_PICTURE_TYPE_P
?
"P"
:
(
s
->
pict_type
==
AV_PICTURE_TYPE_B
?
"B"
:
"S"
)),
gb
->
size_in_bits
,
s
->
progressive_sequence
,
s
->
alternate_scan
,
s
->
top_field_first
,
s
->
quarter_sample
?
"q"
:
"h"
,
s
->
data_partitioning
,
s
->
resync_marker
,
s
->
num_sprite_warping_points
,
s
->
sprite_warping_accuracy
,
1
-
s
->
no_rounding
,
s
->
vo_type
,
s
->
vol_control_parameters
?
" VOLC"
:
" "
,
s
->
intra_dc_threshold
,
s
->
cplx_estimation_trash_i
,
s
->
cplx_estimation_trash_p
,
s
->
cplx_estimation_trash_b
);
s
->
sprite_warping_accuracy
,
1
-
s
->
no_rounding
,
s
->
vo_type
,
s
->
vol_control_parameters
?
" VOLC"
:
" "
,
s
->
intra_dc_threshold
,
s
->
cplx_estimation_trash_i
,
s
->
cplx_estimation_trash_p
,
s
->
cplx_estimation_trash_b
,
s
->
time
,
time_increment
);
}
if
(
!
s
->
scalability
){
...
...
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