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 #ifndef _H264D_INIT_H_ 19 #define _H264D_INIT_H_ 20 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 31 MPP_RET update_dpb (H264_DecCtx_t *p_Dec); 32 MPP_RET init_picture (H264_SLICE_t *currSlice); 33 MPP_RET reset_dpb_mark(H264_DpbMark_t *p_mark); 34 void flush_dpb_buf_slot(H264_DecCtx_t *p_Dec); 35 36 #ifdef __cplusplus 37 } 38 #endif 39 40 //======================================== 41 #endif /* end of _RKV_H264_DECODER_INIT_H_ */ 42 43