EncJpegPutBits.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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_PUT_BITS_H__
  27. #define __ENC_JPEG_PUT_BITS_H__
  28. /*------------------------------------------------------------------------------
  29. 1. Include headers
  30. ------------------------------------------------------------------------------*/
  31. #include "basetype.h"
  32. #include "enccommon.h"
  33. /*------------------------------------------------------------------------------
  34. 2. External compiler flags
  35. --------------------------------------------------------------------------------
  36. --------------------------------------------------------------------------------
  37. 3. Module defines
  38. ------------------------------------------------------------------------------*/
  39. /*------------------------------------------------------------------------------
  40. 4. Function prototypes
  41. ------------------------------------------------------------------------------*/
  42. void EncJpegPutBits(stream_s *, u32, u32);
  43. void EncJpegByteAligned(stream_s * stream);
  44. void EncJpegHeaderPutBits(stream_s *, u32, u32);
  45. void EncJpegNextByteAligned(stream_s * stream);
  46. bool_e EncJpegBufferStatus(stream_s * stream);
  47. bool_e EncJpegSetBuffer(stream_s * buffer, u8 * stream, u32 size);
  48. #endif