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
d41efc1f
Commit
d41efc1f
authored
Feb 19, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: put visualization and debug support back
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a3a97129
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
h264.c
libavcodec/h264.c
+6
-0
h264.h
libavcodec/h264.h
+2
-0
No files found.
libavcodec/h264.c
View file @
d41efc1f
...
...
@@ -1003,6 +1003,9 @@ static void free_tables(H264Context *h, int free_rbsp)
av_freep
(
&
h
->
mb2b_xy
);
av_freep
(
&
h
->
mb2br_xy
);
for
(
i
=
0
;
i
<
3
;
i
++
)
av_freep
(
&
h
->
visualization_buffer
[
i
]);
if
(
free_rbsp
)
{
for
(
i
=
0
;
i
<
h
->
picture_count
&&
!
h
->
avctx
->
internal
->
is_copy
;
i
++
)
free_picture
(
h
,
&
h
->
DPB
[
i
]);
...
...
@@ -4781,6 +4784,9 @@ not_extra:
assert
(
pict
->
data
[
0
]
||
!*
got_frame
);
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/h264.h
View file @
d41efc1f
...
...
@@ -644,6 +644,8 @@ typedef struct H264Context {
int
parse_last_mb
;
uint8_t
*
edge_emu_buffer
;
int16_t
*
dc_val_base
;
uint8_t
*
visualization_buffer
[
3
];
///< temporary buffer vor MV visualization
}
H264Context
;
extern
const
uint8_t
ff_h264_chroma_qp
[
7
][
QP_MAX_NUM
+
1
];
///< One chroma qp table for each possible bit depth (8-14).
...
...
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