00001 00016 #ifndef _MB_ACCESS_H_ 00017 #define _MB_ACCESS_H_ 00018 00019 extern void CheckAvailabilityOfNeighbors(Macroblock *currMB); 00020 00021 extern void getAffNeighbour (Macroblock *currMB, int xN, int yN, int mb_size[2], PixelPos *pix); 00022 extern void getNonAffNeighbour (Macroblock *currMB, int xN, int yN, int mb_size[2], PixelPos *pix); 00023 extern void get4x4Neighbour (Macroblock *currMB, int xN, int yN, int mb_size[2], PixelPos *pix); 00024 extern Boolean mb_is_available (int mbAddr, Macroblock *currMB); 00025 extern void get_mb_pos (ImageParameters *p_Img, int mb_addr, int mb_size[2], short *x, short *y); 00026 extern void get_mb_block_pos_normal (int mb_addr, short *x, short *y); 00027 extern void get_mb_block_pos_mbaff (int mb_addr, short *x, short *y); 00028 00029 00030 #endif