Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
317fa3bd
Unverified
Commit
317fa3bd
authored
Dec 13, 2022
by
Lynne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h2645_vui: expose aspect_ratio_info_present_flag
parent
dc269455
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
h2645_vui.c
libavcodec/h2645_vui.c
+2
-4
h2645_vui.h
libavcodec/h2645_vui.h
+1
-0
No files found.
libavcodec/h2645_vui.c
View file @
317fa3bd
...
...
@@ -36,12 +36,10 @@
void
ff_h2645_decode_common_vui_params
(
GetBitContext
*
gb
,
H2645VUI
*
vui
,
void
*
logctx
)
{
int
aspect_ratio_info_present_flag
;
av_log
(
logctx
,
AV_LOG_DEBUG
,
"Decoding VUI
\n
"
);
aspect_ratio_info_present_flag
=
get_bits1
(
gb
);
if
(
aspect_ratio_info_present_flag
)
{
vui
->
aspect_ratio_info_present_flag
=
get_bits1
(
gb
);
if
(
vui
->
aspect_ratio_info_present_flag
)
{
vui
->
aspect_ratio_idc
=
get_bits
(
gb
,
8
);
if
(
vui
->
aspect_ratio_idc
<
FF_ARRAY_ELEMS
(
ff_h2645_pixel_aspect
))
vui
->
sar
=
ff_h2645_pixel_aspect
[
vui
->
aspect_ratio_idc
];
...
...
libavcodec/h2645_vui.h
View file @
317fa3bd
...
...
@@ -27,6 +27,7 @@
typedef
struct
H2645VUI
{
AVRational
sar
;
int
aspect_ratio_idc
;
int
aspect_ratio_info_present_flag
;
int
overscan_info_present_flag
;
int
overscan_appropriate_flag
;
...
...
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