blob: 3778881d5c00c3ef6f25b29606c76a939bb9bc29 [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
21#ifndef _IH264D_NAL_H_
22#define _IH264D_NAL_H_
23
24/*!
25*************************************************************************
26* \file ih264d_nal.h
27*
28* \brief
29* short_description
30*
31* Detailed_description
32*
33* \date
34* 21/11/2002
35*
36* \author AI
37*************************************************************************
38*/
39#include <stdio.h>
40#include "ih264_typedefs.h"
41#include "ih264_macros.h"
42#include "ih264_platform_macros.h"
43#include "ih264d_bitstrm.h"
44
45WORD32 ih264d_process_nal_unit(dec_bit_stream_t *ps_bitstrm,
46 UWORD8 *pu1_nal_unit,
47 UWORD32 u4_numbytes_in_nal_unit);
48void ih264d_rbsp_to_sodb(dec_bit_stream_t *ps_bitstrm);
49WORD32 ih264d_find_start_code(UWORD8 *pu1_buf,
50 UWORD32 u4_cur_pos,
51 UWORD32 u4_max_ofst,
52 UWORD32 *pu4_length_of_start_code,
53 UWORD32 *pu4_next_is_aud);
54
55
56#endif /* _IH264D_NAL_H_ */