XenevaOS
Loading...
Searching...
No Matches
h264bsd_vui.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_VUI_H
30#define H264SWDEC_VUI_H
31
32/*------------------------------------------------------------------------------
33 1. Include headers
34------------------------------------------------------------------------------*/
35
36#include "basetype.h"
37#include "h264bsd_stream.h"
38
39/*------------------------------------------------------------------------------
40 2. Module defines
41------------------------------------------------------------------------------*/
42
43#define MAX_CPB_CNT 32
44
45/*------------------------------------------------------------------------------
46 3. Data types
47------------------------------------------------------------------------------*/
48
49/* enumerated sample aspect ratios, ASPECT_RATIO_M_N means M:N */
50enum
51{
67};
68
69/* structure to store Hypothetical Reference Decoder (HRD) parameters */
83
84/* storage for VUI parameters */
122
123/*------------------------------------------------------------------------------
124 4. Function prototypes
125------------------------------------------------------------------------------*/
126
128 vuiParameters_t *pVuiParameters);
129
130#endif /* #ifdef H264SWDEC_VUI_H */
131
u32 h264bsdDecodeVuiParameters(strmData_t *pStrmData, vuiParameters_t *pVuiParameters)
Definition h264bsd_vui.c:82
@ ASPECT_RATIO_16_11
Definition h264bsd_vui.h:56
@ ASPECT_RATIO_32_11
Definition h264bsd_vui.h:60
@ ASPECT_RATIO_80_33
Definition h264bsd_vui.h:61
@ ASPECT_RATIO_15_11
Definition h264bsd_vui.h:63
@ ASPECT_RATIO_1_1
Definition h264bsd_vui.h:53
@ ASPECT_RATIO_UNSPECIFIED
Definition h264bsd_vui.h:52
@ ASPECT_RATIO_160_99
Definition h264bsd_vui.h:65
@ ASPECT_RATIO_20_11
Definition h264bsd_vui.h:59
@ ASPECT_RATIO_24_11
Definition h264bsd_vui.h:58
@ ASPECT_RATIO_10_11
Definition h264bsd_vui.h:55
@ ASPECT_RATIO_18_11
Definition h264bsd_vui.h:62
@ ASPECT_RATIO_40_33
Definition h264bsd_vui.h:57
@ ASPECT_RATIO_12_11
Definition h264bsd_vui.h:54
@ ASPECT_RATIO_64_33
Definition h264bsd_vui.h:64
@ ASPECT_RATIO_EXTENDED_SAR
Definition h264bsd_vui.h:66
#define MAX_CPB_CNT
Definition h264bsd_vui.h:43
uint32_t u32
Definition kernel.h:16
Definition h264bsd_vui.h:71
u32 bitRateScale
Definition h264bsd_vui.h:73
u32 dpbOutputDelayLength
Definition h264bsd_vui.h:80
u32 cpbCnt
Definition h264bsd_vui.h:72
u32 timeOffsetLength
Definition h264bsd_vui.h:81
u32 initialCpbRemovalDelayLength
Definition h264bsd_vui.h:78
u32 cpbRemovalDelayLength
Definition h264bsd_vui.h:79
u32 cpbSizeScale
Definition h264bsd_vui.h:74
Definition h264bsd_stream.h:47
Definition h264bsd_vui.h:86
u32 sarHeight
Definition h264bsd_vui.h:90
u32 log2MaxMvLengthVertical
Definition h264bsd_vui.h:118
u32 fixedFrameRateFlag
Definition h264bsd_vui.h:106
u32 videoFormat
Definition h264bsd_vui.h:94
u32 motionVectorsOverPicBoundariesFlag
Definition h264bsd_vui.h:114
u32 chromaLocInfoPresentFlag
Definition h264bsd_vui.h:100
u32 colourPrimaries
Definition h264bsd_vui.h:97
u32 videoSignalTypePresentFlag
Definition h264bsd_vui.h:93
u32 overscanAppropriateFlag
Definition h264bsd_vui.h:92
u32 log2MaxMvLengthHorizontal
Definition h264bsd_vui.h:117
u32 timingInfoPresentFlag
Definition h264bsd_vui.h:103
u32 transferCharacteristics
Definition h264bsd_vui.h:98
u32 lowDelayHrdFlag
Definition h264bsd_vui.h:111
hrdParameters_t vclHrdParameters
Definition h264bsd_vui.h:110
u32 numReorderFrames
Definition h264bsd_vui.h:119
u32 videoFullRangeFlag
Definition h264bsd_vui.h:95
hrdParameters_t nalHrdParameters
Definition h264bsd_vui.h:108
u32 overscanInfoPresentFlag
Definition h264bsd_vui.h:91
u32 aspectRatioPresentFlag
Definition h264bsd_vui.h:87
u32 matrixCoefficients
Definition h264bsd_vui.h:99
u32 maxDecFrameBuffering
Definition h264bsd_vui.h:120
u32 numUnitsInTick
Definition h264bsd_vui.h:104
u32 vclHrdParametersPresentFlag
Definition h264bsd_vui.h:109
u32 maxBitsPerMbDenom
Definition h264bsd_vui.h:116
u32 picStructPresentFlag
Definition h264bsd_vui.h:112
u32 nalHrdParametersPresentFlag
Definition h264bsd_vui.h:107
u32 bitstreamRestrictionFlag
Definition h264bsd_vui.h:113
u32 timeScale
Definition h264bsd_vui.h:105
u32 colourDescriptionPresentFlag
Definition h264bsd_vui.h:96
u32 chromaSampleLocTypeTopField
Definition h264bsd_vui.h:101
u32 maxBytesPerPicDenom
Definition h264bsd_vui.h:115
u32 sarWidth
Definition h264bsd_vui.h:89
u32 chromaSampleLocTypeBottomField
Definition h264bsd_vui.h:102
u32 aspectRatioIdc
Definition h264bsd_vui.h:88