Home
last modified time | relevance | path

Searched refs:iFrameInterval (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/services/codec/server/
H A Dcodec_param_checker.cpp421 int32_t iFrameInterval; in IFrameIntervalChecker() local
422 bool iFrameIntervalExist = format.GetIntValue(Tag::VIDEO_I_FRAME_INTERVAL, iFrameInterval); in IFrameIntervalChecker()
423 PrintParam(iFrameIntervalExist, Tag::VIDEO_I_FRAME_INTERVAL, iFrameInterval); in IFrameIntervalChecker()
438 int32_t iFrameInterval; in TemporalGopSizeChecker() local
441 bool iFrameIntervalExist = format.GetIntValue(Tag::VIDEO_I_FRAME_INTERVAL, iFrameInterval); in TemporalGopSizeChecker()
442 CHECK_AND_RETURN_RET_LOG(!(iFrameIntervalExist && iFrameInterval == 0), AVCS_ERR_INVALID_VAL, in TemporalGopSizeChecker()
450 iFrameInterval = DEFAULT_I_FRAME_INTERVAL; in TemporalGopSizeChecker()
453 …gopSize = iFrameInterval < 0 ? INT32_MAX : static_cast<int32_t>(frameRate * iFrameInterval / 1000)… in TemporalGopSizeChecker()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhencoder.cpp581 int32_t iFrameInterval; in SetupAVCEncoderParameters() local
583 SetAvcFields(avcType, iFrameInterval, frameRate.value()); in SetupAVCEncoderParameters()
604 void HEncoder::SetAvcFields(OMX_VIDEO_PARAM_AVCTYPE &avcType, int32_t iFrameInterval, double frameR… in SetAvcFields() argument
607 iFrameInterval, frameRate, avcType.eProfile, avcType.eLevel); in SetAvcFields()
613 avcType.nPFrames = SetPFramesSpacing(iFrameInterval, frameRate, avcType.nBFrames); in SetAvcFields()
629 avcType.nPFrames = SetPFramesSpacing(iFrameInterval, frameRate, avcType.nBFrames); in SetAvcFields()
661 int32_t iFrameInterval; in SetupHEVCEncoderParameters() local
663 if (iFrameInterval < 0) { // IPPPP... in SetupHEVCEncoderParameters()
665 } else if (iFrameInterval == 0) { // all intra in SetupHEVCEncoderParameters()
668 hevcType.keyFrameInterval = iFrameInterval * frameRate.value() / TIME_RATIO_S_TO_MS; in SetupHEVCEncoderParameters()
[all …]
H A Dhencoder.h60 void SetAvcFields(OMX_VIDEO_PARAM_AVCTYPE& avcType, int32_t iFrameInterval, double frameRate);
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/common/include/
H A Dsample_info.h141 int32_t iFrameInterval = 2'000; member
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dcommand_parser.cpp240 opt.iFrameInterval = stol(optarg); in Parse()
456 if (iFrameInterval.has_value()) { in Print()
457 TLOGI("iFrameInterval %d", iFrameInterval.value()); in Print()
H A Dcommand_parser.h116 std::optional<int32_t> iFrameInterval; member
H A Dtester_capi.cpp239 if (opt_.iFrameInterval.has_value()) { in ConfigureEncoder()
240 OH_AVFormat_SetIntValue(fmt.get(), OH_MD_KEY_I_FRAME_INTERVAL, opt_.iFrameInterval.value()); in ConfigureEncoder()
H A Dtester_codecbase.cpp195 if (opt_.iFrameInterval.has_value()) { in ConfigureEncoder()
196 fmt.PutIntValue(MediaDescriptionKey::MD_KEY_I_FRAME_INTERVAL, opt_.iFrameInterval.value()); in ConfigureEncoder()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_encoder/
H A Dvideo_encoder.cpp130 OH_AVFormat_SetIntValue(format.get(), OH_MD_KEY_I_FRAME_INTERVAL, sampleInfo.iFrameInterval); in Configure()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/helper/
H A Darg_parser.cpp258 info.iFrameInterval = std::stol(value); in SetIFrameInterval()
/ohos5.0/docs/zh-cn/application-dev/media/avcodec/
H A Dvideo-encoding.md360 int32_t iFrameInterval = 1000;
376 OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, iFrameInterval);
/ohos5.0/docs/en/application-dev/media/avcodec/
H A Dvideo-encoding.md361 int32_t iFrameInterval = 1000;
377 OH_AVFormat_SetIntValue(format, OH_MD_KEY_I_FRAME_INTERVAL, iFrameInterval);