diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-07-21 10:04:36 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-07-21 10:04:36 +0300 |
commit | 11c93fc1df47246cbdb5eeb1822dad6c3ff97f8d (patch) | |
tree | 6ced3c67c6227ca6d239b8edc918416daef94b1d /ext/jpeg/gstjpegenc.h | |
parent | b7bf2f682061d36dddb3083de3330b87b972af20 (diff) |
jpeg: code cleanups for encoder
Remove some disabled code in encoder. Try #if 0'ed code and add comments about
why it is disabled. Move idct-method enum to jpeg.c and use in both encoder and
decoder. Add idct-method property to encoder.
Diffstat (limited to 'ext/jpeg/gstjpegenc.h')
-rw-r--r-- | ext/jpeg/gstjpegenc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/jpeg/gstjpegenc.h b/ext/jpeg/gstjpegenc.h index 99341569..e4124fe9 100644 --- a/ext/jpeg/gstjpegenc.h +++ b/ext/jpeg/gstjpegenc.h @@ -65,8 +65,10 @@ struct _GstJpegEnc { struct jpeg_error_mgr jerr; struct jpeg_destination_mgr jdest; - int quality; - int smoothing; + /* properties */ + gint quality; + gint smoothing; + gint idct_method; }; struct _GstJpegEncClass { |