1 /****************************************************************************** 2 * 3 * Copyright (C) 2022 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 * @file 23 * isvce_error.h 24 * 25 * @brief 26 * SVC specific error codes 27 * 28 * @author 29 * ittiam 30 * 31 * @remarks 32 * None 33 * 34 ******************************************************************************* 35 */ 36 37 #ifndef _ISVCE_ERROR_H_ 38 #define _ISVCE_ERROR_H_ 39 40 #include "ih264e_error.h" 41 42 typedef enum ISVCE_ERRORS_T 43 { 44 /**Invalid SVC params */ 45 IH264E_INVALID_SVC_PARAMS = IH264E_CODEC_ERROR_START + 0x100, 46 47 /**Invalid num_temporal_layers */ 48 IH264E_INVALID_NUM_TEMPORAL_LAYERS = IH264E_CODEC_ERROR_START + 0x101, 49 50 /**Invalid num_spatial_layers */ 51 IH264E_INVALID_NUM_SPATIAL_LAYERS = IH264E_CODEC_ERROR_START + 0x102, 52 53 /**Invalid spatial_res_ratio */ 54 IH264E_INVALID_SPATIAL_RES_RATIO = IH264E_CODEC_ERROR_START + 0x103, 55 56 /** Weighted prediction not supported */ 57 IH264E_WEIGHTED_PRED_NOT_SUPPORTED = IH264E_CODEC_ERROR_START + 0x104, 58 59 /** CABAC entropy mode not supported for SVC */ 60 IH264E_CABAC_NOT_SUPPORTED = IH264E_CODEC_ERROR_START + 0x105, 61 62 /**Invalid input dimensions */ 63 IH264E_INVALID_SVC_INPUT_DIMENSIONS = IH264E_CODEC_ERROR_START + 0x106, 64 65 /** Invalid init QP */ 66 IH264E_INVALID_DYN_INIT_QP = IH264E_CODEC_ERROR_START + 0x107, 67 68 } ISVCE_ERRORS_T; 69 70 #endif 71