Home
last modified time | relevance | path

Searched refs:OnNewOutputBuffer (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/media/avcodec/
H A Dvideo-encoding-temporal-scalability.md147 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
250 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
262 cb.onNewOutputBuffer = OnNewOutputBuffer;
285 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
296 cb.onNewOutputBuffer = OnNewOutputBuffer;
H A Dvideo-decoding.md278 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
286 OH_AVCodecCallback cb = {&OnError, &OnStreamChanged, &OnNeedInputBuffer, &OnNewOutputBuffer};
545 - index:回调函数OnNewOutputBuffer传入的参数,与buffer唯一对应的标识。
546 …- buffer:回调函数OnNewOutputBuffer传入的参数,Surface模式调用者无法通过[OH_AVBuffer_GetAddr](../../reference/apis-avc…
803 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
826 OH_AVCodecCallback cb = {&OnError, &OnStreamChanged, &OnNeedInputBuffer, &OnNewOutputBuffer};
1025 - index:回调函数OnNewOutputBuffer传入的参数,与buffer唯一对应的标识。
1026 …- buffer: 回调函数OnNewOutputBuffer传入的参数,可以通过[OH_AVBuffer_GetAddr](../../reference/apis-avcodec-kit/_c…
H A Dvideo-encoding.md288 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
300 OH_AVCodecCallback cb = {&OnError, &OnStreamChanged, &OnNeedInputBuffer, &OnNewOutputBuffer};
495 - index:回调函数OnNewOutputBuffer传入的参数,与buffer唯一对应的标识。
496 …- buffer:回调函数OnNewOutputBuffer传入的参数,可以通过[OH_AVBuffer_GetAddr](../../reference/apis-avcodec-kit/_co…
706 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
717 OH_AVCodecCallback cb = {&OnError, &OnStreamChanged, &OnNeedInputBuffer, &OnNewOutputBuffer};
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_codec/
H A Dcodec_callback.h31 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
45 CodecCallback::OnNewOutputBuffer
H A Dcodec_callback.cpp82 void CodecCallback::OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void … in OnNewOutputBuffer() function in OHOS::MediaAVCodec::Sample::CodecCallback
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/detail_enhancer_video_ndk/
H A Ddetail_enhancer_video_ndk_unit_test.cpp125 void OnNewOutputBuffer(OH_VideoProcessing* instance, uint32_t index, void* userData) in OnNewOutputBuffer() function
762 ret = OH_VideoProcessingCallback_BindOnNewOutputBuffer(callback, OnNewOutputBuffer);
784 ret = callback->GetObj()->BindOnNewOutputBuffer(OnNewOutputBuffer);
850 OH_VideoProcessingCallback_BindOnNewOutputBuffer(callback, OnNewOutputBuffer);
870 callback->GetObj()->BindOnNewOutputBuffer(OnNewOutputBuffer);
892 ret = OH_VideoProcessingCallback_BindOnNewOutputBuffer(callback, OnNewOutputBuffer);
910 ret = OH_VideoProcessingCallback_BindOnNewOutputBuffer(callback, OnNewOutputBuffer);
932 OH_VideoProcessingCallback_BindOnNewOutputBuffer(callback, OnNewOutputBuffer);
971 callback->GetObj()->BindOnNewOutputBuffer(OnNewOutputBuffer);
1178 callback->OnNewOutputBuffer(instance, 0, nullptr);
[all …]
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/common/
H A Dsample_callback.h29 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
/ohos5.0/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/video_processing/include/
H A Dvideo_processing_callback_native.h49 void OnNewOutputBuffer(OH_VideoProcessing* instance, uint32_t index, void* userData) const;
H A Dvideo_processing_native.h101 void OnNewOutputBuffer(uint32_t index);
/ohos5.0/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/video_processing/
H A Dvideo_processing_native.cpp300 void VideoProcessingNative::OnNewOutputBuffer(uint32_t index) in OnNewOutputBuffer() function in VideoProcessingNative
308 callback->OnNewOutputBuffer(context_, index, userData); in OnNewOutputBuffer()
477 OnNewOutputBuffer(dstBufferInfo.buffer->GetSeqNum()); in ProcessBuffers()
H A Dvideo_processing_callback_native.cpp98 void VideoProcessingCallbackNative::OnNewOutputBuffer(OH_VideoProcessing* instance, uint32_t index, in OnNewOutputBuffer() function in VideoProcessingCallbackNative
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Dsample_callback.cpp49 void SampleCallback::OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void… in OnNewOutputBuffer() function in OHOS::CameraStandard::SampleCallback
H A Dvideo_encoder.cpp325 SampleCallback::OnNeedInputBuffer, SampleCallback::OnNewOutputBuffer}, codecUserData); in SetCallback()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtester_capi.h75 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
H A Dtester_capi.cpp71 void TesterCapiNew::OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void … in OnNewOutputBuffer() function in OHOS::MediaAVCodec::TesterCapiNew
126 &TesterCapiNew::OnNewOutputBuffer, in SetCallback()
/ohos5.0/docs/en/application-dev/media/avcodec/
H A Dvideo-encoding-temporal-scalability.md149 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
252 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
264 cb.onNewOutputBuffer = OnNewOutputBuffer;
287 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
298 cb.onNewOutputBuffer = OnNewOutputBuffer;
H A Dvideo-decoding.md279 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
287 OH_AVCodecCallback cb = {&OnError, &OnStreamChanged, &OnNeedInputBuffer, &OnNewOutputBuffer};
545 …- **index**: parameter passed by the callback function **OnNewOutputBuffer**, which uniquely corre…
546 …- **buffer**: parameter passed by the callback function **OnNewOutputBuffer**. In surface mode, yo…
806 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
829 OH_AVCodecCallback cb = {&OnError, &OnStreamChanged, &OnNeedInputBuffer, &OnNewOutputBuffer};
1025 …- **index**: parameter passed by the callback function **OnNewOutputBuffer**, which uniquely corre…
1026 …- buffer: parameter passed by the callback function **OnNewOutputBuffer**. You can obtain the virt…
H A Dvideo-encoding.md289 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
301 OH_AVCodecCallback cb = {&OnError, &OnStreamChanged, &OnNeedInputBuffer, &OnNewOutputBuffer};
497 …- **index**: parameter passed by the callback function **OnNewOutputBuffer**, which uniquely corre…
498 …- **buffer**: parameter passed by the callback function **OnNewOutputBuffer**. You can obtain the …
707 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
718 OH_AVCodecCallback cb = {&OnError, &OnStreamChanged, &OnNeedInputBuffer, &OnNewOutputBuffer};
/ohos5.0/docs/zh-cn/application-dev/reference/apis-avcodec-kit/
H A D_core.md574 | Surface模式 | OnNewOutputBuffer输出 | √ |
576 | Buffer模式 | OnNewOutputBuffer输出 | √ |
582 | Surface模式 | OnNewOutputBuffer输出 | × |
584 | Buffer模式 | OnNewOutputBuffer输出 | √ |
H A D_video_encoder.md769 Surface模式下,在surface中有正确的输入后,每完成一帧编码会触发OnNewOutputBuffer
771 Buffer模式下,编码器会立即触发输入回调,调用者每完成一次输入,编码器执行编码,每完成一帧编码会触发OnNewOutputBuffer
/ohos5.0/docs/en/application-dev/reference/apis-avcodec-kit/
H A D_core.md574 | Surface| OnNewOutputBuffer output | Supported|
576 | Buffer | OnNewOutputBuffer output | Supported|
582 | Surface| OnNewOutputBuffer output | Not supported|
584 | Buffer | OnNewOutputBuffer output | Supported|
H A D_video_encoder.md808 In surface mode, when there is a correct input on the surface, **OnNewOutputBuffer** is triggered e…
810 …ime the caller completes an input, the encoder performs encoding. **OnNewOutputBuffer** is trigger…