1 /****************************************************************************** 2 * 3 * Copyright (C) 2018 The Android Open Source Project 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at: 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 * 17 ***************************************************************************** 18 * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore 19 */ 20 21 /*****************************************************************************/ 22 /* */ 23 /* File Name : cast_types.h */ 24 /* */ 25 /* Description : This file contains all the necessary constants and */ 26 /* type definitions according to CAST specifications. */ 27 /* */ 28 /* */ 29 /* Issues / Problems : None */ 30 /* */ 31 /* Revision History : */ 32 /* */ 33 /* DD MM YYYY Author(s) Changes (Describe the changes made) */ 34 /* 28 09 2006 Ittiam Draft */ 35 /* */ 36 /*****************************************************************************/ 37 38 #ifndef CAST_TYPES_H 39 #define CAST_TYPES_H 40 41 #include "ihevc_typedefs.h" 42 43 /*****************************************************************************/ 44 /* Constants */ 45 /*****************************************************************************/ 46 47 /* The following definitions indicates the input parameter / argument state */ 48 49 /* Parameter declared with IN, will be used to hold INput value */ 50 #define IN 51 52 /* Parameter declared with OUT, will be used to hold OUTput value */ 53 #define OUT 54 55 /* Parameter declared with INOUT, will have INput value and will hold */ 56 /* OUTput value */ 57 #define INOUT 58 59 /*****************************************************************************/ 60 /* Typedefs */ 61 /*****************************************************************************/ 62 63 /* Typedef's for built-in datatypes */ 64 65 typedef float FLOAT; 66 67 /*****************************************************************************/ 68 /* Structures */ 69 /*****************************************************************************/ 70 71 /* Defined to hold the unsigned 64 bit data */ 72 typedef struct 73 { 74 UWORD32 lsw; /* Holds lower 32 bits */ 75 UWORD32 msw; /* Holds upper 32 bits */ 76 } UWORD64; 77 78 /* Defined to hold the signed 64 bit data */ 79 typedef struct 80 { 81 UWORD32 lsw; /* Holds lower 32 bits */ 82 WORD32 msw; /* Holds upper 32 bits */ 83 } WORD64; 84 85 #endif /* CAST_TYPES_H */ 86