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
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Jean-Baptiste Kempf
vlc
Commits
c2fe1c0a
Commit
c2fe1c0a
authored
Aug 11, 2017
by
Mohammed Huzaifa Danish
Committed by
Steve Lhomme
Apr 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: add frame sequential handling
Signed-off-by:
Steve Lhomme
<
robux4@ycbcr.xyz
>
parent
638f05ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
include/vlc_es.h
include/vlc_es.h
+2
-0
modules/codec/avcodec/video.c
modules/codec/avcodec/video.c
+5
-0
No files found.
include/vlc_es.h
View file @
c2fe1c0a
...
...
@@ -353,6 +353,8 @@ struct video_format_t
video_chroma_location_t
chroma_location
;
/**< YCbCr chroma location */
video_multiview_mode_t
multiview_mode
;
/** Multiview mode, 2D, 3D */
bool
b_multiview_right_eye_first
;
/** Multiview left or right eye first*/
bool
b_multiview_left_eye
;
video_projection_mode_t
projection_mode
;
/**< projection mode */
vlc_viewpoint_t
pose
;
...
...
modules/codec/avcodec/video.c
View file @
c2fe1c0a
...
...
@@ -901,6 +901,11 @@ static int DecodeSidedata( decoder_t *p_dec, const AVFrame *frame, picture_t *p_
p_pic
->
format
.
multiview_mode
=
MULTIVIEW_2D
;
break
;
}
p_pic
->
format
.
b_multiview_right_eye_first
=
stereo_data
->
flags
&
AV_STEREO3D_FLAG_INVERT
;
p_pic
->
format
.
b_multiview_left_eye
=
stereo_data
->
flags
&
AV_STEREO3D_VIEW_LEFT
;
p_dec
->
fmt_out
.
video
.
b_multiview_right_eye_first
=
p_pic
->
format
.
b_multiview_right_eye_first
;
if
(
p_dec
->
fmt_out
.
video
.
multiview_mode
!=
p_pic
->
format
.
multiview_mode
)
{
p_dec
->
fmt_out
.
video
.
multiview_mode
=
p_pic
->
format
.
multiview_mode
;
...
...
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