yuv<->rgb conversion in video filters

This forum is about all development around libVLC.
koyaya
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 11:52

yuv<->rgb conversion in video filters

Postby koyaya » 14 Jun 2011 23:30

Hello
I am writing a filter and i need to work in RGB domain for this so i need a yuv <-> rgb conversion
can I use filters in modules/video_chroma/ and how (references to any existing code should be enough)
or are there other ways to do it?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: yuv<->rgb conversion in video filters

Postby Rémi Denis-Courmont » 15 Jun 2011 09:22

You cannot change the input format. Refer to the posterize filter for reference on dealing with this case.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

koyaya
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 11:52

Re: yuv<->rgb conversion in video filters

Postby koyaya » 15 Jun 2011 10:20

Remi, thanks for the answer
i see references to modules/video_filter/posterize.c
but its not there in the tree any more..
i saw function in modules\video_chroma? are they relevant?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: yuv<->rgb conversion in video filters

Postby Rémi Denis-Courmont » 15 Jun 2011 12:25

It is in the tree. You must be looking at the wrong tree.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests