mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
jpegdec: move macro to c source
One less semi public symbol without namespace prefix in the headers.
This commit is contained in:
parent
8695f5a8a5
commit
7e5d4b0fa9
2 changed files with 3 additions and 3 deletions
|
@ -48,6 +48,9 @@
|
||||||
#define MIN_HEIGHT 8
|
#define MIN_HEIGHT 8
|
||||||
#define MAX_HEIGHT 65535
|
#define MAX_HEIGHT 65535
|
||||||
|
|
||||||
|
#define CINFO_GET_JPEGDEC(cinfo_ptr) \
|
||||||
|
(((struct GstJpegDecSourceMgr*)((cinfo_ptr)->src))->dec)
|
||||||
|
|
||||||
#define JPEG_DEFAULT_IDCT_METHOD JDCT_FASTEST
|
#define JPEG_DEFAULT_IDCT_METHOD JDCT_FASTEST
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
|
|
@ -58,9 +58,6 @@ struct GstJpegDecSourceMgr {
|
||||||
GstJpegDec *dec;
|
GstJpegDec *dec;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define CINFO_GET_JPEGDEC(cinfo_ptr) \
|
|
||||||
(((struct GstJpegDecSourceMgr*)((cinfo_ptr)->src))->dec)
|
|
||||||
|
|
||||||
/* Can't use GstBaseTransform, because GstBaseTransform
|
/* Can't use GstBaseTransform, because GstBaseTransform
|
||||||
* doesn't handle the N buffers in, 1 buffer out case,
|
* doesn't handle the N buffers in, 1 buffer out case,
|
||||||
* but only the 1-in 1-out case */
|
* but only the 1-in 1-out case */
|
||||||
|
|
Loading…
Reference in a new issue