[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.69,1.70 vosub_vidix.c,1.28,1.29
Nick Kurshev
nickols_k at mail.ru
Mon Feb 18 17:09:14 CET 2002
Hello, Felix!
On Sun, 17 Feb 2002 23:39:29 +0100 you wrote:
> On Sunday, 17. February 2002 11:21, Nick Kurshev wrote:
> > Modified Files:
> > ════════vo_vesa.c vosub_vidix.c
> > Log Message:
> > Screenshot on the fly
> wouldn't it be better to use a more generic function for this, so code can be
> used from other vo drivers without duplicating code?
Indeed it's impossible. Because:
my implementation is VESA specific stuff which uses yours vo_png.
I guess that it woul dbe possible to imlpement such thing also for
-vo_fbdev
-vo_dga
I don't know any other vo drivers which have access to RGB memory.
Fix me please, if I'm wrong!
For every other driver we could implement something like:
mplayer.c:
case 'S':
case 's':
if(video_out->control(VOCTRL_SCREENSHOT,NULL) == NOT_IMPLEMENT)
{
...
generic version for YV12 - YUY2 fourcc here
...
}
Also I found out that vo_png can work only with RGB24-BGR24.
Could you please expand your stuff to make it ready for any BPP?
(It seems that libpng can work with other bpp too)
> --
> Best Regards,
> Atmos
> ____________________________________________
> - MPlayer Developer - http://mplayerhq.hu/ -
> ____________________________________________
>
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
>
Best regards! Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20020218/2a5ed750/attachment.pgp>
More information about the MPlayer-cvslog
mailing list