Commit d75118e4 authored by Sebastian Dröge's avatar Sebastian Dröge Committed by Wim Taymans

[MOVED FROM BAD 37/68] colorspace: Add const to the source arrays and the getline/putline table

parent dd00c712
This diff is collapsed.
......@@ -47,21 +47,22 @@ struct _ColorspaceConvert {
int src_offset[4];
int src_stride[4];
void (*convert) (ColorspaceConvert *convert, guint8 *dest, guint8 *src);
void (*getline) (ColorspaceConvert *convert, guint8 *dest, guint8 *src, int j);
void (*putline) (ColorspaceConvert *convert, guint8 *dest, guint8 *src, int j);
void (*convert) (ColorspaceConvert *convert, guint8 *dest, const guint8 *src);
void (*getline) (ColorspaceConvert *convert, guint8 *dest, const guint8 *src, int j);
void (*putline) (ColorspaceConvert *convert, guint8 *dest, const guint8 *src, int j);
void (*matrix) (ColorspaceConvert *convert);
};
ColorspaceConvert * colorspace_convert_new (GstVideoFormat to_format,
GstVideoFormat from_format, int width, int height);
ColorSpaceColorSpec from_spec, GstVideoFormat from_format,
ColorSpaceColorSpec to_spec, int width, int height);
void colorspace_convert_set_interlaced (ColorspaceConvert *convert,
gboolean interlaced);
void colorspace_convert_set_palette (ColorspaceConvert *convert,
guint32 *palette);
void colorspace_convert_free (ColorspaceConvert * convert);
void colorspace_convert_convert (ColorspaceConvert * convert,
guint8 *dest, guint8 *src);
guint8 *dest, const guint8 *src);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment