blob: 0f82ec9d40dd96c748592e4e459ad80d716ff4b6 [file] [log] [blame]
Hamsalekha S8d3d3032015-03-13 21:24:58 +05301/******************************************************************************
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"
Rakesh Kumarf312a1d2018-07-09 21:58:44 +053040WORD32 ih264d_fix_error_in_dpb(dec_struct_t * ps_dec);
Hamsalekha S8d3d3032015-03-13 21:24:58 +053041WORD32 ih264d_parse_decode_slice(UWORD8 u1_is_idr_slice,
42 UWORD8 u1_nal_ref_idc,
43 dec_struct_t * ps_dec );
44
Harish Mahendrakar49456122017-01-05 12:10:47 +053045WORD32 ih264d_end_of_pic(dec_struct_t *ps_dec);
Marco Nelissen8ef4c3f2015-06-03 07:26:32 -070046WORD32 ih264d_start_of_pic(dec_struct_t *ps_dec,
47 WORD32 i4_poc,
48 pocstruct_t *ps_temp_poc,
49 UWORD16 u2_frame_num,
50 dec_pic_params_t *ps_pps);
51
Hamsalekha S8d3d3032015-03-13 21:24:58 +053052WORD32 ih264d_ref_idx_reordering(dec_struct_t * ps_dec, UWORD8 u1_isB);
53WORD32 ih264d_read_mmco_commands(dec_struct_t * ps_dec);
54void ih264d_form_pred_weight_matrix(dec_struct_t *ps_dec);
Harish Mahendrakar49456122017-01-05 12:10:47 +053055WORD32 ih264d_end_of_pic_dispbuf_mgr(dec_struct_t * ps_dec);
Hamsalekha S8d3d3032015-03-13 21:24:58 +053056#endif /* _IH264D_PARSE_SLICE_H_ */