Home | History | Annotate | Download | only in decoder
      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 _IH264D_PARSE_SLICE_H_
     21 #define _IH264D_PARSE_SLICE_H_
     22 /*!
     23  **************************************************************************
     24  * \file ih264d_parse_slice.h
     25  *
     26  * \brief
     27  *    Contains routines that decodes a slice NAL unit
     28  *
     29  * \date
     30  *    19/12/2002
     31  *
     32  * \author  AI
     33  **************************************************************************
     34  */
     35 #include "ih264_typedefs.h"
     36 #include "ih264_macros.h"
     37 #include "ih264_platform_macros.h"
     38 #include "ih264d_structs.h"
     39 #include "ih264d_error_handler.h"
     40 WORD32 ih264d_parse_decode_slice(UWORD8 u1_is_idr_slice,
     41                                  UWORD8 u1_nal_ref_idc,
     42                                  dec_struct_t * ps_dec );
     43 
     44 WORD32 ih264d_end_of_pic(dec_struct_t *ps_dec,
     45                          UWORD8 u1_is_idr_slice,
     46                          UWORD16 u2_frame_num);
     47 WORD32 ih264d_start_of_pic(dec_struct_t *ps_dec,
     48                            WORD32 i4_poc,
     49                            pocstruct_t *ps_temp_poc,
     50                            UWORD16 u2_frame_num,
     51                            dec_pic_params_t *ps_pps);
     52 
     53 WORD32 ih264d_ref_idx_reordering(dec_struct_t * ps_dec, UWORD8 u1_isB);
     54 WORD32 ih264d_read_mmco_commands(dec_struct_t * ps_dec);
     55 void ih264d_form_pred_weight_matrix(dec_struct_t *ps_dec);
     56 #endif /* _IH264D_PARSE_SLICE_H_ */
     57