Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
Steve Lhomme
VLC
Commits
041e9c63
Commit
041e9c63
authored
Mar 14, 2018
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: heif: apply colr
parent
c84e8acb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
modules/demux/mp4/heif.c
modules/demux/mp4/heif.c
+10
-0
No files found.
modules/demux/mp4/heif.c
View file @
041e9c63
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
#include "libmp4.h"
#include "libmp4.h"
#include "heif.h"
#include "heif.h"
#include "color_config.h"
struct
heif_private_t
struct
heif_private_t
{
{
...
@@ -337,6 +338,15 @@ static int DemuxHEIF( demux_t *p_demux )
...
@@ -337,6 +338,15 @@ static int DemuxHEIF( demux_t *p_demux )
case
270
:
fmt
.
video
.
orientation
=
ORIENT_ROTATED_270
;
break
;
case
270
:
fmt
.
video
.
orientation
=
ORIENT_ROTATED_270
;
break
;
}
}
break
;
break
;
case
ATOM_colr
:
fmt
.
video
.
primaries
=
iso_23001_8_cp_to_vlc_primaries
(
p_prop
->
data
.
p_colr
->
nclc
.
i_primary_idx
);
fmt
.
video
.
transfer
=
iso_23001_8_tc_to_vlc_xfer
(
p_prop
->
data
.
p_colr
->
nclc
.
i_transfer_function_idx
);
fmt
.
video
.
space
=
iso_23001_8_mc_to_vlc_coeffs
(
p_prop
->
data
.
p_colr
->
nclc
.
i_matrix_idx
);
fmt
.
video
.
b_color_range_full
=
p_prop
->
data
.
p_colr
->
nclc
.
i_full_range
;
break
;
}
}
}
}
}
}
...
...
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