JpegTestBench.h 2.3 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. -- Abstract : Jpeg Encoder testbench
  17. --
  18. ------------------------------------------------------------------------------*/
  19. #ifndef _JPEGTESTBENCH_H_
  20. #define _JPEGTESTBENCH_H_
  21. #include "basetype.h"
  22. /*------------------------------------------------------------------------------
  23. 3. Module defines
  24. ------------------------------------------------------------------------------*/
  25. /* Maximum lenght of the file path */
  26. #ifndef MAX_PATH
  27. #define MAX_PATH 256
  28. #endif
  29. #define DEFAULT 0
  30. /* Structure for command line options */
  31. typedef struct
  32. {
  33. char input[MAX_PATH];
  34. char output[MAX_PATH];
  35. char inputThumb[MAX_PATH];
  36. i32 firstPic;
  37. i32 lastPic;
  38. i32 width;
  39. i32 height;
  40. i32 lumWidthSrc;
  41. i32 lumHeightSrc;
  42. i32 horOffsetSrc;
  43. i32 verOffsetSrc;
  44. i32 restartInterval;
  45. i32 frameType;
  46. i32 colorConversion;
  47. i32 rotation;
  48. i32 partialCoding;
  49. i32 codingMode;
  50. i32 markerType;
  51. i32 qLevel;
  52. i32 unitsType;
  53. i32 xdensity;
  54. i32 ydensity;
  55. i32 thumbnail;
  56. i32 widthThumb;
  57. i32 heightThumb;
  58. i32 lumWidthSrcThumb;
  59. i32 lumHeightSrcThumb;
  60. i32 horOffsetSrcThumb;
  61. i32 verOffsetSrcThumb;
  62. i32 write;
  63. i32 comLength;
  64. char com[MAX_PATH];
  65. }
  66. commandLine_s;
  67. #endif