FFmpeg
libavcodec
utvideo.h
Go to the documentation of this file.
1
/*
2
* Common Ut Video header
3
* Copyright (c) 2011 Konstantin Shishkov
4
*
5
* This file is part of FFmpeg.
6
*
7
* FFmpeg is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
11
*
12
* FFmpeg is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with FFmpeg; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
*/
21
22
#ifndef AVCODEC_UTVIDEO_H
23
#define AVCODEC_UTVIDEO_H
24
25
/**
26
* @file
27
* Common Ut Video header
28
*/
29
30
#include "
libavutil/macros.h
"
31
32
enum
{
33
PRED_NONE
= 0,
34
PRED_LEFT
,
35
PRED_GRADIENT
,
36
PRED_MEDIAN
,
37
};
38
39
enum
{
40
COMP_NONE
= 0,
41
COMP_HUFF
,
42
};
43
44
/*
45
* "Original format" markers.
46
* Based on values gotten from the official VFW encoder.
47
* They are not used during decoding, but they do have
48
* an informative role on seeing what was input
49
* to the encoder.
50
*/
51
enum
{
52
UTVIDEO_RGB
=
MKTAG
(0x00, 0x00, 0x01, 0x18),
53
UTVIDEO_RGBA
=
MKTAG
(0x00, 0x00, 0x02, 0x18),
54
UTVIDEO_420
=
MKTAG
(
'Y'
,
'V'
,
'1'
,
'2'
),
55
UTVIDEO_422
=
MKTAG
(
'Y'
,
'U'
,
'Y'
,
'2'
),
56
UTVIDEO_444
=
MKTAG
(
'Y'
,
'V'
,
'2'
,
'4'
),
57
};
58
59
#endif
/* AVCODEC_UTVIDEO_H */
PRED_LEFT
@ PRED_LEFT
Definition:
utvideo.h:34
UTVIDEO_RGBA
@ UTVIDEO_RGBA
Definition:
utvideo.h:53
PRED_GRADIENT
@ PRED_GRADIENT
Definition:
utvideo.h:35
COMP_HUFF
@ COMP_HUFF
Definition:
utvideo.h:41
macros.h
PRED_MEDIAN
@ PRED_MEDIAN
Definition:
utvideo.h:36
UTVIDEO_422
@ UTVIDEO_422
Definition:
utvideo.h:55
UTVIDEO_RGB
@ UTVIDEO_RGB
Definition:
utvideo.h:52
UTVIDEO_420
@ UTVIDEO_420
Definition:
utvideo.h:54
UTVIDEO_444
@ UTVIDEO_444
Definition:
utvideo.h:56
PRED_NONE
@ PRED_NONE
Definition:
utvideo.h:33
COMP_NONE
@ COMP_NONE
Definition:
utvideo.h:40
MKTAG
#define MKTAG(a, b, c, d)
Definition:
macros.h:55
Generated on Thu Dec 12 2024 19:22:04 for FFmpeg by
1.8.17