Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
91106e6a
Commit
91106e6a
authored
Nov 05, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scale: add support for ARGB
parent
cca85323
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/video_filter/scale.c
modules/video_filter/scale.c
+3
-1
No files found.
modules/video_filter/scale.c
View file @
91106e6a
...
@@ -61,7 +61,8 @@ static int OpenFilter( vlc_object_t *p_this )
...
@@ -61,7 +61,8 @@ static int OpenFilter( vlc_object_t *p_this )
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_I420
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_I420
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_YV12
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_YV12
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_RGB32
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_RGB32
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_RGBA
)
||
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_RGBA
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_ARGB
)
||
p_filter
->
fmt_in
.
video
.
i_chroma
!=
p_filter
->
fmt_out
.
video
.
i_chroma
)
p_filter
->
fmt_in
.
video
.
i_chroma
!=
p_filter
->
fmt_out
.
video
.
i_chroma
)
{
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
@@ -106,6 +107,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
...
@@ -106,6 +107,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
}
}
if
(
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_RGBA
&&
if
(
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_RGBA
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_ARGB
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_RGB32
)
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_RGB32
)
{
{
for
(
i_plane
=
0
;
i_plane
<
p_pic_dst
->
i_planes
;
i_plane
++
)
for
(
i_plane
=
0
;
i_plane
<
p_pic_dst
->
i_planes
;
i_plane
++
)
...
...
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