2 * Copyright (c) 2011-2012 Derek Buitenhuis
4 * This file is part of FFmpeg.
6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public
8 * License as published by the Free Software Foundation;
9 * version 2 of the License.
11 * FFmpeg is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 * 'ULY0' (YCbCr 4:2:0), 'ULY2' (YCbCr 4:2:2), 'ULRG' (RGB), 'ULRA' (RGBA),
25 * 'ULH0' (YCbCr 4:2:0 BT.709), 'ULH2' (YCbCr 4:2:2 BT.709)
28 #ifndef AVCODEC_LIBUTVIDEO_H
29 #define AVCODEC_LIBUTVIDEO_H
32 #include <utvideo/utvideo.h>
33 #include <utvideo/Codec.h>
36 * Ut Video version 12.0.0 changed the RGB format names and removed
37 * the _WIN names, so if the new names are absent, define them
38 * against the old names so compatibility with pre-v12 versions
41 #if !defined(UTVF_NFCC_BGR_BU)
42 #define UTVF_NFCC_BGR_BU UTVF_RGB24_WIN
45 #if !defined(UTVF_NFCC_BGRA_BU)
46 #define UTVF_NFCC_BGRA_BU UTVF_RGB32_WIN
50 * Ut Video version 13.0.1 introduced new BT.709 variants.
51 * Special-case these and only use them if v13 is detected.
53 #if defined(UTVF_HDYC)
59 uint32_t original_format
;
60 uint32_t frameinfo_size
;
66 unsigned int buf_size
;
70 #endif /* AVCODEC_LIBUTVIDEO_H */