• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  *
3  * Copyright (C) 2015 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 #ifndef __IMPEG2D_PIC_PROC_H__
21 #define __IMPEG2D_PIC_PROC_H__
22 
23 /*****************************************************************************/
24 /* Function Declarations                                                     */
25 /*****************************************************************************/
26 UWORD16 impeg2d_get_mb_addr_incr(stream_t *stream);
27 IMPEG2D_ERROR_CODES_T impeg2d_init_video_state(dec_state_t *dec, e_video_type_t videoType);
28 IMPEG2D_ERROR_CODES_T impeg2d_pre_pic_dec_proc(dec_state_t *dec);
29 void impeg2d_post_pic_dec_proc(dec_state_t *dec);
30 IMPEG2D_ERROR_CODES_T impeg2d_dec_i_slice(dec_state_t *dec);
31 IMPEG2D_ERROR_CODES_T impeg2d_dec_d_slice(dec_state_t *dec);
32 IMPEG2D_ERROR_CODES_T impeg2d_dec_p_b_slice(dec_state_t *dec);
33 
34 void impeg2d_format_convert(dec_state_t *ps_dec,
35                             pic_buf_t *ps_src_pic,
36                             iv_yuv_buf_t    *ps_disp_frm_buf,
37                             UWORD32 u4_start_row, UWORD32 u4_num_rows);
38 
39 
40 #endif /* __IMPEG2D_PIC_PROC_H__  */
41 
42