[FFmpeg-devel] [PATCH]Pinnacle Targa Y216 decoder, v3
Paul B Mahol
onemda at gmail.com
Sun Oct 7 11:56:26 CEST 2012
On 9/27/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Attached is an updated patch for ticket #1354.
> Please comment, Carl Eugen
@@ -0,0 +1,108 @@
+ * Pinnacle TARGA CineWave YUV16 decoder
+ * Copyright (c) 2012 Carl Eugen Hoyos
+ * This file is part of FFmpeg.
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+static av_cold int y216_decode_init(AVCodecContext *avctx)
+ avctx->pix_fmt = PIX_FMT_YUV422P16;
+ avctx->bits_per_raw_sample = 14;
Is this correct? From documentation on web it takes up to 16 bits.
More information about the ffmpeg-devel