[FFmpeg-devel] [PATCHv2 0/3] Bayer RGB colorspace decoding (2014)

Peter Ross pross at xvid.org
Sun Feb 23 02:18:11 CET 2014


the rawdec 16bpp shifting has been simplified.

bayer_template now uses swscale context rgb coefficients.

The demuxer patches are unchanged, so have left them on the mailing list
  PhantomCINE: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2014-February/154807.html
  V4L2: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2014-February/154808.html

Peter Ross (3):
  avutil/pixdesc: set bayer pixfmt descriptor flags
  avcodec/rawdec: for 16-bit pix fmts, shift pixels when
    bits_per_coded_sample < 16
  libswscale: bayer to rgb24 & yv12 colorspace converters

 libavcodec/rawdec.c           |  17 ++-
 libavutil/pixdesc.c           |  12 +++
 libswscale/bayer_template.c   | 236 ++++++++++++++++++++++++++++++++++++++++++
 libswscale/swscale_internal.h |  16 +++
 libswscale/swscale_unscaled.c | 171 +++++++++++++++++++++++++++++-
 libswscale/utils.c            |  12 +++
 6 files changed, 462 insertions(+), 2 deletions(-)
 create mode 100644 libswscale/bayer_template.c

-- 
1.8.3.2

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140223/ecf72c60/attachment.asc>


More information about the ffmpeg-devel mailing list