videotestsrc: Convert to intermediate AYUV/ARGB

Scanlines are generated into AYUV/ARGB, then converted to the
various formats.
This commit is contained in:
David Schleef 2010-09-10 14:40:44 -07:00
parent 9802339481
commit bb80df3a33
2 changed files with 359 additions and 519 deletions

File diff suppressed because it is too large Load diff

View file

@ -69,7 +69,7 @@ struct fourcc_list_struct
const char *name; const char *name;
int bitspp; int bitspp;
void (*paint_setup) (paintinfo * p, unsigned char *dest); void (*paint_setup) (paintinfo * p, unsigned char *dest);
void (*paint_hline) (paintinfo * p, int x, int y, int w); void (*convert_hline) (paintinfo * p, int y);
int depth; int depth;
unsigned int red_mask; unsigned int red_mask;
unsigned int green_mask; unsigned int green_mask;