Lines Matching refs:OH_AVBuffer
30 OH_AVBuffer *OH_AVBuffer_Create(int32_t capacity)
37 FALSE_RETURN_V_MSG_E(buffer != nullptr, nullptr, "create OH_AVBuffer failed");
41 struct OH_AVBuffer *buf = new (std::nothrow) OH_AVBuffer(buffer);
42 FALSE_RETURN_V_MSG_E(buffer != nullptr, nullptr, "failed to new OH_AVBuffer");
47 OH_AVErrCode OH_AVBuffer_Destroy(struct OH_AVBuffer *buffer)
56 OH_AVErrCode OH_AVBuffer_GetBufferAttr(OH_AVBuffer *buffer, OH_AVCodecBufferAttr *attr)
74 OH_AVErrCode OH_AVBuffer_SetBufferAttr(OH_AVBuffer *buffer, const OH_AVCodecBufferAttr *attr)
93 OH_AVFormat *OH_AVBuffer_GetParameter(OH_AVBuffer *buffer)
109 OH_AVErrCode OH_AVBuffer_SetParameter(OH_AVBuffer *buffer, const OH_AVFormat *format)
125 uint8_t *OH_AVBuffer_GetAddr(OH_AVBuffer *buffer)
134 int32_t OH_AVBuffer_GetCapacity(OH_AVBuffer *buffer)
143 OH_NativeBuffer *OH_AVBuffer_GetNativeBuffer(OH_AVBuffer *buffer)