Lines Matching refs:codec
59 * @param name video codec name
69 * @param codec Pointer to an OH_AVCodec instance
78 OH_AVErrCode OH_VideoDecoder_Destroy(OH_AVCodec *codec);
84 * @param codec Pointer to an OH_AVCodec instance
98 OH_AVErrCode OH_VideoDecoder_SetCallback(OH_AVCodec *codec, OH_AVCodecAsyncCallback callback, void *userData);
104 * @param codec Pointer to an OH_AVCodec instance
116 OH_AVErrCode OH_VideoDecoder_RegisterCallback(OH_AVCodec *codec, OH_AVCodecCallback callback, void *userData);
122 * @param codec Pointer to an OH_AVCodec instance
134 OH_AVErrCode OH_VideoDecoder_SetSurface(OH_AVCodec *codec, OHNativeWindow *window);
140 * @param codec Pointer to an OH_AVCodec instance
153 OH_AVErrCode OH_VideoDecoder_Configure(OH_AVCodec *codec, OH_AVFormat *format);
159 * @param codec Pointer to an OH_AVCodec instance
170 OH_AVErrCode OH_VideoDecoder_Prepare(OH_AVCodec *codec);
176 * @param codec Pointer to an OH_AVCodec instance
187 OH_AVErrCode OH_VideoDecoder_Start(OH_AVCodec *codec);
193 * @param codec Pointer to an OH_AVCodec instance
203 OH_AVErrCode OH_VideoDecoder_Stop(OH_AVCodec *codec);
210 * @param codec Pointer to an OH_AVCodec instance
220 OH_AVErrCode OH_VideoDecoder_Flush(OH_AVCodec *codec);
226 * @param codec Pointer to an OH_AVCodec instance
236 OH_AVErrCode OH_VideoDecoder_Reset(OH_AVCodec *codec);
243 * @param codec Pointer to an OH_AVCodec instance
248 OH_AVFormat *OH_VideoDecoder_GetOutputDescription(OH_AVCodec *codec);
254 * @param codec Pointer to an OH_AVCodec instance
265 OH_AVErrCode OH_VideoDecoder_SetParameter(OH_AVCodec *codec, OH_AVFormat *format);
275 * @param codec Pointer to an OH_AVCodec instance
290 OH_AVErrCode OH_VideoDecoder_PushInputData(OH_AVCodec *codec, uint32_t index, OH_AVCodecBufferAttr attr);
297 * @param codec Pointer to an OH_AVCodec instance
311 OH_AVErrCode OH_VideoDecoder_RenderOutputData(OH_AVCodec *codec, uint32_t index);
316 * @param codec Pointer to an OH_AVCodec instance
330 OH_AVErrCode OH_VideoDecoder_FreeOutputData(OH_AVCodec *codec, uint32_t index);
340 * @param codec Pointer to an OH_AVCodec instance
354 OH_AVErrCode OH_VideoDecoder_PushInputBuffer(OH_AVCodec *codec, uint32_t index);
361 * @param codec Pointer to an OH_AVCodec instance
373 OH_AVErrCode OH_VideoDecoder_RenderOutputBuffer(OH_AVCodec *codec, uint32_t index);
382 * 1. The buffer will not be returned to the codec until the timestamp has passed and the buffer is no longer used by
391 * @param codec Pointer to an OH_AVCodec instance
398 * {@link AV_ERR_NO_MEMORY}, the codec has already released.
405 OH_AVErrCode OH_VideoDecoder_RenderOutputBufferAtTime(OH_AVCodec *codec, uint32_t index, int64_t renderTimestampNs);
410 * @param codec Pointer to an OH_AVCodec instance
422 OH_AVErrCode OH_VideoDecoder_FreeOutputBuffer(OH_AVCodec *codec, uint32_t index);
425 * @brief Check whether the current codec instance is valid. It can be used fault recovery or app
428 * @param codec Pointer to an OH_AVCodec instance
429 * @param isValid Output parameter. A pointer to a boolean instance, it is true if the codec instance is valid,
430 * false if the codec instance is invalid
439 OH_AVErrCode OH_VideoDecoder_IsValid(OH_AVCodec *codec, bool *isValid);
445 * @param codec Pointer to an OH_AVCodec instance
449 * {@link AV_ERR_OPERATE_NOT_PERMIT} 2 - If the codec service or the media key session
452 * {@link AV_ERR_INVALID_VAL} 3 - If the codec instance is nullptr or invalid,
456 OH_AVErrCode OH_VideoDecoder_SetDecryptionConfig(OH_AVCodec *codec, MediaKeySession *mediaKeySession,