H264Init.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 : Encoder initialization and setup
  17. --
  18. ------------------------------------------------------------------------------*/
  19. #ifndef __H264_INIT_H__
  20. #define __H264_INIT_H__
  21. /*------------------------------------------------------------------------------
  22. 1. Include headers
  23. ------------------------------------------------------------------------------*/
  24. #include "h264encapi.h"
  25. #include "H264Instance.h"
  26. /*------------------------------------------------------------------------------
  27. 2. External compiler flags
  28. --------------------------------------------------------------------------------
  29. --------------------------------------------------------------------------------
  30. 3. Module defines
  31. ------------------------------------------------------------------------------*/
  32. /*------------------------------------------------------------------------------
  33. 4. Function prototypes
  34. ------------------------------------------------------------------------------*/
  35. bool_e H264CheckCfg(const H264EncConfig * pEncCfg);
  36. i32 H264GetAllowedWidth(i32 width, H264EncPictureType inputType);
  37. H264EncRet H264Init(const H264EncConfig * pEncCfg, h264Instance_s ** instAddr);
  38. void H264Shutdown(h264Instance_s *data);
  39. #endif