XenevaOS
Loading...
Searching...
No Matches
h264bsd_intra_prediction.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_INTRA_PREDICTION_H
30#define H264SWDEC_INTRA_PREDICTION_H
31
32/*------------------------------------------------------------------------------
33 1. Include headers
34------------------------------------------------------------------------------*/
35
36#include "basetype.h"
37#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 image_t *image, u32 mbNum, u32 constrainedIntraPred, u8 *data);
54
56 macroblockLayer_t *mbLayer,
57 u8 *above, u8 *left, u32 constrainedIntraPred);
59 u8 *above, u8 *left, u32 constrainedIntraPred);
60
62 u8 *above, u8 *left, u32 predMode, u32 constrainedIntraPred);
63
64void h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum);
65
66#else
67
69 macroblockLayer_t *mbLayer,
70 u8 *pImage, u32 width,
71 u32 constrainedIntraPred, u32 block);
72
74 u32 width, u32 constrainedIntraPred);
75
77 u32 predMode, u32 constrainedIntraPred);
78
79#endif
80
81#endif /* #ifdef H264SWDEC_INTRA_PREDICTION_H */
82
signed int i32
Definition basetype.h:34
u32 h264bsdIntra4x4Prediction(mbStorage_t *pMb, u8 *data, macroblockLayer_t *mbLayer, u8 *above, u8 *left, u32 constrainedIntraPred)
Definition h264bsd_intra_prediction.c:701
u32 h264bsdIntraPrediction(mbStorage_t *pMb, macroblockLayer_t *mbLayer, image_t *image, u32 mbNum, u32 constrainedIntraPred, u8 *data)
Definition h264bsd_intra_prediction.c:478
u32 h264bsdIntra16x16Prediction(mbStorage_t *pMb, u8 *data, i32 residual[][16], u8 *above, u8 *left, u32 constrainedIntraPred)
Definition h264bsd_intra_prediction.c:627
u32 h264bsdIntraChromaPrediction(mbStorage_t *pMb, u8 *data, i32 residual[][16], u8 *above, u8 *left, u32 predMode, u32 constrainedIntraPred)
Definition h264bsd_intra_prediction.c:845
void h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum)
Definition h264bsd_intra_prediction.c:545
__u64 image
Definition i915_drm.h:14
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:153
Definition h264bsd_macroblock_layer.h:163