[vlc-devel] (direct3d module question)YUV data to LPDIRECT3DSURFACE9

Sasha Koruga skoruga at gmail.com
Thu Aug 5 21:21:18 CEST 2010


Thank you, Kaarlo. I'll defintiely implement them if I'm able find a
good description of the algorithm and if the shader can handle it
without slowing down.

-Sasha

On Thu, Aug 5, 2010 at 11:47 AM, Kaarlo Räihä <kaarlo.raiha at gmail.com> wrote:
>
>
> 2010/8/5 Sasha Koruga <skoruga at gmail.com>
>>
>> I would be interested in wrting a sharpening shader, but there are
>> just some questions I have first:
>> 1) Which sharpening algorithm should I use? (could allow mulitple
>> algorithms, but still would like names of good ones for video)
>
> Problem is that some cheaper cards cannot do better algos real time for HD
> videos. I would guess MSharpen and asharp are few filters that people would
> want to see.
>
>>
>> 2) Does VLC already do some sharpening automatically? If so, would
>> that need to be disabled first?
>
> AFAIK there isn't any post processing done by default.
>
>>
>> 3) Does VLC already have any sharpening option?
>
> sharpen-sigma
>
>>
>> Upscaling filter is a good suggestion. If there is any particular
>> algorithm that people recommend, I'd love to know.
>>
>> I definitely plan to continue working on colorspace conversions, but I
>> need to figure out how to efficiently transfer the raw YUV data to a
>> D3D texture first (creating a dynamic texture and memory copying the
>> data into there was too slow). Still looking for advice there! ^_^
>>
>> Regards,
>> Sasha
>>
>> On Thu, Aug 5, 2010 at 7:48 AM, Geoffroy Couprie <geo.couprie at gmail.com>
>> wrote:
>> > On Thu, Aug 5, 2010 at 1:34 PM, Jean-Baptiste Kempf <jb at videolan.org>
>> > wrote:
>> >> On Thu, Aug 05, 2010 at 01:31:51PM +0200, Rémi Duraffort wrote :
>> >>> > Oh, and also, I'd like to know if anyone has any special shader
>> >>> > requests. Currently I have a 16-235 -> 0-255 shader, a grayscale
>> >>> > shader, an invert shader, a BT.601->BT.709 shader, and I'm still
>> >>> > working on the YUV->RGB and other image conversion shaders. I know
>> >>> > MPC-HC has a lot of shaders, but after checking them out, I realized
>> >>> > that most of them are completely useless and serve no purpose (e.g.
>> >>> > a
>> >>> > circle that bounces around while the video is playing). Maybe I'm
>> >>> > missing the purpose of some of them (e.g. night vision shader -
>> >>> > brightens, blurs, and makes stuff green), and in such a case, please
>> >>> > let me know if you think a case exists where someone would actually
>> >>> > want to enable such a shader.
>> >>> Shaders for chroma conversion are the most usefull ones. The others
>> >>> are
>> >>> only for fun IMHO (nothing usefull).
>> >>
>> >> Shaders for colourspaces translation are useful.
>> >>
>> >
>> > Sharpening, upscaling filters?
>> > _______________________________________________
>> > vlc-devel mailing list
>> > To unsubscribe or modify your subscription options:
>> > http://mailman.videolan.org/listinfo/vlc-devel
>> >
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc-devel
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>



More information about the vlc-devel mailing list