[Mplayer-cvslog] CVS: main/postproc rgb2rgb.c,1.22,1.23 rgb2rgb.h,1.9,1.Mon Nov 5 16:17:05 2001

Michael Niedermayer michaelni at gmx.at
Mon Nov 5 16:05:05 CET 2001


Hi
On Monday 05 November 2001 15:31, Nick Kurshev wrote:
> On Mon, 5 Nov 2001 16:17:22 +0200 (CEST), you wrote:
...
> > > > commit interface changes again. but don't commit that array->pointer
> > > > changes.
> > >
> > > It's imposiible. It's requires to change num_pixels -> src_size
> >
> > why?
> >
> > src_size = num_pixels * bpp
>
> because every vo_driver uses src_size, but vo_vesa uses pointer to
> this_function rgb2rgb_fnc. But someone want - then let he will modify libvo
> stuff entire
i dont undersatnd that.
why not use
void rgb32to16(const uint8_t *src, uint8_t *dst, uint32_t src_size)
{
	int num_pixels= src_size>>2;
...
}

Michael



More information about the MPlayer-cvslog mailing list