/ohos5.0/docs/zh-cn/application-dev/media/avcodec/ |
H A D | video-encoding-temporal-scalability.md | 147 …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 D | video-decoding.md | 278 …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 D | video-encoding.md | 288 …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 D | codec_callback.h | 31 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa… 45 CodecCallback::OnNewOutputBuffer
|
H A D | codec_callback.cpp | 82 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 D | detail_enhancer_video_ndk_unit_test.cpp | 125 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 D | sample_callback.h | 29 …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 D | video_processing_callback_native.h | 49 void OnNewOutputBuffer(OH_VideoProcessing* instance, uint32_t index, void* userData) const;
|
H A D | video_processing_native.h | 101 void OnNewOutputBuffer(uint32_t index);
|
/ohos5.0/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/video_processing/ |
H A D | video_processing_native.cpp | 300 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 D | video_processing_callback_native.cpp | 98 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 D | sample_callback.cpp | 49 void SampleCallback::OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void… in OnNewOutputBuffer() function in OHOS::CameraStandard::SampleCallback
|
H A D | video_encoder.cpp | 325 SampleCallback::OnNeedInputBuffer, SampleCallback::OnNewOutputBuffer}, codecUserData); in SetCallback()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | tester_capi.h | 75 …static void OnNewOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userDa…
|
H A D | tester_capi.cpp | 71 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 D | video-encoding-temporal-scalability.md | 149 …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 D | video-decoding.md | 279 …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 D | video-encoding.md | 289 …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.md | 574 | Surface模式 | OnNewOutputBuffer输出 | √ | 576 | Buffer模式 | OnNewOutputBuffer输出 | √ | 582 | Surface模式 | OnNewOutputBuffer输出 | × | 584 | Buffer模式 | OnNewOutputBuffer输出 | √ |
|
H A D | _video_encoder.md | 769 Surface模式下,在surface中有正确的输入后,每完成一帧编码会触发OnNewOutputBuffer。 771 Buffer模式下,编码器会立即触发输入回调,调用者每完成一次输入,编码器执行编码,每完成一帧编码会触发OnNewOutputBuffer。
|
/ohos5.0/docs/en/application-dev/reference/apis-avcodec-kit/ |
H A D | _core.md | 574 | 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.md | 808 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…
|