summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/omxVC_s.h
blob: 89f3040fac6e4aff283a10ea87fd10d81f127c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
;/******************************************************************************
;// Copyright (c) 1999-2005 The Khronos Group Inc. All Rights Reserved
;//
;//
;//
;//
;//
;//
;//
;//
;******************************************************************************/

;/** =============== Structure Definition for Sample Generation ============== */
;/** transparent status */

;enum {
OMX_VIDEO_TRANSPARENT	EQU 0;	/** Wholly transparent */
OMX_VIDEO_PARTIAL		EQU 1;	/** Partially transparent */
OMX_VIDEO_OPAQUE		EQU 2;	/** Opaque */
;}

;/** direction */
;enum {
OMX_VIDEO_NONE			EQU 0;
OMX_VIDEO_HORIZONTAL	EQU 1;
OMX_VIDEO_VERTICAL		EQU 2;
;}

;/** bilinear interpolation type */
;enum {
OMX_VIDEO_INTEGER_PIXEL EQU 0;	/** case a */
OMX_VIDEO_HALF_PIXEL_X  EQU 1;	/** case b */
OMX_VIDEO_HALF_PIXEL_Y  EQU 2;	/** case c */
OMX_VIDEO_HALF_PIXEL_XY EQU 3;	/** case d */
;}

;enum {
OMX_UPPER  				EQU 1;		/** set if the above macroblock is available */
OMX_LEFT   				EQU 2;		/** set if the left macroblock is available */
OMX_CENTER 				EQU 4;
OMX_RIGHT				EQU 8;
OMX_LOWER  				EQU	16;
OMX_UPPER_LEFT  		EQU 32;		/** set if the above-left macroblock is available */
OMX_UPPER_RIGHT 		EQU 64;		/** set if the above-right macroblock is available */
OMX_LOWER_LEFT  		EQU 128;
OMX_LOWER_RIGHT 		EQU 256
;}

;enum {
OMX_VIDEO_LUMINANCE  	EQU 0;	/** Luminance component */
OMX_VIDEO_CHROMINANCE  	EQU 1;	/** chrominance component */
OMX_VIDEO_ALPHA  		EQU 2;	/** Alpha component */
;}

;enum {
OMX_VIDEO_INTER			EQU 0;	/** P picture or P-VOP */
OMX_VIDEO_INTER_Q		EQU 1;	/** P picture or P-VOP */
OMX_VIDEO_INTER4V		EQU 2;	/** P picture or P-VOP */
OMX_VIDEO_INTRA			EQU 3;	/** I and P picture; I- and P-VOP */
OMX_VIDEO_INTRA_Q		EQU 4;	/** I and P picture; I- and P-VOP */
OMX_VIDEO_INTER4V_Q		EQU 5;	/** P picture or P-VOP (H.263)*/
OMX_VIDEO_DIRECT		EQU 6;	/** B picture or B-VOP (MPEG-4 only) */
OMX_VIDEO_INTERPOLATE	EQU 7;	/** B picture or B-VOP */
OMX_VIDEO_BACKWARD		EQU 8;	/** B picture or B-VOP */
OMX_VIDEO_FORWARD		EQU 9;	/** B picture or B-VOP */
OMX_VIDEO_NOTCODED		EQU 10;	/** B picture or B-VOP */
;}

;enum {
OMX_16X16_VERT 			EQU 0;		/** Intra_16x16_Vertical (prediction mode) */
OMX_16X16_HOR 			EQU 1;		/** Intra_16x16_Horizontal (prediction mode) */
OMX_16X16_DC 			EQU 2;		/** Intra_16x16_DC (prediction mode) */
OMX_16X16_PLANE 		EQU 3;	/** Intra_16x16_Plane (prediction mode) */
;}

;enum {
OMX_4x4_VERT 			EQU 0;		/** Intra_4x4_Vertical (prediction mode) */
OMX_4x4_HOR  			EQU 1;		/** Intra_4x4_Horizontal (prediction mode) */
OMX_4x4_DC   			EQU 2;		/** Intra_4x4_DC (prediction mode) */
OMX_4x4_DIAG_DL 		EQU 3;	/** Intra_4x4_Diagonal_Down_Left (prediction mode) */
OMX_4x4_DIAG_DR 		EQU 4;	/** Intra_4x4_Diagonal_Down_Right (prediction mode) */
OMX_4x4_VR 				EQU 5;			/** Intra_4x4_Vertical_Right (prediction mode) */
OMX_4x4_HD 				EQU 6;			/** Intra_4x4_Horizontal_Down (prediction mode) */
OMX_4x4_VL 				EQU 7;			/** Intra_4x4_Vertical_Left (prediction mode) */
OMX_4x4_HU 				EQU 8;			/** Intra_4x4_Horizontal_Up (prediction mode) */
;}

;enum {
OMX_CHROMA_DC 			EQU 0;		/** Intra_Chroma_DC (prediction mode) */
OMX_CHROMA_HOR 			EQU 1;		/** Intra_Chroma_Horizontal (prediction mode) */
OMX_CHROMA_VERT 		EQU 2;	/** Intra_Chroma_Vertical (prediction mode) */
OMX_CHROMA_PLANE 		EQU 3;	/** Intra_Chroma_Plane (prediction mode) */
;}

;typedef	struct {	
x	EQU	0;
y	EQU	4;
;}OMXCoordinate;

;typedef struct {
dx	EQU	0;
dy	EQU	2;
;}OMXMotionVector;

;typedef struct {
xx		EQU	0;
yy		EQU	4;
width	EQU	8;
height	EQU	12;
;}OMXiRect;

;typedef enum {
OMX_VC_INTER         EQU 0;        /** P picture or P-VOP */
OMX_VC_INTER_Q       EQU 1;       /** P picture or P-VOP */
OMX_VC_INTER4V       EQU 2;       /** P picture or P-VOP */
OMX_VC_INTRA         EQU 3;        /** I and P picture, I- and P-VOP */
OMX_VC_INTRA_Q       EQU 4;       /** I and P picture, I- and P-VOP */
OMX_VC_INTER4V_Q     EQU 5;    /** P picture or P-VOP (H.263)*/
;} OMXVCM4P2MacroblockType;

;enum {
OMX_VC_NONE          EQU 0
OMX_VC_HORIZONTAL    EQU 1
OMX_VC_VERTICAL      EQU 2 
;};


	END