wave4.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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 __WAVE410_FUNCTION_H__
  18. #define __WAVE410_FUNCTION_H__
  19. #include "vpuapi.h"
  20. #include "product.h"
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif /* __cplusplus */
  24. extern RetCode Wave4VpuDecInitSeq(
  25. CodecInst* instance
  26. );
  27. extern RetCode Wave4VpuDecode(
  28. CodecInst* instance,
  29. DecParam* option
  30. );
  31. extern RetCode Wave4VpuDecGetResult(
  32. CodecInst* instance,
  33. DecOutputInfo* result
  34. );
  35. extern RetCode Wave4VpuDecGetSeqInfo(
  36. CodecInst* instance,
  37. DecInitialInfo* info
  38. );
  39. extern RetCode Wave4VpuEncRegisterFramebuffer(
  40. CodecInst* instance,
  41. FrameBuffer* fb,
  42. TiledMapType mapType,
  43. Uint32 count
  44. );
  45. extern RetCode Wave4VpuEncSetup(
  46. CodecInst* instance
  47. );
  48. extern RetCode Wave4VpuEncode(
  49. CodecInst* instance,
  50. EncParam* option
  51. );
  52. extern RetCode Wave4VpuEncGetResult(
  53. CodecInst* instance,
  54. EncOutputInfo* result
  55. );
  56. extern RetCode Wave4VpuEncGiveCommand(
  57. CodecInst* pCodecInst,
  58. CodecCommand cmd,
  59. void* param
  60. );
  61. extern RetCode CheckEncCommonParamValid(
  62. EncOpenParam* pop
  63. );
  64. extern RetCode CheckEncRcParamValid(
  65. EncOpenParam* pop
  66. );
  67. #ifdef __cplusplus
  68. }
  69. #endif /* __cplusplus */
  70. #endif /* __WAVE410_FUNCTION_H__ */