h264encapi_ext.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 : Hantro 6250 H.264 Encoder Extended API
  17. --
  18. ------------------------------------------------------------------------------*/
  19. #ifndef __H264ENCAPI_EXT_H__
  20. #define __H264ENCAPI_EXT_H__
  21. #include "basetype.h"
  22. #include "h264encapi.h"
  23. #ifdef __cplusplus
  24. extern "C"
  25. {
  26. #endif
  27. typedef struct
  28. {
  29. u32 disableDeblocking;
  30. i32 filterOffsetA;
  31. i32 filterOffsetB;
  32. } H264EncFilter;
  33. H264EncRet H264EncGetFilter(H264EncInst inst, H264EncFilter * pEncCfg);
  34. H264EncRet H264EncSetFilter(H264EncInst inst,
  35. const H264EncFilter * pEncCfg);
  36. H264EncRet H264EncSetFilter(H264EncInst inst,
  37. const H264EncFilter * pEncCfg);
  38. H264EncRet H264EncSetChromaQpIndexOffset(H264EncInst inst, i32 offset);
  39. H264EncRet H264EncSetHwBurstSize(H264EncInst inst, u32 burst);
  40. H264EncRet H264EncSetHwBurstType(H264EncInst inst, u32 burstType);
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44. #endif /*__H264ENCAPI_EXT_H__*/