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

Kaarlo Räihä kaarlo.raiha at gmail.com
Thu Aug 5 20:47:10 CEST 2010


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100805/14315e7c/attachment.html>


More information about the vlc-devel mailing list