1 /* 2 * 3 * Copyright 2015 Rockchip Electronics Co. LTD 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 19 #ifndef _H264D_SCALIST_H_ 20 #define _H264D_SCALIST_H_ 21 22 #include "rk_type.h" 23 #include "mpp_err.h" 24 #include "h264d_global.h" 25 26 27 #ifdef __cplusplus 28 extern "C" { 29 #endif 30 RK_U32 is_prext_profile(RK_U32 profile_idc); 31 MPP_RET get_max_dec_frame_buf_size(H264_SPS_t *sps); 32 MPP_RET parse_scalingList(BitReadCtx_t *p_bitctx, RK_S32 size, RK_S32 *scaling_list, RK_S32 *use_default); 33 MPP_RET parse_sps_scalinglists(BitReadCtx_t *p_bitctx, H264_SPS_t *sps); 34 MPP_RET prepare_init_scanlist(H264_SLICE_t *currSlice); 35 #ifdef __cplusplus 36 } 37 #endif 38 39 //======================================== 40 #endif /* end of _H264D_SCALIST_H_ */ 41 42