enctrace.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 : Internal traces
  17. --
  18. ------------------------------------------------------------------------------*/
  19. #ifndef __ENCTRACE_H__
  20. #define __ENCTRACE_H__
  21. /*------------------------------------------------------------------------------
  22. 1. Include headers
  23. ------------------------------------------------------------------------------*/
  24. #include "basetype.h"
  25. #include "encpreprocess.h"
  26. #include "encasiccontroller.h"
  27. /*------------------------------------------------------------------------------
  28. 2. External compiler flags
  29. --------------------------------------------------------------------------------
  30. --------------------------------------------------------------------------------
  31. 3. Module defines
  32. ------------------------------------------------------------------------------*/
  33. /*------------------------------------------------------------------------------
  34. 4. Function prototypes
  35. ------------------------------------------------------------------------------*/
  36. i32 EncPrintBlock(i32 *, char *);
  37. void EncTraceAsicParameters(asicData_s * asic);
  38. void EncTraceAsicQp(i32 qp);
  39. void EncTraceAsicStatus(i32 status, u32 mbNum);
  40. void EncTraceAsicEvent(i32 mbNum);
  41. void EncTracePreProcess(preProcess_s * preProcess);
  42. void EncTraceStabilator(preProcess_s * preProcess, i32 horGmv, i32 verGmv);
  43. void EncTraceRlc(const u32 * ptr, u32 block, u32 run, i32 level);
  44. void EncTraceRlcMb(u32 mbNum, u32 * lastRlc);
  45. void EncTraceRegs(const void *ewl, u32 readWriteFlag, u32 mbNum);
  46. void EncDumpControl(const u32 * data, u32 length);
  47. void EncDumpRlc(const i16 * data, u32 length);
  48. void EncDumpRlcMb(const i16 * data);
  49. void EncDumpRecon(asicData_s * asic);
  50. void EncTraceCloseAll(void);
  51. #endif