Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
60f77057
Commit
60f77057
authored
Jan 18, 2000
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i_aspect_ratio et i_matrix_coefficients pour Ptyx.
parent
33b2319e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
include/vpar_headers.h
include/vpar_headers.h
+1
-1
src/video_parser/vpar_headers.c
src/video_parser/vpar_headers.c
+5
-2
No files found.
include/vpar_headers.h
View file @
60f77057
...
...
@@ -42,7 +42,7 @@ typedef struct sequence_s
{
u32
i_height
,
i_width
,
i_size
;
u32
i_mb_height
,
i_mb_width
,
i_mb_size
;
unsigned
int
i_aspect_ratio
;
unsigned
int
i_aspect_ratio
,
i_matrix_coefficients
;
float
r_frame_rate
;
boolean_t
b_mpeg2
;
boolean_t
b_progressive
;
...
...
src/video_parser/vpar_headers.c
View file @
60f77057
...
...
@@ -676,6 +676,8 @@ static void PictureHeader( vpar_thread_t * p_vpar )
P_picture
->
date
=
vpar_SynchroDecode
(
p_vpar
,
p_vpar
->
picture
.
i_coding_type
,
i_structure
);
P_picture
->
i_aspect_ratio
=
p_vpar
->
sequence
.
i_aspect_ratio
;
P_picture
->
i_matrix_coefficients
=
p_vpar
->
sequence
.
i_matrix_coefficients
;
p_vpar
->
picture
.
i_l_stride
=
-
8
+
(
p_vpar
->
sequence
.
i_width
<<
(
1
-
p_vpar
->
picture
.
b_frame_structure
)
);
p_vpar
->
picture
.
i_c_stride
=
-
8
+
(
p_vpar
->
sequence
.
i_chroma_width
...
...
@@ -924,8 +926,9 @@ static void SequenceDisplayExtension( vpar_thread_t * p_vpar )
RemoveBits
(
&
p_vpar
->
bit_stream
,
3
);
if
(
GetBits
(
&
p_vpar
->
bit_stream
,
1
)
)
{
/* Three bytes for color_desciption */
RemoveBits
(
&
p_vpar
->
bit_stream
,
24
);
/* Two bytes for color_desciption */
RemoveBits
(
&
p_vpar
->
bit_stream
,
16
);
p_vpar
->
sequence
.
i_matrix_coefficients
=
GetBits
(
&
p_vpar
->
bit_stream
,
8
);
}
/* display_horizontal and vertical_size and a marker_bit */
RemoveBits
(
&
p_vpar
->
bit_stream
,
29
);
...
...
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