Home
last modified time | relevance | path

Searched refs:maxInputSize (Results 1 - 19 of 19) sorted by relevance

/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/
H A Dimage_decoder.cpp78 int32_t maxInputSize = 0; in SetupPort() local
79 (void)format.GetValue(ImageCodecDescriptionKey::MAX_INPUT_SIZE, maxInputSize); in SetupPort()
80 if (maxInputSize > 0) { in SetupPort()
81 inputPortInfo.inputBufSize = static_cast<uint32_t>(maxInputSize); in SetupPort()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/flac/
H A Dffmpeg_flac_encoder_plugin.cpp173 auto maxInputSize = GetInputBufferSize(); in GetParameter() local
175 audioParameter_.SetData(Tag::AUDIO_MAX_INPUT_SIZE, maxInputSize); in GetParameter()
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dfunc_test.cpp777 vDecSample->maxInputSize = -1; in HWTEST_F()
796 vDecSample->maxInputSize = INT_MAX; in HWTEST_F()
815 vDecSample->maxInputSize = MAX_NALU_LEN; in HWTEST_F()
833 vDecSample->maxInputSize = -1; in HWTEST_F()
852 vDecSample->maxInputSize = INT_MAX; in HWTEST_F()
871 vDecSample->maxInputSize = MAX_NALU_LEN; in HWTEST_F()
H A Dvideodec_ndk_sample.cpp240 if (maxInputSize != 0) { in ConfigureVideoDecoder()
241 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, maxInputSize); in ConfigureVideoDecoder()
569 if ((maxInputSize < 0) && (size < 0)) { in CheckAndReturnBufferSize()
571 } else if ((maxInputSize > 0) && (size > SYS_MAX_INPUT_SIZE)) { in CheckAndReturnBufferSize()
H A Dvideodec_api11_sample.cpp306 if (maxInputSize > 0) { in ConfigureVideoDecoder()
307 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, maxInputSize); in ConfigureVideoDecoder()
682 if (maxInputSize > 0 && (size > maxInputSize)) { in CheckAndReturnBufferSize()
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/include/
H A Dvideodec_sample.h128 int32_t maxInputSize = 0; member in OHOS::Media::VDecNdkSample
H A Dvideodec_api11_sample.h146 int32_t maxInputSize = 0; member in OHOS::Media::VDecAPI11Sample
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/include/
H A Dvideodec_api11_sample.h148 int32_t maxInputSize = 0; member in OHOS::Media::VDecAPI11Sample
H A Dvideodec_sample.h135 int32_t maxInputSize = 0; member in OHOS::Media::VDecNdkSample
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/include/
H A Dvideodec_api11_sample.h141 int32_t maxInputSize = 0; member in OHOS::Media::VDecAPI11Sample
H A Dvideodec_sample.h67 int32_t maxInputSize = 0; member in OHOS::Media::VDecNdkSample
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/
H A Dvideodec_ndk_sample.cpp304 if (maxInputSize != 0) { in ConfigureVideoDecoder()
305 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, maxInputSize); in ConfigureVideoDecoder()
630 if ((maxInputSize < 0) && (size < 0)) { in CheckAndReturnBufferSize()
632 } else if ((maxInputSize > 0) && (size > SYS_MAX_INPUT_SIZE)) { in CheckAndReturnBufferSize()
H A Dvideodec_api11_sample.cpp330 if (maxInputSize != 0) { in ConfigureVideoDecoder()
331 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, maxInputSize); in ConfigureVideoDecoder()
692 if ((maxInputSize < 0) && (size < 0)) { in CheckAndReturnBufferSize()
694 } else if ((maxInputSize > 0) && (size > SYS_MAX_INPUT_SIZE)) { in CheckAndReturnBufferSize()
H A Dfunc_test.cpp387 vDecSample->maxInputSize = 1000; in HWTEST_F()
409 vDecSample->maxInputSize = 1000; in HWTEST_F()
1151 vDecSample->maxInputSize = 1000; in HWTEST_F()
1173 vDecSample->maxInputSize = 1000; in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dvideodec_api11_sample.cpp220 if (maxInputSize > 0) { in ConfigureVideoDecoder()
221 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, maxInputSize); in ConfigureVideoDecoder()
559 if (maxInputSize > 0 && (size > maxInputSize)) { in CheckAndReturnBufferSize()
H A Dvideodec_ndk_sample.cpp171 if (maxInputSize > 0) { in ConfigureVideoDecoder()
172 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, maxInputSize); in ConfigureVideoDecoder()
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhdecoder.cpp103 int32_t maxInputSize = 0; in SetupPort() local
104 if (format.GetIntValue(MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE, maxInputSize)) { in SetupPort()
105 if (maxInputSize > 0) { in SetupPort()
106 inputPortInfo.inputBufSize = static_cast<uint32_t>(maxInputSize); in SetupPort()
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/
H A Dhevc_decoder.cpp625 int32_t maxInputSize = static_cast<int32_t>(static_cast<UINT32>(stride * height_ * VIDEO_PIX_DEPTH_YUV) >> 1); in GetOutputFormat() local
626 format_.PutIntValue(MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE, maxInputSize); in GetOutputFormat()
/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/
H A Dfcodec.cpp609 int32_t maxInputSize = static_cast<int32_t>((stride * height_ * VIDEO_PIX_DEPTH_YUV) / UV_SCALE_FACTOR); in GetOutputFormat() local
610 format_.PutIntValue(MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE, maxInputSize); in GetOutputFormat()

Completed in 23 milliseconds