XenevaOS
Loading...
Searching...
No Matches
h264bsd_reconstruct.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_RECONSTRUCT_H
30#define H264SWDEC_RECONSTRUCT_H
31
32/*------------------------------------------------------------------------------
33 1. Include headers
34------------------------------------------------------------------------------*/
35
36#include "basetype.h"
38#include "h264bsd_image.h"
39
40/*------------------------------------------------------------------------------
41 2. Module defines
42------------------------------------------------------------------------------*/
43
44/*------------------------------------------------------------------------------
45 3. Data types
46------------------------------------------------------------------------------*/
47
48/*------------------------------------------------------------------------------
49 4. Function prototypes
50------------------------------------------------------------------------------*/
51#ifndef H264DEC_OMXDL
53 u8 *data,
54 mv_t *mv,
55 image_t *refPic,
56 u32 xA,
57 u32 yA,
58 u32 partX,
59 u32 partY,
60 u32 partWidth,
61 u32 partHeight);
62#else
64 u8 *data,
65 mv_t *mv,
66 image_t *refPic,
67 u32 colAndRow,/* packaged data | column | row |*/
68 u32 part, /* packaged data |partX|partY|partWidth|partHeight|*/
69 u8 *pFill);
70#endif
71
73 u8 * ref,
74 u8 * fill,
75 i32 x0,
76 i32 y0,
77 u32 width,
78 u32 height,
79 u32 blockWidth,
80 u32 blockHeight,
81 u32 fillScanLength);
82
84 u8 *pRef,
85 u8 *predPartChroma,
86 i32 x0,
87 i32 y0,
88 u32 width,
89 u32 height,
90 u32 xFrac,
91 u32 chromaPartWidth,
92 u32 chromaPartHeight);
93
95 u8 *pRef,
96 u8 *predPartChroma,
97 i32 x0,
98 i32 y0,
99 u32 width,
100 u32 height,
101 u32 yFrac,
102 u32 chromaPartWidth,
103 u32 chromaPartHeight);
104
106 u8 *ref,
107 u8 *predPartChroma,
108 i32 x0,
109 i32 y0,
110 u32 width,
111 u32 height,
112 u32 xFrac,
113 u32 yFrac,
114 u32 chromaPartWidth,
115 u32 chromaPartHeight);
116
118 u8 *ref,
119 u8 *mb,
120 i32 x0,
121 i32 y0,
122 u32 width,
123 u32 height,
124 u32 partWidth,
125 u32 partHeight);
126
128 u8 *ref,
129 u8 *mb,
130 i32 x0,
131 i32 y0,
132 u32 width,
133 u32 height,
134 u32 partWidth,
135 u32 partHeight,
136 u32 verOffset);
137
139 u8 *ref,
140 u8 *mb,
141 i32 x0,
142 i32 y0,
143 u32 width,
144 u32 height,
145 u32 partWidth,
146 u32 partHeight);
147
149 u8 *ref,
150 u8 *mb,
151 i32 x0,
152 i32 y0,
153 u32 width,
154 u32 height,
155 u32 partWidth,
156 u32 partHeight,
157 u32 horOffset);
158
160 u8 *ref,
161 u8 *mb,
162 i32 x0,
163 i32 y0,
164 u32 width,
165 u32 height,
166 u32 partWidth,
167 u32 partHeight,
168 u32 horVerOffset);
169
171 u8 *ref,
172 u8 *mb,
173 i32 x0,
174 i32 y0,
175 u32 width,
176 u32 height,
177 u32 partWidth,
178 u32 partHeight);
179
181 u8 *ref,
182 u8 *mb,
183 i32 x0,
184 i32 y0,
185 u32 width,
186 u32 height,
187 u32 partWidth,
188 u32 partHeight,
189 u32 verOffset);
190
192 u8 *ref,
193 u8 *mb,
194 i32 x0,
195 i32 y0,
196 u32 width,
197 u32 height,
198 u32 partWidth,
199 u32 partHeight,
200 u32 horOffset);
201
202
203void h264bsdFillRow7(
204 u8 *ref,
205 u8 *fill,
206 i32 left,
207 i32 center,
208 i32 right);
209
210#endif /* #ifdef H264SWDEC_RECONSTRUCT_H */
211
#define mb()
Definition barrier.h:43
signed int i32
Definition basetype.h:34
void h264bsdInterpolateChromaHor(u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 chromaPartWidth, u32 chromaPartHeight)
Definition h264bsd_reconstruct.c:109
void h264bsdInterpolateMidHalf(u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight)
Definition h264bsd_reconstruct.c:1209
void h264bsdPredictSamples(u8 *data, mv_t *mv, image_t *refPic, u32 xA, u32 yA, u32 partX, u32 partY, u32 partWidth, u32 partHeight)
Definition h264bsd_reconstruct.c:1818
void h264bsdInterpolateHorVerQuarter(u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horVerOffset)
Definition h264bsd_reconstruct.c:1003
void h264bsdInterpolateChromaVer(u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight)
Definition h264bsd_reconstruct.c:205
void h264bsdInterpolateVerQuarter(u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset)
Definition h264bsd_reconstruct.c:608
void h264bsdInterpolateVerHalf(u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight)
Definition h264bsd_reconstruct.c:490
void h264bsdInterpolateMidHorQuarter(u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset)
Definition h264bsd_reconstruct.c:1599
void h264bsdInterpolateChromaHorVer(u8 *ref, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight)
Definition h264bsd_reconstruct.c:301
void h264bsdFillRow7(u8 *ref, u8 *fill, i32 left, i32 center, i32 right)
Definition h264bsd_reconstruct.c:2192
void h264bsdInterpolateHorHalf(u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight)
Definition h264bsd_reconstruct.c:742
void h264bsdInterpolateMidVerQuarter(u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset)
Definition h264bsd_reconstruct.c:1395
void h264bsdInterpolateHorQuarter(u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset)
Definition h264bsd_reconstruct.c:865
void h264bsdFillBlock(u8 *ref, u8 *fill, i32 x0, i32 y0, u32 width, u32 height, u32 blockWidth, u32 blockHeight, u32 fillScanLength)
Definition h264bsd_reconstruct.c:2244
void * data
Definition kthread.h:30
uint8_t u8
Definition kernel.h:14
uint32_t u32
Definition kernel.h:16
Definition h264bsd_image.h:47
Definition h264bsd_macroblock_layer.h:118