coda7q.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /* SPDX-License-Identifier: LGPL-2.1 OR BSD-3-Clause */
  2. //--=========================================================================--
  3. // This file is a part of VPU Reference API project
  4. //-----------------------------------------------------------------------------
  5. //
  6. // This confidential and proprietary software may be used only
  7. // as authorized by a licensing agreement from Chips&Media Inc.
  8. // In the event of publication, the following notice is applicable:
  9. //
  10. // (C) COPYRIGHT 2006 - 2011 CHIPS&MEDIA INC.
  11. // ALL RIGHTS RESERVED
  12. //
  13. // The entire notice above must be reproduced on all authorized
  14. // copies.
  15. //
  16. //--=========================================================================--
  17. #ifndef __CODA7Q_FUNCTION_H__
  18. #define __CODA7Q_FUNCTION_H__
  19. #include "vpuapi.h"
  20. #include "product.h"
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif /* __cplusplus */
  24. extern RetCode Coda7qVpuDecInitSeq(
  25. CodecInst* instance
  26. );
  27. extern RetCode Coda7qVpuDecode(
  28. CodecInst* instance,
  29. DecParam* option
  30. );
  31. extern RetCode Coda7qVpuDecGetResult(
  32. CodecInst* instance,
  33. DecOutputInfo* result
  34. );
  35. extern RetCode Coda7qVpuDecGetSeqInfo(
  36. CodecInst* instance,
  37. DecInitialInfo* info
  38. );
  39. extern RetCode Coda7qVpuEncSetup(
  40. CodecInst* instance
  41. );
  42. extern RetCode Coda7qVpuEncRegisterFramebuffer(
  43. CodecInst* instance,
  44. FrameBuffer* fbArr,
  45. TiledMapType mapType,
  46. Uint32 count
  47. );
  48. extern RetCode Coda7qVpuEncode(
  49. CodecInst* instance,
  50. EncParam* option
  51. );
  52. extern RetCode Coda7qVpuEncGetResult(
  53. CodecInst* instance,
  54. EncOutputInfo* result
  55. );
  56. #ifdef __cplusplus
  57. }
  58. #endif /* __cplusplus */
  59. #endif /* __CODA7Q_FUNCTION_H__ */