XenevaOS
Loading...
Searching...
No Matches
h264bsd_neighbour.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_NEIGHBOUR_H
30#define H264SWDEC_NEIGHBOUR_H
31
32/*------------------------------------------------------------------------------
33 1. Include headers
34------------------------------------------------------------------------------*/
35
36#include "basetype.h"
38
39/*------------------------------------------------------------------------------
40 2. Module defines
41------------------------------------------------------------------------------*/
42
43typedef enum {
44 MB_A = 0,
49 MB_NA = 0xFF
51
52/*------------------------------------------------------------------------------
53 3. Data types
54------------------------------------------------------------------------------*/
55
56typedef struct
57{
61
62/*------------------------------------------------------------------------------
63 4. Function prototypes
64------------------------------------------------------------------------------*/
65
66void h264bsdInitMbNeighbours(mbStorage_t *pMbStorage, u32 picWidth,
67 u32 picSizeInMbs);
68
70
72
77
78#endif /* #ifdef H264SWDEC_NEIGHBOUR_H */
79
neighbourMb_e
Definition h264bsd_neighbour.h:43
@ MB_C
Definition h264bsd_neighbour.h:46
@ MB_NA
Definition h264bsd_neighbour.h:49
@ MB_A
Definition h264bsd_neighbour.h:44
@ MB_CURR
Definition h264bsd_neighbour.h:48
@ MB_D
Definition h264bsd_neighbour.h:47
@ MB_B
Definition h264bsd_neighbour.h:45
const neighbour_t * h264bsdNeighbour4x4BlockD(u32 blockIndex)
Definition h264bsd_neighbour.c:335
const neighbour_t * h264bsdNeighbour4x4BlockA(u32 blockIndex)
Definition h264bsd_neighbour.c:242
void h264bsdInitMbNeighbours(mbStorage_t *pMbStorage, u32 picWidth, u32 picSizeInMbs)
Definition h264bsd_neighbour.c:128
mbStorage_t * h264bsdGetNeighbourMb(mbStorage_t *pMb, neighbourMb_e neighbour)
Definition h264bsd_neighbour.c:199
u32 h264bsdIsNeighbourAvailable(mbStorage_t *pMb, mbStorage_t *pNeighbour)
Definition h264bsd_neighbour.c:370
const neighbour_t * h264bsdNeighbour4x4BlockB(u32 blockIndex)
Definition h264bsd_neighbour.c:273
const neighbour_t * h264bsdNeighbour4x4BlockC(u32 blockIndex)
Definition h264bsd_neighbour.c:304
uint8_t u8
Definition kernel.h:14
uint32_t u32
Definition kernel.h:16
Definition h264bsd_macroblock_layer.h:163
Definition h264bsd_neighbour.h:57
neighbourMb_e mb
Definition h264bsd_neighbour.h:58
u8 index
Definition h264bsd_neighbour.h:59