1*a97c2a1fSXin Li /****************************************************************************** 2*a97c2a1fSXin Li * 3*a97c2a1fSXin Li * Copyright (C) 2015 The Android Open Source Project 4*a97c2a1fSXin Li * 5*a97c2a1fSXin Li * Licensed under the Apache License, Version 2.0 (the "License"); 6*a97c2a1fSXin Li * you may not use this file except in compliance with the License. 7*a97c2a1fSXin Li * You may obtain a copy of the License at: 8*a97c2a1fSXin Li * 9*a97c2a1fSXin Li * http://www.apache.org/licenses/LICENSE-2.0 10*a97c2a1fSXin Li * 11*a97c2a1fSXin Li * Unless required by applicable law or agreed to in writing, software 12*a97c2a1fSXin Li * distributed under the License is distributed on an "AS IS" BASIS, 13*a97c2a1fSXin Li * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*a97c2a1fSXin Li * See the License for the specific language governing permissions and 15*a97c2a1fSXin Li * limitations under the License. 16*a97c2a1fSXin Li * 17*a97c2a1fSXin Li ***************************************************************************** 18*a97c2a1fSXin Li * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore 19*a97c2a1fSXin Li */ 20*a97c2a1fSXin Li #ifndef __IMPEG2D_PIC_PROC_H__ 21*a97c2a1fSXin Li #define __IMPEG2D_PIC_PROC_H__ 22*a97c2a1fSXin Li 23*a97c2a1fSXin Li /*****************************************************************************/ 24*a97c2a1fSXin Li /* Function Declarations */ 25*a97c2a1fSXin Li /*****************************************************************************/ 26*a97c2a1fSXin Li UWORD16 impeg2d_get_mb_addr_incr(stream_t *stream); 27*a97c2a1fSXin Li IMPEG2D_ERROR_CODES_T impeg2d_init_video_state(dec_state_t *dec, e_video_type_t videoType); 28*a97c2a1fSXin Li IMPEG2D_ERROR_CODES_T impeg2d_pre_pic_dec_proc(dec_state_t *dec); 29*a97c2a1fSXin Li void impeg2d_post_pic_dec_proc(dec_state_t *dec); 30*a97c2a1fSXin Li IMPEG2D_ERROR_CODES_T impeg2d_dec_i_slice(dec_state_t *dec); 31*a97c2a1fSXin Li IMPEG2D_ERROR_CODES_T impeg2d_dec_d_slice(dec_state_t *dec); 32*a97c2a1fSXin Li IMPEG2D_ERROR_CODES_T impeg2d_dec_p_b_slice(dec_state_t *dec); 33*a97c2a1fSXin Li 34*a97c2a1fSXin Li void impeg2d_format_convert(dec_state_t *ps_dec, 35*a97c2a1fSXin Li pic_buf_t *ps_src_pic, 36*a97c2a1fSXin Li iv_yuv_buf_t *ps_disp_frm_buf, 37*a97c2a1fSXin Li UWORD32 u4_start_row, UWORD32 u4_num_rows); 38*a97c2a1fSXin Li 39*a97c2a1fSXin Li 40*a97c2a1fSXin Li #endif /* __IMPEG2D_PIC_PROC_H__ */ 41*a97c2a1fSXin Li 42