vc1hwd_vlc.h 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 : VLC decoding functionality
  17. --
  18. ------------------------------------------------------------------------------
  19. --
  20. -- Version control information, please leave untouched.
  21. --
  22. -- $RCSfile: vc1hwd_vlc.h,v $
  23. -- $Revision: 1.1 $
  24. -- $Date: 2007/06/19 13:42:59 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. #ifndef VC1HWD_VLC_H
  28. #define VC1HWD_VLC_H
  29. /*------------------------------------------------------------------------------
  30. Include headers
  31. ------------------------------------------------------------------------------*/
  32. #include "basetype.h"
  33. #include "vc1hwd_stream.h"
  34. #include "vc1hwd_picture_layer.h"
  35. /*------------------------------------------------------------------------------
  36. Module defines
  37. ------------------------------------------------------------------------------*/
  38. /* Special cases for VLC value */
  39. #define INVALID_VLC_VALUE (-1)
  40. /*------------------------------------------------------------------------------
  41. Data types
  42. ------------------------------------------------------------------------------*/
  43. /*------------------------------------------------------------------------------
  44. Function prototypes
  45. ------------------------------------------------------------------------------*/
  46. /* Picture layer codewords */
  47. picType_e vc1hwdDecodePtype( strmData_t * const strmData, const u32 advanced,
  48. const u16x maxBframes);
  49. mvmode_e vc1hwdDecodeMvMode( strmData_t * const strmData, const u32 bPic,
  50. const u16x pquant, u32 *pIntComp );
  51. mvmode_e vc1hwdDecodeMvModeB( strmData_t * const strmData, const u16x pquant);
  52. u16x vc1hwdDecodeTransAcFrm( strmData_t * const strmData );
  53. void vc1hwdDecodeVopDquant( strmData_t * const strmData, const u16x dquant,
  54. pictureLayer_t * const pLayer );
  55. u16x vc1hwdDecodeMvRange( strmData_t * const strmData );
  56. bfract_e vc1hwdDecodeBfraction( strmData_t * const strmData,
  57. i16x * pScaleFactor );
  58. fcm_e vc1hwdDecodeFcm( strmData_t * const strmData );
  59. u16x vc1hwdDecodeCondOver( strmData_t * const strmData );
  60. u16x vc1hwdDecodeRefDist( strmData_t * const strmData );
  61. u16x vc1hwdDecodeDmvRange( strmData_t * const strmData );
  62. intCompField_e vc1hwdDecodeIntCompField( strmData_t * const strmData );
  63. #endif /* #ifndef VC1HWD_VLC_H */