codecparsers: jpeg: track valid quantization and Huffman tables.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Jun 2012 14:06:47 +0000 (16:06 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Jun 2012 14:06:47 +0000 (16:06 +0200)
commit326a229636a3444d08a933e523683d9fcb368bcb
treee49e66eb2fa8c8f80eb9033fb7a1caa4a6f84aeb
parente61f4c444524b99958df5a68f3f40e230cb5d927
codecparsers: jpeg: track valid quantization and Huffman tables.

Add valid flag to GstJpegQuantTable and GstJpegHuffmanTable so that
to determine whether a table actually changed since the last user
synchronization point. That way, this makes it possible for some
hardware accelerated decoding solution to upload only those tables
that changed.
gst-libs/gst/codecparsers/gstjpegparser.c
gst-libs/gst/codecparsers/gstjpegparser.h
gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c