Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fatih Uzunoğlu
VLC
Commits
e5963be1
Commit
e5963be1
authored
3 months ago
by
Alexandre Janniaux
Committed by
Steve Lhomme
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
opengl: interop_android: add support for GL_EXT_YUV_target
parent
798e2179
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/video_output/opengl/interop_android.c
+16
-2
16 additions, 2 deletions
modules/video_output/opengl/interop_android.c
with
16 additions
and
2 deletions
modules/video_output/opengl/interop_android.c
+
16
−
2
View file @
e5963be1
...
...
@@ -238,8 +238,22 @@ Open(struct vlc_gl_interop *interop)
interop
->
ops
=
&
ops
;
interop
->
tex_target
=
GL_TEXTURE_EXTERNAL_OES
;
interop
->
fmt_out
.
i_chroma
=
VLC_CODEC_RGBA
;
interop
->
fmt_out
.
space
=
COLOR_SPACE_UNDEF
;
if
(
vlc_gl_HasExtension
(
&
extension_vt
,
"GL_EXT_YUV_target"
))
{
msg_Warn
(
&
interop
->
obj
,
"GL_EXT_YUV_target is available,"
" using it."
);
/* We represent as Packed YUV 4:4:4 since there is a single
* texture target available. */
interop
->
fmt_out
.
i_chroma
=
VLC_CODEC_V308
;
interop
->
fmt_out
.
space
=
interop
->
fmt_in
.
space
;
interop
->
fmt_out
.
primaries
=
interop
->
fmt_in
.
primaries
;
interop
->
fmt_out
.
transfer
=
interop
->
fmt_in
.
transfer
;
}
else
{
interop
->
fmt_out
.
i_chroma
=
VLC_CODEC_RGBA
;
interop
->
fmt_out
.
space
=
COLOR_SPACE_UNDEF
;
}
interop
->
tex_count
=
1
;
interop
->
texs
[
0
]
=
(
struct
vlc_gl_tex_cfg
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment