Lines Matching refs:AVBuffer
29 class __attribute__((visibility("default"))) AVBuffer {
31 ~AVBuffer();
33 * @brief Create the AVBuffer by configuration.
34 * @param config The configuration of AVBuffer, refer to {@link AVBufferConfig}
35 * @return The shared pointer of AVBuffer.
38 static std::shared_ptr<AVBuffer> CreateAVBuffer(const AVBufferConfig &config);
41 * @brief Create the AVBuffer by allocator.
44 * @param align The align of AVBuffer, bytes.
45 * @return The shared pointer of AVBuffer.
48 static std::shared_ptr<AVBuffer> CreateAVBuffer(std::shared_ptr<AVAllocator> allocator, int32_t capacity = 0,
52 * @brief Create the AVBuffer by alloced memory.
56 * @return The shared pointer of AVBuffer.
59 static std::shared_ptr<AVBuffer> CreateAVBuffer(uint8_t *ptr, int32_t capacity, int32_t size = 0);
62 * @brief Create the AVBuffer by surface buffer.
64 * @return The shared pointer of AVBuffer.
67 static std::shared_ptr<AVBuffer> CreateAVBuffer(sptr<SurfaceBuffer> surfaceBuffer);
70 * @brief Create the AVBuffer.
71 * @return The shared pointer of AVBuffer.
74 static std::shared_ptr<AVBuffer> CreateAVBuffer();
78 * @return The config struct of AVBuffer.
118 AVBuffer();
126 * @brief AVBuffer's memory.
130 friend class AVBuffer;