mb_access.h
Upload User: hjq518
Upload Date: 2021-12-09
Package Size: 5084k
Code Size: 1k
Category:

Audio program

Development Platform:

Visual C++

  1. /*!
  2.  *************************************************************************************
  3.  * file mb_access.h
  4.  *
  5.  * brief
  6.  *    Functions for macroblock neighborhoods
  7.  *
  8.  * author
  9.  *     Main contributors (see contributors.h for copyright, address and affiliation details)
  10.  *     - Karsten S黨ring                 <suehring@hhi.de> 
  11.  *     - Alexis Michael Tourapis         <alexismt@ieee.org>  
  12.  *************************************************************************************
  13.  */
  14. #ifndef _MB_ACCESS_H_
  15. #define _MB_ACCESS_H_
  16. void CheckAvailabilityOfNeighbors(Macroblock *currMB);
  17. void (*getNeighbour)         (Macroblock *currMb, int xN, int yN, int mb_size[2], PixelPos *pix);
  18. void getAffNeighbour         (Macroblock *currMb, int xN, int yN, int mb_size[2], PixelPos *pix);
  19. void getNonAffNeighbour      (Macroblock *currMb, int xN, int yN, int mb_size[2], PixelPos *pix);
  20. void get4x4Neighbour         (Macroblock *currMb, int xN, int yN, int mb_size[2], PixelPos *pix);
  21. int  mb_is_available         (int mbAddr, Macroblock *currMb);
  22. void get_mb_pos              (int mb_addr, int mb_size[2], int *x, int*y);
  23. void (*get_mb_block_pos)     (int mb_addr, int *x, int*y);
  24. void get_mb_block_pos_normal (int mb_addr, int *x, int*y);
  25. void get_mb_block_pos_mbaff  (int mb_addr, int *x, int*y);
  26. #endif