[MPlayer-dev-eng] [PATCH] New VO drivers.
D Richard Felker III
dalias at aerifal.cx
Wed Sep 15 01:46:14 CEST 2004
On Wed, Sep 15, 2004 at 12:12:25AM +0200, Ivo wrote:
> On Tuesday 14 September 2004 16:23, D Richard Felker III wrote:
> > use draw_frame or something instead, probably... by the time flip_page
> > is called, you own't have the picture anymore unless you wastefully
> > made a copy of it.
>
> I use draw_frame when the input is packed RGB24 and don't copy any data. For
> planar YV12 I maintain a local copy and update it everytime draw_slice is
> called. I believe all vo_ drivers that handle planar YV12 have a local copy
> of the current frame and draw the slices on that. If there's an easier way
> to obtain a full planar YV12 frame, please let me know. I don't want to
just don't implement draw_slice and you'll get full frames via draw_frame.
> calculate the MD5 sum as a progression on all slices of one frame, because
> if the slices are drawn if a different order in future code, the MD5 sums
> won't match anymore.
agree.
rich
More information about the MPlayer-dev-eng
mailing list