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_FILL_H_ 19 #define _H264D_FILL_H_ 20 21 #include "rk_type.h" 22 #include "mpp_err.h" 23 #include "dxva_syntax.h" 24 #include "h264d_syntax.h" 25 #include "h264d_global.h" 26 27 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 void fill_picparams(H264dVideoCtx_t *p_Vid, DXVA_PicParams_H264_MVC *pp); 34 void fill_scanlist(H264dVideoCtx_t *p_Vid, DXVA_Qmatrix_H264 *qm); 35 void commit_buffer(H264dDxvaCtx_t *dxva); 36 MPP_RET fill_slice_syntax(H264_SLICE_t *currSlice, H264dDxvaCtx_t *dxva_ctx); 37 #ifdef __cplusplus 38 } 39 #endif 40 41 //======================================== 42 #endif /* end of _RKV_H264_DECODER_FILL_H_ */ 43 44