[vlc-devel] How to draw a line in subpicture_t region

Peter Tap ptrtap at yahoo.com
Mon Aug 27 22:45:17 CEST 2012


Hi,

Thank you for your help. 


I got some insight looking at audiobargraph.c . In my other post, I have added some pseudo code on how I think a line should be drawn. I would appreciate it if you could take a look at it and tell me if I am going in the right direction.

Best regards,
Peter



________________________________
 From: "pcoent at korrisoft.com" <pcoent at korrisoft.com>
To: Mailing list for VLC media player developers <vlc-devel at videolan.org> 
Sent: Monday, August 27, 2012 12:10 PM
Subject: Re: [vlc-devel] How to draw a line in subpicture_t region
 

Years ago we implemented the audiobargraph module that was drawing bargraphs representing audio levels on top of the video, it might give you some ideas.

PS: I am not sure this module is still working correctly...

HTH


Le 27 août 2012 à 20:59, Olivier Aubert a écrit :

Hi 
>
>On Mon, 2012-08-27 at 10:05 -0700, Peter Tap wrote:
>
>Hi Olivier,
>>
>
>>
>Thank you for your help.
>>
>
>>
>$ cd vlc/modules/video_filter
>>
>$ grep -i svg *
>>
>I don't get any matching files.
>>True, it is in fact a text renderer. If you feed it text, it will render
>it through a template. If you feed it svg it will render svg.
>
>
>Can you please point me to a VLC sample that I can look up?
>>See the last post of http://forum.videolan.org/viewtopic.php?f=2&t=874&p=298269&hilit=svg#p298269
>
>
>Also, I am thinking just drawing a line should not be that hard. The problem is I cannot identify a sample file I can look up to get an idea. Most filters dealing with graphics seem to load/copy images.
>>See http://en.wikipedia.org/wiki/Line_drawing_algorithm
>Bresenham algorithm is the most well known.
>
>Regards,
>Olivier
>
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>http://mailman.videolan.org/listinfo/vlc-devel
>

 
Philippe COENT- CEO Korrisoft sarl
2 rue de la Chataigneraie - 35510 CESSON SEVIGNE - FRANCE
Phone : +33 6 79 35 78 94
pcoent at korrisoft.com  -  www.korrisoft.com 


_______________________________________________
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/20120827/f24dcc2d/attachment.html>


More information about the vlc-devel mailing list