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
e70ab7c1
Commit
e70ab7c1
authored
Feb 17, 2014
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: add MVCD to the list of High profiles in SPS
Also comment all previous profiles.
parent
3aca10bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
h264_ps.c
libavcodec/h264_ps.c
+11
-5
No files found.
libavcodec/h264_ps.c
View file @
e70ab7c1
...
@@ -328,11 +328,17 @@ int ff_h264_decode_seq_parameter_set(H264Context *h)
...
@@ -328,11 +328,17 @@ int ff_h264_decode_seq_parameter_set(H264Context *h)
memset
(
sps
->
scaling_matrix8
,
16
,
sizeof
(
sps
->
scaling_matrix8
));
memset
(
sps
->
scaling_matrix8
,
16
,
sizeof
(
sps
->
scaling_matrix8
));
sps
->
scaling_matrix_present
=
0
;
sps
->
scaling_matrix_present
=
0
;
if
(
sps
->
profile_idc
==
100
||
sps
->
profile_idc
==
110
||
if
(
sps
->
profile_idc
==
100
||
// High profile
sps
->
profile_idc
==
122
||
sps
->
profile_idc
==
244
||
sps
->
profile_idc
==
110
||
// High10 profile
sps
->
profile_idc
==
44
||
sps
->
profile_idc
==
83
||
sps
->
profile_idc
==
122
||
// High422 profile
sps
->
profile_idc
==
86
||
sps
->
profile_idc
==
118
||
sps
->
profile_idc
==
244
||
// High444 Predictive profile
sps
->
profile_idc
==
128
||
sps
->
profile_idc
==
144
)
{
sps
->
profile_idc
==
44
||
// Cavlc444 profile
sps
->
profile_idc
==
83
||
// Scalable Constrained High profile (SVC)
sps
->
profile_idc
==
86
||
// Scalable High Intra profile (SVC)
sps
->
profile_idc
==
118
||
// Stereo High profile (MVC)
sps
->
profile_idc
==
128
||
// Multiview High profile (MVC)
sps
->
profile_idc
==
138
||
// Multiview Depth High profile (MVCD)
sps
->
profile_idc
==
144
)
{
// old High444 profile
sps
->
chroma_format_idc
=
get_ue_golomb_31
(
&
h
->
gb
);
sps
->
chroma_format_idc
=
get_ue_golomb_31
(
&
h
->
gb
);
if
(
sps
->
chroma_format_idc
>
3
)
{
if
(
sps
->
chroma_format_idc
>
3
)
{
avpriv_request_sample
(
h
->
avctx
,
"chroma_format_idc %u"
,
avpriv_request_sample
(
h
->
avctx
,
"chroma_format_idc %u"
,
...
...
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