vc1hwd_bitplane.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*------------------------------------------------------------------------------
  2. -- --
  3. -- This software is confidential and proprietary and may be used --
  4. -- only as expressly authorized by a licensing agreement from --
  5. -- --
  6. -- Hantro Products Oy. --
  7. -- --
  8. -- (C) COPYRIGHT 2006 HANTRO PRODUCTS OY --
  9. -- ALL RIGHTS RESERVED --
  10. -- --
  11. -- The entire notice above must be reproduced --
  12. -- on all copies and should not be removed. --
  13. -- --
  14. --------------------------------------------------------------------------------
  15. --
  16. -- Description : interface for bitplane decoding module
  17. --
  18. --------------------------------------------------------------------------------
  19. --
  20. -- Version control information, please leave untouched.
  21. --
  22. -- $RCSfile: vc1hwd_bitplane.h,v $
  23. -- $Revision: 1.2 $
  24. -- $Date: 2007/10/05 07:29:29 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. #ifndef VC1HWD_BITPLANE_H
  28. #define VC1HWD_BITPLANE_H
  29. /*------------------------------------------------------------------------------
  30. Include headers
  31. ------------------------------------------------------------------------------*/
  32. #include "basetype.h"
  33. #include "vc1hwd_stream.h"
  34. #include "vc1hwd_util.h"
  35. /*------------------------------------------------------------------------------
  36. Module defines
  37. ------------------------------------------------------------------------------*/
  38. /* Bitplane Coding Modes */
  39. typedef enum {
  40. BPCM_RAW,
  41. BPCM_NORMAL_2,
  42. BPCM_DIFFERENTIAL_2,
  43. BPCM_NORMAL_6,
  44. BPCM_DIFFERENTIAL_6,
  45. BPCM_ROW_SKIP,
  46. BPCM_COLUMN_SKIP
  47. } BitPlaneCodingMode_e;
  48. /*------------------------------------------------------------------------------
  49. Data types
  50. ------------------------------------------------------------------------------*/
  51. /*------------------------------------------------------------------------------
  52. Function prototypes
  53. ------------------------------------------------------------------------------*/
  54. u16x vc1hwdDecodeBitPlane( strmData_t * const strmData, const u16x colMb,
  55. const u16x rowMb, u8 *pData, const u16x bit,
  56. u16x * const pRawMask , const u16x maskbit,
  57. const u16x syncMarker );
  58. #endif /* #ifndef VC1HWD_BITPLANE_H */