videoconvert: use video library pack/unpack

Remove obsolete code and use the video pack/unpack functions
This commit is contained in:
Wim Taymans 2012-05-30 17:08:56 +02:00
parent d7af12a754
commit c7b2011d68
2 changed files with 292 additions and 1605 deletions

File diff suppressed because it is too large Load diff

View file

@ -57,12 +57,7 @@ struct _VideoConvert {
guint16 *errline;
void (*convert) (VideoConvert *convert, GstVideoFrame *dest, const GstVideoFrame *src);
void (*getline) (VideoConvert *convert, guint8 *dest, const GstVideoFrame *src, int j);
void (*putline) (VideoConvert *convert, GstVideoFrame *dest, const guint8 *src, int j);
void (*matrix) (VideoConvert *convert);
void (*getline16) (VideoConvert *convert, guint16 *dest, const GstVideoFrame *src, int j);
void (*putline16) (VideoConvert *convert, GstVideoFrame *dest, const guint16 *src, int j);
void (*matrix16) (VideoConvert *convert);
void (*dither16) (VideoConvert *convert, int j);
};