/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/aac/ |
H A D | ffmpeg_aac_encoder_plugin.cpp | 363 if (fifoSize >= avCodecContext_->frame_size) { in SendOutputBuffer() 517 MEDIA_LOG_I("frame size: %{public}d", avCodecContext_->frame_size); in OpenContext() 519 …int32_t destSamplesPerFrame = (avCodecContext_->frame_size > (avCodecContext_->sample_rate / FRAME… in OpenContext() 520 avCodecContext_->frame_size : (avCodecContext_->sample_rate / FRAMES_PER_SECOND); in OpenContext() 635 cachedFrame_->nb_samples = avCodecContext_->frame_size; in InitFrame() 696 if (fifoSize < avCodecContext_->frame_size) { in SendFrameToFfmpeg() 700 cachedFrame_->nb_samples = avCodecContext_->frame_size; in SendFrameToFfmpeg() 708 …audio_fifo_read(fifo_, reinterpret_cast<void **>(cachedFrame_->data), avCodecContext_->frame_size); in SendFrameToFfmpeg() 745 …inputBuffer->flag_ & BUFFER_FLAG_EOS) && cachedFrame_->nb_samples != avCodecContext_->frame_size) { in PcmFillFrame() 748 cachedFrame_->nb_samples, avCodecContext_->frame_size); in PcmFillFrame() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/encoder/ |
H A D | audio_ffmpeg_aac_encoder_plugin.cpp | 183 …mat_.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLES_PER_FRAME, avCodecContext_->frame_size); in SetFormat() 345 if (avCodecContext_->frame_size <= 0) { in OpenContext() 356 .destSamplesPerFrame = avCodecContext_->frame_size, in OpenContext() 384 cachedFrame_->nb_samples = avCodecContext_->frame_size; in InitFrame() 463 if (cachedFrame_->nb_samples > avCodecContext_->frame_size) { in PcmFillFrame() 465 cachedFrame_->nb_samples, avCodecContext_->frame_size); in PcmFillFrame() 468 if (!inputBuffer->CheckIsEos() && cachedFrame_->nb_samples != avCodecContext_->frame_size) { in PcmFillFrame() 470 cachedFrame_->nb_samples, avCodecContext_->frame_size); in PcmFillFrame()
|
H A D | audio_ffmpeg_encoder_plugin.cpp | 59 auto frameSize = avCodecContext_->frame_size; in PcmFillFrame() 270 if (avCodecContext_->frame_size <= 0) { in OpenContext() 312 cachedFrame_->nb_samples = avCodecContext_->frame_size; in InitFrame()
|
H A D | audio_ffmpeg_flac_encoder_plugin.cpp | 176 format_.PutIntValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLES_PER_FRAME, context->frame_size); in SetFormat()
|
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestFFmpegDemuxer.cpp | 50 avCodecContextPtr->frame_size = frameSize; in propagateFrameSize() 51 avStream.codecpar->frame_size = frameSize; in propagateFrameSize()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/lite_aac_decoder/ |
H A D | aac_wrapper.h | 21 int frame_size; member
|
H A D | lite_aac_decoder_plugin.cpp | 310 unsigned int packet_length = static_cast<unsigned int>(aacInfo_->frame_size) * in AudioDecoderAACMp4Process()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/ |
H A D | audio_ffmpeg_encoder_plugin.cpp | 268 …FALSE_RETURN_V_MSG_E(avCodecContext_->frame_size > 0, Status::ERROR_UNKNOWN, "frame_size unknown"); in Start() 270 avCodecContext_->frame_size, srcFmt_, 1); in Start() 279 static_cast<uint32_t>(avCodecContext_->frame_size), in Start() 285 SetParameter(Tag::AUDIO_SAMPLE_PER_FRAME, static_cast<uint32_t>(avCodecContext_->frame_size)); in Start()
|
H A D | ffmpeg_au_enc_config.cpp | 90 outVal = static_cast<uint32_t>(codecContext.frame_size); in GetAudioCommonAttr()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/ |
H A D | ffmpeg_base_encoder.cpp | 83 auto frameSize = avCodecContext_->frame_size; in PcmFillFrame() 308 if (avCodecContext_->frame_size <= 0) { in OpenContext() 349 cachedFrame_->nb_samples = avCodecContext_->frame_size; in InitFrame()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/utils/exif/ |
H A D | exif_utils.h | 28 int32_t frame_size; member
|
H A D | exif_utils.cpp | 282 int32_t dataBufferSize = info.frame_size; in AddCustomExifInfo()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_track_meta.cpp | 125 if (!IsPcmStream(avStream) && avCodecContext->frame_size != 0) { in ConvertCommonAudioStreamToMetaInfo() 126 samplesPerFrame = static_cast<uint32_t>(avCodecContext->frame_size); in ConvertCommonAudioStreamToMetaInfo()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/ |
H A D | exif_node.cpp | 69 exifInfo.frame_size = info.size; in DeliverBuffer()
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | media_audio_encoder.cpp | 389 avFrame_->nb_samples = audioCodecContext_->frame_size; in InitFrame() 547 size = static_cast<size_t>(audioCodecContext_->frame_size in PcmDataSize()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/ |
H A D | ffmpeg_base_decoder.cpp | 348 AVCODEC_LOGI("frameSize :%{public}" PRId32, avCodecContext_->frame_size); in InitResample()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.cpp | 168 stream->codecpar->frame_size = ui2iFunc(perFrame); in SetParameterOfAuTrack()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_format_helper.cpp | 678 int frameSize = avStream.codecpar->frame_size; in ParseAudioTrackInfo()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.cpp | 638 st->codecpar->frame_size = frameSize; in AddAudioTrack()
|
/ohos5.0/docs/zh-cn/device-dev/porting/ |
H A D | porting-dayu200-on_standard-demo.md | 1673 buf_size = ((MpiEncTestData *)halCtx_)->frame_size;
|
/ohos5.0/docs/en/device-dev/porting/ |
H A D | porting-dayu200-on_standard-demo.md | 1686 buf_size = ((MpiEncTestData *)halCtx_)->frame_size;
|