jpegdec: move macro to c source

One less semi public symbol without namespace prefix in the headers.
This commit is contained in:
Stefan Kost 2010-04-08 13:40:36 +03:00
parent 8695f5a8a5
commit 7e5d4b0fa9
2 changed files with 3 additions and 3 deletions

View file

@ -48,6 +48,9 @@
#define MIN_HEIGHT 8
#define MAX_HEIGHT 65535
#define CINFO_GET_JPEGDEC(cinfo_ptr) \
(((struct GstJpegDecSourceMgr*)((cinfo_ptr)->src))->dec)
#define JPEG_DEFAULT_IDCT_METHOD JDCT_FASTEST
enum

View file

@ -58,9 +58,6 @@ struct GstJpegDecSourceMgr {
GstJpegDec *dec;
};
#define CINFO_GET_JPEGDEC(cinfo_ptr) \
(((struct GstJpegDecSourceMgr*)((cinfo_ptr)->src))->dec)
/* Can't use GstBaseTransform, because GstBaseTransform
* doesn't handle the N buffers in, 1 buffer out case,
* but only the 1-in 1-out case */