1 // 2 // Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 3 // 4 // Use of this source code is governed by a BSD-style license 5 // that can be found in the LICENSE file in the root of the source 6 // tree. An additional intellectual property rights grant can be found 7 // in the file PATENTS. All contributing project authors may 8 // be found in the AUTHORS file in the root of the source tree. 9 // 10 // This file was originally licensed as follows. It has been 11 // relicensed with permission from the copyright holders. 12 // 13 14 // 15 // File Name: omxtypes_s.h 16 // OpenMAX DL: v1.0.2 17 // Last Modified Revision: 9622 18 // Last Modified Date: Wed, 06 Feb 2008 19 // 20 // (c) Copyright 2007-2008 ARM Limited. All Rights Reserved. 21 // 22 // 23 24 // Mandatory return codes - use cases are explicitly described for each function 25 .equ OMX_Sts_NoErr, 0 // No error the function completed successfully 26 .equ OMX_Sts_Err, -2 // Unknown/unspecified error 27 .equ OMX_Sts_InvalidBitstreamValErr, -182 // Invalid value detected during bitstream processing 28 .equ OMX_Sts_MemAllocErr, -9 // Not enough memory allocated for the operation 29 .equ OMX_StsACAAC_GainCtrErr, -159 // AAC: Unsupported gain control data detected 30 .equ OMX_StsACAAC_PrgNumErr, -167 // AAC: Invalid number of elements for one program 31 .equ OMX_StsACAAC_CoefValErr, -163 // AAC: Invalid quantized coefficient value 32 .equ OMX_StsACAAC_MaxSfbErr, -162 // AAC: Invalid maxSfb value in relation to numSwb 33 .equ OMX_StsACAAC_PlsDataErr, -160 // AAC: pulse escape sequence data error 34 35 // Optional return codes - use cases are explicitly described for each function 36 .equ OMX_Sts_BadArgErr, -5 // Bad Arguments 37 38 .equ OMX_StsACAAC_TnsNumFiltErr, -157 // AAC: Invalid number of TNS filters 39 .equ OMX_StsACAAC_TnsLenErr, -156 // AAC: Invalid TNS region length 40 .equ OMX_StsACAAC_TnsOrderErr, -155 // AAC: Invalid order of TNS filter 41 .equ OMX_StsACAAC_TnsCoefResErr, -154 // AAC: Invalid bit-resolution for TNS filter coefficients 42 .equ OMX_StsACAAC_TnsCoefErr, -153 // AAC: Invalid TNS filter coefficients 43 .equ OMX_StsACAAC_TnsDirectErr, -152 // AAC: Invalid TNS filter direction 44 .equ OMX_StsICJP_JPEGMarkerErr, -183 // JPEG marker encountered within an entropy-coded block; 45 // Huffman decoding operation terminated early. 46 .equ OMX_StsICJP_JPEGMarker, -181 // JPEG marker encountered; Huffman decoding 47 // operation terminated early. 48 .equ OMX_StsIPPP_ContextMatchErr, -17 // Context parameter doesn't match to the operation 49 50 .equ OMX_StsSP_EvenMedianMaskSizeErr, -180 // Even size of the Median Filter mask was replaced by the odd one 51 52 .equ OMX_Sts_MaximumEnumeration, 0x7FFFFFFF 53 54 55 56 .equ OMX_MIN_S8, (-128) 57 .equ OMX_MIN_U8, 0 58 .equ OMX_MIN_S16, (-32768) 59 .equ OMX_MIN_U16, 0 60 61 62 .equ OMX_MIN_S32, (-2147483647-1) 63 .equ OMX_MIN_U32, 0 64 65 .equ OMX_MAX_S8, (127) 66 .equ OMX_MAX_U8, (255) 67 .equ OMX_MAX_S16, (32767) 68 .equ OMX_MAX_U16, (0xFFFF) 69 .equ OMX_MAX_S32, (2147483647) 70 .equ OMX_MAX_U32, (0xFFFFFFFF) 71 72 .equ OMX_VC_UPPER, 0x1 // Used by the PredictIntra functions 73 .equ OMX_VC_LEFT, 0x2 // Used by the PredictIntra functions 74 .equ OMX_VC_UPPER_RIGHT, 0x40 // Used by the PredictIntra functions 75 76 .equ NULL, 0 77