Home | History | Annotate | Download | only in api
      1 ;/******************************************************************************
      2 ;// Copyright (c) 1999-2005 The Khronos Group Inc. All Rights Reserved
      3 ;//
      4 ;//
      5 ;//
      6 ;//
      7 ;//
      8 ;//
      9 ;//
     10 ;//
     11 ;******************************************************************************/
     12 
     13 ;/** =============== Structure Definition for Sample Generation ============== */
     14 ;/** transparent status */
     15 
     16 ;enum {
     17 OMX_VIDEO_TRANSPARENT	EQU 0;	/** Wholly transparent */
     18 OMX_VIDEO_PARTIAL		EQU 1;	/** Partially transparent */
     19 OMX_VIDEO_OPAQUE		EQU 2;	/** Opaque */
     20 ;}
     21 
     22 ;/** direction */
     23 ;enum {
     24 OMX_VIDEO_NONE			EQU 0;
     25 OMX_VIDEO_HORIZONTAL	EQU 1;
     26 OMX_VIDEO_VERTICAL		EQU 2;
     27 ;}
     28 
     29 ;/** bilinear interpolation type */
     30 ;enum {
     31 OMX_VIDEO_INTEGER_PIXEL EQU 0;	/** case a */
     32 OMX_VIDEO_HALF_PIXEL_X  EQU 1;	/** case b */
     33 OMX_VIDEO_HALF_PIXEL_Y  EQU 2;	/** case c */
     34 OMX_VIDEO_HALF_PIXEL_XY EQU 3;	/** case d */
     35 ;}
     36 
     37 ;enum {
     38 OMX_UPPER  				EQU 1;		/** set if the above macroblock is available */
     39 OMX_LEFT   				EQU 2;		/** set if the left macroblock is available */
     40 OMX_CENTER 				EQU 4;
     41 OMX_RIGHT				EQU 8;
     42 OMX_LOWER  				EQU	16;
     43 OMX_UPPER_LEFT  		EQU 32;		/** set if the above-left macroblock is available */
     44 OMX_UPPER_RIGHT 		EQU 64;		/** set if the above-right macroblock is available */
     45 OMX_LOWER_LEFT  		EQU 128;
     46 OMX_LOWER_RIGHT 		EQU 256
     47 ;}
     48 
     49 ;enum {
     50 OMX_VIDEO_LUMINANCE  	EQU 0;	/** Luminance component */
     51 OMX_VIDEO_CHROMINANCE  	EQU 1;	/** chrominance component */
     52 OMX_VIDEO_ALPHA  		EQU 2;	/** Alpha component */
     53 ;}
     54 
     55 ;enum {
     56 OMX_VIDEO_INTER			EQU 0;	/** P picture or P-VOP */
     57 OMX_VIDEO_INTER_Q		EQU 1;	/** P picture or P-VOP */
     58 OMX_VIDEO_INTER4V		EQU 2;	/** P picture or P-VOP */
     59 OMX_VIDEO_INTRA			EQU 3;	/** I and P picture; I- and P-VOP */
     60 OMX_VIDEO_INTRA_Q		EQU 4;	/** I and P picture; I- and P-VOP */
     61 OMX_VIDEO_INTER4V_Q		EQU 5;	/** P picture or P-VOP (H.263)*/
     62 OMX_VIDEO_DIRECT		EQU 6;	/** B picture or B-VOP (MPEG-4 only) */
     63 OMX_VIDEO_INTERPOLATE	EQU 7;	/** B picture or B-VOP */
     64 OMX_VIDEO_BACKWARD		EQU 8;	/** B picture or B-VOP */
     65 OMX_VIDEO_FORWARD		EQU 9;	/** B picture or B-VOP */
     66 OMX_VIDEO_NOTCODED		EQU 10;	/** B picture or B-VOP */
     67 ;}
     68 
     69 ;enum {
     70 OMX_16X16_VERT 			EQU 0;		/** Intra_16x16_Vertical (prediction mode) */
     71 OMX_16X16_HOR 			EQU 1;		/** Intra_16x16_Horizontal (prediction mode) */
     72 OMX_16X16_DC 			EQU 2;		/** Intra_16x16_DC (prediction mode) */
     73 OMX_16X16_PLANE 		EQU 3;	/** Intra_16x16_Plane (prediction mode) */
     74 ;}
     75 
     76 ;enum {
     77 OMX_4x4_VERT 			EQU 0;		/** Intra_4x4_Vertical (prediction mode) */
     78 OMX_4x4_HOR  			EQU 1;		/** Intra_4x4_Horizontal (prediction mode) */
     79 OMX_4x4_DC   			EQU 2;		/** Intra_4x4_DC (prediction mode) */
     80 OMX_4x4_DIAG_DL 		EQU 3;	/** Intra_4x4_Diagonal_Down_Left (prediction mode) */
     81 OMX_4x4_DIAG_DR 		EQU 4;	/** Intra_4x4_Diagonal_Down_Right (prediction mode) */
     82 OMX_4x4_VR 				EQU 5;			/** Intra_4x4_Vertical_Right (prediction mode) */
     83 OMX_4x4_HD 				EQU 6;			/** Intra_4x4_Horizontal_Down (prediction mode) */
     84 OMX_4x4_VL 				EQU 7;			/** Intra_4x4_Vertical_Left (prediction mode) */
     85 OMX_4x4_HU 				EQU 8;			/** Intra_4x4_Horizontal_Up (prediction mode) */
     86 ;}
     87 
     88 ;enum {
     89 OMX_CHROMA_DC 			EQU 0;		/** Intra_Chroma_DC (prediction mode) */
     90 OMX_CHROMA_HOR 			EQU 1;		/** Intra_Chroma_Horizontal (prediction mode) */
     91 OMX_CHROMA_VERT 		EQU 2;	/** Intra_Chroma_Vertical (prediction mode) */
     92 OMX_CHROMA_PLANE 		EQU 3;	/** Intra_Chroma_Plane (prediction mode) */
     93 ;}
     94 
     95 ;typedef	struct {
     96 x	EQU	0;
     97 y	EQU	4;
     98 ;}OMXCoordinate;
     99 
    100 ;typedef struct {
    101 dx	EQU	0;
    102 dy	EQU	2;
    103 ;}OMXMotionVector;
    104 
    105 ;typedef struct {
    106 xx		EQU	0;
    107 yy		EQU	4;
    108 width	EQU	8;
    109 height	EQU	12;
    110 ;}OMXiRect;
    111 
    112 ;typedef enum {
    113 OMX_VC_INTER         EQU 0;        /** P picture or P-VOP */
    114 OMX_VC_INTER_Q       EQU 1;       /** P picture or P-VOP */
    115 OMX_VC_INTER4V       EQU 2;       /** P picture or P-VOP */
    116 OMX_VC_INTRA         EQU 3;        /** I and P picture, I- and P-VOP */
    117 OMX_VC_INTRA_Q       EQU 4;       /** I and P picture, I- and P-VOP */
    118 OMX_VC_INTER4V_Q     EQU 5;    /** P picture or P-VOP (H.263)*/
    119 ;} OMXVCM4P2MacroblockType;
    120 
    121 ;enum {
    122 OMX_VC_NONE          EQU 0
    123 OMX_VC_HORIZONTAL    EQU 1
    124 OMX_VC_VERTICAL      EQU 2
    125 ;};
    126 
    127 
    128 	END
    129 
    130