Home
last modified time | relevance | path

Searched refs:decoded_frames (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/media/base/
Daudio_discard_helper.cc99 const size_t decoded_frames = decoded_buffer->frame_count(); in ProcessBuffers() local
100 const size_t frames_to_discard = std::min(discard_frames_, decoded_frames); in ProcessBuffers()
104 << decoded_frames << " frames."; in ProcessBuffers()
107 if (frames_to_discard == decoded_frames) { in ProcessBuffers()
126 const size_t decoded_frames = decoded_buffer->frame_count(); in ProcessBuffers() local
127 DCHECK_LT(delayed_end_discard_, decoded_frames); in ProcessBuffers()
130 << decoded_frames << " frames starting at " << discard_index; in ProcessBuffers()
139 const size_t decoded_frames = decoded_buffer->frame_count(); in ProcessBuffers() local
149 : decoded_frames) in ProcessBuffers()
168 CHECK_LT(discard_start, decoded_frames); in ProcessBuffers()
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test/
Dstats.cc114 std::vector<FrameStatistic> decoded_frames; in PrintSummary() local
118 decoded_frames.push_back(*it); in PrintSummary()
121 if (decoded_frames.size() == 0) { in PrintSummary()
124 frame = std::min_element(decoded_frames.begin(), in PrintSummary()
125 decoded_frames.end(), LessForDecodeTime); in PrintSummary()
129 frame = std::max_element(decoded_frames.begin(), in PrintSummary()
130 decoded_frames.end(), LessForDecodeTime); in PrintSummary()
135 static_cast<int>(total_decoding_time_in_us / decoded_frames.size())); in PrintSummary()
137 static_cast<int>(stats_.size() - decoded_frames.size())); in PrintSummary()
/external/chromium_org/content/renderer/media/android/
Daudio_decoder_android.cc415 size_t decoded_frames = 0; in CopyPcmDataToBus() local
429 if (decoded_frames >= number_of_frames) in CopyPcmDataToBus()
432 destination_bus->channelData(current_sample_in_frame)[decoded_frames] = in CopyPcmDataToBus()
438 ++decoded_frames; in CopyPcmDataToBus()
445 if (decoded_frames < number_of_frames) in CopyPcmDataToBus()
446 destination_bus->resizeSmaller(decoded_frames); in CopyPcmDataToBus()
477 size_t decoded_frames = 0; in BufferAndCopyPcmDataToBus() local
486 destination_bus->channelData(k)[decoded_frames] = in BufferAndCopyPcmDataToBus()
489 ++decoded_frames; in BufferAndCopyPcmDataToBus()
494 if (decoded_frames < number_of_frames) in BufferAndCopyPcmDataToBus()
[all …]
/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dffmpeg_cdm_audio_decoder.cc226 cdm::AudioFrames* decoded_frames) { in DecodeBuffer() argument
266 decoded_frames->SetFormat(cdm_format); in DecodeBuffer()
355 decoded_frames->SetFrameBuffer(host_->Allocate(buffer_size)); in DecodeBuffer()
356 if (!decoded_frames->FrameBuffer()) { in DecodeBuffer()
360 decoded_frames->FrameBuffer()->SetSize(buffer_size); in DecodeBuffer()
361 uint8_t* output_buffer = decoded_frames->FrameBuffer()->Data(); in DecodeBuffer()
392 decoded_frames->SetFrameBuffer( in DecodeBuffer()
394 if (!decoded_frames->FrameBuffer()) { in DecodeBuffer()
398 memcpy(decoded_frames->FrameBuffer()->Data(), in DecodeBuffer()
401 decoded_frames->FrameBuffer()->SetSize(serialized_audio_frames_.size()); in DecodeBuffer()
Dffmpeg_cdm_audio_decoder.h51 cdm::AudioFrames* decoded_frames);
/external/chromium_org/media/filters/
Dffmpeg_audio_decoder.cc320 const int decoded_frames = frame_decoded ? output->frame_count() : 0; in FFmpegDecode() local
321 if (IsEndOfStream(result, decoded_frames, buffer)) { in FFmpegDecode()
/external/chromium_org/third_party/libvpx/source/libvpx/test/
Dsvc_test.cc204 int decoded_frames = 0; in DecodeNFrames() local
217 ++decoded_frames; in DecodeNFrames()
224 EXPECT_EQ(decoded_frames, n); in DecodeNFrames()