Searched refs:sub_frame (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/modules/audio_processing/agc2/ |
D | fixed_digital_level_estimator.cc | 55 for (size_t sub_frame = 0; sub_frame < kSubFramesInFrame; ++sub_frame) { in ComputeLevel() local 58 envelope[sub_frame] = in ComputeLevel() 59 std::max(envelope[sub_frame], in ComputeLevel() 60 std::abs(channel[sub_frame * samples_in_sub_frame_ + in ComputeLevel() 69 for (size_t sub_frame = 0; sub_frame < kSubFramesInFrame - 1; ++sub_frame) { in ComputeLevel() local 70 if (envelope[sub_frame] < envelope[sub_frame + 1]) { in ComputeLevel() 71 envelope[sub_frame] = envelope[sub_frame + 1]; in ComputeLevel() 76 for (size_t sub_frame = 0; sub_frame < kSubFramesInFrame; ++sub_frame) { in ComputeLevel() local 77 const float envelope_value = envelope[sub_frame]; in ComputeLevel() 79 envelope[sub_frame] = envelope_value * (1 - kAttackFilterConstant) + in ComputeLevel() [all …]
|
/external/webrtc/modules/audio_processing/aec3/ |
D | frame_blocker.cc | 35 const std::vector<std::vector<rtc::ArrayView<float>>>& sub_frame, in InsertSubFrameAndExtractBlock() argument 39 RTC_DCHECK_EQ(num_bands_, sub_frame.size()); in InsertSubFrameAndExtractBlock() 42 RTC_DCHECK_EQ(num_channels_, sub_frame[band].size()); in InsertSubFrameAndExtractBlock() 46 RTC_DCHECK_EQ(kSubFrameLength, sub_frame[band][channel].size()); in InsertSubFrameAndExtractBlock() 54 sub_frame[band][channel].begin(), in InsertSubFrameAndExtractBlock() 55 sub_frame[band][channel].begin() + samples_to_block); in InsertSubFrameAndExtractBlock() 59 sub_frame[band][channel].begin() + samples_to_block, in InsertSubFrameAndExtractBlock() 60 sub_frame[band][channel].end()); in InsertSubFrameAndExtractBlock()
|
D | block_framer.cc | 55 std::vector<std::vector<rtc::ArrayView<float>>>* sub_frame) { in InsertBlockAndExtractSubFrame() argument 56 RTC_DCHECK(sub_frame); in InsertBlockAndExtractSubFrame() 58 RTC_DCHECK_EQ(num_bands_, sub_frame->size()); in InsertBlockAndExtractSubFrame() 61 RTC_DCHECK_EQ(num_channels_, (*sub_frame)[0].size()); in InsertBlockAndExtractSubFrame() 67 RTC_DCHECK_EQ(kSubFrameLength, (*sub_frame)[band][channel].size()); in InsertBlockAndExtractSubFrame() 72 (*sub_frame)[band][channel].begin()); in InsertBlockAndExtractSubFrame() 76 (*sub_frame)[band][channel].begin() + buffer_[band][channel].size()); in InsertBlockAndExtractSubFrame()
|
D | frame_blocker_unittest.cc | 38 std::vector<std::vector<std::vector<float>>>* sub_frame) { in FillSubFrame() argument 39 for (size_t band = 0; band < sub_frame->size(); ++band) { in FillSubFrame() 40 for (size_t channel = 0; channel < (*sub_frame)[band].size(); ++channel) { in FillSubFrame() 41 for (size_t sample = 0; sample < (*sub_frame)[band][channel].size(); in FillSubFrame() 43 (*sub_frame)[band][channel][sample] = ComputeSampleValue( in FillSubFrame() 53 std::vector<std::vector<std::vector<float>>>* sub_frame, in FillSubFrameView() argument 55 FillSubFrame(sub_frame_counter, offset, sub_frame); in FillSubFrameView() 60 &(*sub_frame)[band][channel][0], (*sub_frame)[band][channel].size()); in FillSubFrameView() 441 std::vector<std::vector<std::vector<float>>> sub_frame( in TEST() local 445 sub_frame.size()); in TEST() [all …]
|
D | block_framer.h | 39 std::vector<std::vector<rtc::ArrayView<float>>>* sub_frame);
|
D | frame_blocker.h | 35 const std::vector<std::vector<rtc::ArrayView<float>>>& sub_frame,
|
D | block_framer_unittest.cc | 24 std::vector<std::vector<std::vector<float>>>* sub_frame, in SetupSubFrameView() argument 30 rtc::ArrayView<float>((*sub_frame)[band][channel].data(), in SetupSubFrameView() 31 (*sub_frame)[band][channel].size()); in SetupSubFrameView()
|
/external/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | pitch_filter.c | 112 int sub_frame; member 173 for (j = 0; j < parameters->sub_frame + 1; ++j) { in FilterSegment() 188 for (j = 0; j < parameters->sub_frame + 1; ++j) { in FilterSegment() 228 parameters->gain_mult[parameters->sub_frame] += 0.2; in Update() 229 if (parameters->gain_mult[parameters->sub_frame] > 1.0) { in Update() 230 parameters->gain_mult[parameters->sub_frame] = 1.0; in Update() 232 if (parameters->sub_frame > 0) { in Update() 233 parameters->gain_mult[parameters->sub_frame - 1] -= 0.2; in Update() 320 filter_parameters.sub_frame = m; in FilterFrame() 357 filter_parameters.sub_frame = PITCH_SUBFRAMES - 1; in FilterFrame()
|
/external/webp/src/mux/ |
D | anim_encode.c | 543 WebPPicture* const sub_frame) { in GetSubRect() argument 564 rect->width_, rect->height_, sub_frame); in GetSubRect() 787 static WebPEncodingError EncodeCandidate(WebPPicture* const sub_frame, in EncodeCandidate() argument 816 if (!EncodeFrame(&config, sub_frame, &candidate->mem_)) { in EncodeCandidate() 817 error_code = sub_frame->error_code; in EncodeCandidate()
|