EncJpegCodeFrame.h 2.7 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. -- Abstract :
  17. --
  18. ------------------------------------------------------------------------------*/
  19. /*------------------------------------------------------------------------------
  20. Table of contents
  21. 1. Include headers
  22. 2. External compiler flags
  23. 3. Module defines
  24. 4. Function prototypes
  25. ------------------------------------------------------------------------------*/
  26. #ifndef __ENC_JPEG_CODE_VOP_H__
  27. #define __ENC_JPEG_CODE_VOP_H__
  28. /*------------------------------------------------------------------------------
  29. 1. Include headers
  30. ------------------------------------------------------------------------------*/
  31. #include "basetype.h"
  32. #include "EncJpeg.h"
  33. #include "EncJpegInstance.h"
  34. #include "enccommon.h"
  35. #include "encasiccontroller.h"
  36. #include "EncJpegPutBits.h"
  37. /*------------------------------------------------------------------------------
  38. 2. External compiler flags
  39. --------------------------------------------------------------------------------
  40. --------------------------------------------------------------------------------
  41. 3. Module defines
  42. ------------------------------------------------------------------------------*/
  43. typedef enum
  44. {
  45. JPEGENCODE_OK = 0,
  46. JPEGENCODE_TIMEOUT = 1,
  47. JPEGENCODE_DATA_ERROR = 2,
  48. JPEGENCODE_HW_ERROR = 3,
  49. JPEGENCODE_SYSTEM_ERROR = 4,
  50. JPEGENCODE_HW_RESET = 5
  51. } jpegEncodeFrame_e;
  52. /*------------------------------------------------------------------------------
  53. 4. Function prototypes
  54. ------------------------------------------------------------------------------*/
  55. jpegEncodeFrame_e EncJpegCodeFrame(jpegInstance_s * inst);
  56. #endif