mp4dechwd_vopdesc.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. -- Abstract : Picture level data structure
  17. --
  18. --------------------------------------------------------------------------------
  19. --
  20. -- Version control information, please leave untouched.
  21. --
  22. -- $RCSfile: mp4dechwd_vopdesc.h,v $
  23. -- $Date: 2008/09/03 05:58:25 $
  24. -- $Revision: 1.2 $
  25. --
  26. ------------------------------------------------------------------------------*/
  27. /*****************************************************************************/
  28. #ifndef DECVOPDESC_H_DEFINED
  29. #define DECVOPDESC_H_DEFINED
  30. #include "basetype.h"
  31. typedef struct DecVopDesc_t
  32. {
  33. u32 vopNumber;
  34. u32 vopNumberInSeq;
  35. u32 vopTimeIncrement;
  36. u32 moduloTimeBase;
  37. u32 prevVopTimeIncrement;
  38. u32 prevModuloTimeBase;
  39. u32 trb;
  40. u32 trd;
  41. u32 ticsFromPrev; /* tics (1/vop_time_increment_resolution
  42. * seconds) since previous vop */
  43. u32 intraDcVlcThr;
  44. u32 vopCodingType;
  45. u32 totalMbInVop;
  46. u32 vopWidth; /* in macro blocks */
  47. u32 vopHeight; /* in macro blocks */
  48. u32 qP;
  49. u32 fcodeFwd;
  50. u32 fcodeBwd;
  51. u32 vopCoded;
  52. u32 vopRoundingType;
  53. /* following three parameters will be read from group of VOPs header
  54. * and will be updated based on time codes received in VOP header */
  55. u32 timeCodeHours;
  56. u32 timeCodeMinutes;
  57. u32 timeCodeSeconds;
  58. u32 govCounter; /* number of groups of VOPs */
  59. /* for interlace support */
  60. u32 topFieldFirst;
  61. u32 altVerticalScanFlag;
  62. } DecVopDesc;
  63. #endif