XenevaOS
Loading...
Searching...
No Matches
XenevaOS
Process
VideoPlayer
h264bsd
h264bsd_pic_order_cnt.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2009 The Android Open Source Project
3
* Modified for use by h264bsd standalone library
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
/*------------------------------------------------------------------------------
19
20
Table of contents
21
22
1. Include headers
23
2. Module defines
24
3. Data types
25
4. Function prototypes
26
27
------------------------------------------------------------------------------*/
28
29
#ifndef H264SWDEC_PIC_ORDER_CNT_H
30
#define H264SWDEC_PIC_ORDER_CNT_H
31
32
/*------------------------------------------------------------------------------
33
1. Include headers
34
------------------------------------------------------------------------------*/
35
36
#include "
basetype.h
"
37
#include "
h264bsd_seq_param_set.h
"
38
#include "
h264bsd_slice_header.h
"
39
#include "
h264bsd_nal_unit.h
"
40
41
/*------------------------------------------------------------------------------
42
2. Module defines
43
------------------------------------------------------------------------------*/
44
45
46
/*------------------------------------------------------------------------------
47
3. Data types
48
------------------------------------------------------------------------------*/
49
50
/* structure to store information computed for previous picture, needed for
51
* POC computation of a picture. Two first fields for POC type 0, last two
52
* for types 1 and 2 */
53
typedef
struct
54
{
55
u32
prevPicOrderCntLsb
;
56
i32
prevPicOrderCntMsb
;
57
u32
prevFrameNum
;
58
u32
prevFrameNumOffset
;
59
}
pocStorage_t
;
60
61
/*------------------------------------------------------------------------------
62
4. Function prototypes
63
------------------------------------------------------------------------------*/
64
65
i32
h264bsdDecodePicOrderCnt
(
pocStorage_t
*poc,
seqParamSet_t
*sps,
66
sliceHeader_t
*sliceHeader,
nalUnit_t
*pNalUnit);
67
68
#endif
/* #ifdef H264SWDEC_PIC_ORDER_CNT_H */
69
basetype.h
i32
signed int i32
Definition
basetype.h:34
h264bsd_nal_unit.h
h264bsdDecodePicOrderCnt
i32 h264bsdDecodePicOrderCnt(pocStorage_t *poc, seqParamSet_t *sps, sliceHeader_t *sliceHeader, nalUnit_t *pNalUnit)
Definition
h264bsd_pic_order_cnt.c:80
h264bsd_seq_param_set.h
h264bsd_slice_header.h
u32
uint32_t u32
Definition
kernel.h:16
nalUnit_t
Definition
h264bsd_nal_unit.h:65
pocStorage_t
Definition
h264bsd_pic_order_cnt.h:54
pocStorage_t::prevPicOrderCntLsb
u32 prevPicOrderCntLsb
Definition
h264bsd_pic_order_cnt.h:55
pocStorage_t::prevFrameNum
u32 prevFrameNum
Definition
h264bsd_pic_order_cnt.h:57
pocStorage_t::prevFrameNumOffset
u32 prevFrameNumOffset
Definition
h264bsd_pic_order_cnt.h:58
pocStorage_t::prevPicOrderCntMsb
i32 prevPicOrderCntMsb
Definition
h264bsd_pic_order_cnt.h:56
seqParamSet_t
Definition
h264bsd_seq_param_set.h:51
sliceHeader_t
Definition
h264bsd_slice_header.h:110
Generated by
1.9.8