Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
1e2e6855
Commit
1e2e6855
authored
Aug 28, 2008
by
dionoea
Browse files
Here too. (yeah, we now have video filters in modules/video_chroma and modules/video_filter)
parent
89ec4e62
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/video_filter/rv32.c
View file @
1e2e6855
...
...
@@ -69,11 +69,16 @@ static int OpenFilter( vlc_object_t *p_this )
/* XXX Only support RV24 -> RV32 conversion */
if
(
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_FOURCC
(
'R'
,
'V'
,
'2'
,
'4'
)
||
p_filter
->
fmt_out
.
video
.
i_chroma
!=
VLC_FOURCC
(
'R'
,
'V'
,
'3'
,
'2'
)
)
(
p_filter
->
fmt_out
.
video
.
i_chroma
!=
VLC_FOURCC
(
'R'
,
'V'
,
'3'
,
'2'
)
&&
p_filter
->
fmt_out
.
video
.
i_chroma
!=
VLC_FOURCC
(
'R'
,
'G'
,
'B'
,
'A'
))
)
{
return
VLC_EGENERIC
;
}
if
(
p_filter
->
fmt_in
.
video
.
i_width
!=
p_filter
->
fmt_out
.
video
.
i_width
||
p_filter
->
fmt_in
.
video
.
i_height
!=
p_filter
->
fmt_out
.
video
.
i_height
)
return
-
1
;
/* Allocate the memory needed to store the decoder's structure */
if
(
(
p_filter
->
p_sys
=
p_sys
=
(
filter_sys_t
*
)
malloc
(
sizeof
(
filter_sys_t
))
)
==
NULL
)
...
...
Write
Preview
Supports
Markdown
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