[FFmpeg-devel] [PATCH 0/5] Bayer RGB colorspace decoding

Peter Ross pross at xvid.org
Sun Dec 16 02:48:21 CET 2012


This is an rebase and cleanup of some earlier patches that make
FFmpeg capable of playing back Bayer RGB colorspace video (known as
'RAW' video in the industry).

The Phantom Cine demuxer is included for testing. Samples:
http://samples.ffmpeg.org/V-codecs/Phantom_Cine/

Peter Ross (5):
  libavutil: add AV_PIX_FMT_BAYER pixel formats
  libswscale: bayer to rgb24 & yv12 colorspace converters
  rawdec: adjust image pixels according to bits_per_coded_sample
  nut: add bayer colorspaces
  Phantom Cine demuxer

 Changelog                     |   1 +
 doc/general.texi              |   1 +
 libavcodec/raw.c              |  13 ++
 libavcodec/rawdec.c           |  35 ++++-
 libavformat/Makefile          |   1 +
 libavformat/allformats.c      |   1 +
 libavformat/cinedec.c         | 290 ++++++++++++++++++++++++++++++++++++++++++
 libavformat/nut.c             |  13 ++
 libavutil/pixdesc.c           |  69 ++++++++++
 libavutil/pixfmt.h            |  13 ++
 libswscale/bayer_template.c   | 262 ++++++++++++++++++++++++++++++++++++++
 libswscale/swscale_internal.h |  16 +++
 libswscale/swscale_unscaled.c | 171 ++++++++++++++++++++++++-
 libswscale/utils.c            |  12 ++
 14 files changed, 896 insertions(+), 2 deletions(-)
 create mode 100644 libavformat/cinedec.c
 create mode 100644 libswscale/bayer_template.c

-- 
1.8.0

-- 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/20121216/01f066a4/attachment.asc>


More information about the ffmpeg-devel mailing list