Home
last modified time | relevance | path

Searched refs:maxInputSize (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/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()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dfunc_test.cpp770 vDecSample->maxInputSize = -1;
789 vDecSample->maxInputSize = INT_MAX;
808 vDecSample->maxInputSize = MAX_NALU_LEN;
826 vDecSample->maxInputSize = -1;
845 vDecSample->maxInputSize = INT_MAX;
864 vDecSample->maxInputSize = MAX_NALU_LEN;
H A Dvideodec_ndk_sample.cpp231 if (maxInputSize != 0) { in ConfigureVideoDecoder()
232 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_MAX_INPUT_SIZE, maxInputSize); in ConfigureVideoDecoder()
557 if ((maxInputSize < 0) && (size < 0)) { in CheckAndReturnBufferSize()
559 } 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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/include/
H A Dvideodec_sample.h67 int32_t maxInputSize = 0; variable
H A Dvideodec_api11_sample.h141 int32_t maxInputSize = 0; variable
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/include/
H A Dvideodec_sample.h128 int32_t maxInputSize = 0; variable
H A Dvideodec_api11_sample.h146 int32_t maxInputSize = 0; variable
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/include/
H A Dvideodec_sample.h135 int32_t maxInputSize = 0; variable
H A Dvideodec_api11_sample.h148 int32_t maxInputSize = 0; variable
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhdecoder.cpp92 int32_t maxInputSize = 0; in SetupPort() local
93 if (format.GetIntValue(MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE, maxInputSize)) { in SetupPort()
94 if (maxInputSize > 0) { in SetupPort()
95 inputPortInfo.inputBufSize = static_cast<uint32_t>(maxInputSize); in SetupPort()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/
H A Dfcodec.cpp607 …int32_t maxInputSize = static_cast<int32_t>((stride * height_ * VIDEO_PIX_DEPTH_YUV) / UV_SCALE_FA… in GetOutputFormat() local
608 format_.PutIntValue(MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE, maxInputSize); in GetOutputFormat()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/
H A Dhevc_decoder.cpp623 …int32_t maxInputSize = static_cast<int32_t>(static_cast<UINT32>(stride * height_ * VIDEO_PIX_DEPTH… in GetOutputFormat() local
624 format_.PutIntValue(MediaDescriptionKey::MD_KEY_MAX_INPUT_SIZE, maxInputSize); in GetOutputFormat()