Home
last modified time | relevance | path

Searched refs:frame_size_ (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc42 frame_size_(0), in AudioDecoderTest()
110 while (processed_samples + frame_size_ <= data_length_) { in EncodeDecodeTest()
111 size_t enc_len = EncodeFrame(&input_[processed_samples], frame_size_, in EncodeDecodeTest()
118 EXPECT_EQ(frame_size_ * channels_, dec_len); in EncodeDecodeTest()
120 processed_samples += frame_size_; in EncodeDecodeTest()
176 uint8_t* encoded_copy = encoded_ + 2 * frame_size_; in ReInitTest()
178 int16_t* output2 = decoded_ + frame_size_; in ReInitTest()
180 size_t enc_len = EncodeFrame(input_, frame_size_, encoded); in ReInitTest()
189 EXPECT_EQ(frame_size_ * channels_, dec_len); in ReInitTest()
193 EXPECT_EQ(frame_size_ * channels_, dec_len); in ReInitTest()
[all …]
/external/chromium_org/media/video/capture/
Dfile_video_capture_device.cc133 frame_size_(0), in FileVideoCaptureDevice()
192 frame_size_ = CalculateFrameSize(); in OnAllocateAndStart()
193 video_frame_.reset(new uint8[frame_size_]); in OnAllocateAndStart()
207 frame_size_ = 0; in OnStopAndDeAllocate()
217 frame_size_); in OnCaptureTask()
221 if (result != frame_size_) { in OnCaptureTask()
226 frame_size_), in OnCaptureTask()
227 frame_size_); in OnCaptureTask()
229 current_byte_index_ += frame_size_ + kY4MSimpleFrameDelimiterSize; in OnCaptureTask()
234 frame_size_, in OnCaptureTask()
Dfile_video_capture_device.h68 int frame_size_; variable
/external/chromium_org/content/browser/speech/endpointer/
Dendpointer.cc23 frame_size_(0) { in Endpointer()
26 frame_size_ = static_cast<int>(sample_rate / static_cast<float>(kFrameRate)); in Endpointer()
101 while (sample_index + frame_size_ <= num_samples) { in ProcessAudio()
105 frame_size_, in ProcessAudio()
107 sample_index += frame_size_; in ProcessAudio()
108 audio_frame_time_us_ += (frame_size_ * Time::kMicrosecondsPerSecond) / in ProcessAudio()
Dendpointer.h148 int32 frame_size_; variable
/external/chromium_org/content/renderer/media/
Drtc_video_renderer.cc25 frame_size_(kMinFrameSize, kMinFrameSize), in RTCVideoRenderer()
59 frame_size_.set_width(kMinFrameSize); in Stop()
60 frame_size_.set_height(kMinFrameSize); in Stop()
93 frame_size_ = frame->natural_size(); in OnVideoFrame()
111 media::VideoFrame::CreateBlackFrame(frame_size_); in RenderSignalingFrame()
Dmock_media_stream_video_sink.h34 gfx::Size frame_size() const { return frame_size_; } in frame_size()
50 gfx::Size frame_size_; variable
Dmock_media_stream_video_sink.cc37 frame_size_ = frame->natural_size(); in DeliverVideoFrame()
/external/chromium_org/third_party/webrtc/test/
Dframe_generator.cc60 frame_size_ = CalcBufferSize( in YuvFileGenerator()
62 frame_buffer_ = new uint8_t[frame_size_]; in YuvFileGenerator()
71 size_t count = fread(frame_buffer_, 1, frame_size_, file_); in NextFrame()
72 if (count < frame_size_) { in NextFrame()
99 size_t frame_size_; member in webrtc::test::__anonbe61a0d20111::YuvFileGenerator
/external/chromium_org/media/cast/video_sender/
Dfake_software_video_encoder.cc22 frame_size_(0) { in FakeSoftwareVideoEncoder()
47 values.SetInteger("size", frame_size_); in Encode()
50 std::max<size_t>(encoded_image->data.size(), frame_size_)); in Encode()
55 frame_size_ = new_bitrate / video_config_.max_frame_rate / 8; in UpdateRates()
Dfake_software_video_encoder.h32 int frame_size_; variable
/external/chromium_org/media/audio/
Daudio_low_latency_input_output_unittest.cc146 frame_size_ = (16 / 8) * channels_; in FullDuplexAudioSinkSource()
151 new media::SeekableBuffer(0, samples_per_packet_ * frame_size_)); in FullDuplexAudioSinkSource()
247 size = std::min(audio_bus->frames() * frame_size_, size); in OnMoreData()
250 source, size / frame_size_, frame_size_ / channels_); in OnMoreData()
252 return size / frame_size_; in OnMoreData()
264 return static_cast<int>((delay_bytes / frame_size_) * frames_to_ms_ + 0.5); in BytesToMilliseconds()
273 int frame_size_; member in media::FullDuplexAudioSinkSource
/external/chromium_org/cc/layers/
Ddelegated_frame_provider.cc19 frame_size_ = root_pass->output_rect.size(); in DelegatedFrameProvider()
20 DCHECK(!frame_size_.IsEmpty()); in DelegatedFrameProvider()
36 observers_.push_back(Observer(layer, gfx::RectF(frame_size_))); in AddObserver()
70 DCHECK_EQ(frame_size_.ToString(), root_pass->output_rect.size().ToString()) in SetFrameData()
Ddelegated_frame_provider.h49 gfx::Size frame_size() const { return frame_size_; } in frame_size()
68 gfx::Size frame_size_; variable
/external/chromium_org/remoting/codec/
Daudio_encoder_opus.cc46 frame_size_(0), in AudioEncoderOpus()
68 frame_size_ = sampling_rate_ * kFrameSizeMs / in InitEncoder()
88 frame_size_ + media::SincResampler::kDefaultRequestSize; in InitEncoder()
160 int samples_wanted = frame_size_ + prefetch_samples; in Encode()
189 samples_consumed = frame_size_; in Encode()
Daudio_encoder_opus.h44 int frame_size_; variable
/external/chromium_org/ppapi/examples/media_stream_video/
Dmedia_stream_video.cc110 pp::Size frame_size_; member in __anonee8c062b0111::MediaStreamVideoDemoInstance
393 int32_t width = frame_size_.width(); in CreateTextures()
394 int32_t height = frame_size_.height(); in CreateTextures()
436 if (size != frame_size_) { in OnGetFrame()
437 frame_size_ = size; in OnGetFrame()
443 int32_t width = frame_size_.width(); in OnGetFrame()
444 int32_t height = frame_size_.height(); in OnGetFrame()
/external/chromium_org/native_client_sdk/src/examples/api/media_stream_video/
Dmedia_stream_video.cc110 pp::Size frame_size_; member in __anonf59f6dd70111::MediaStreamVideoDemoInstance
393 int32_t width = frame_size_.width(); in CreateTextures()
394 int32_t height = frame_size_.height(); in CreateTextures()
436 if (size != frame_size_) { in OnGetFrame()
437 frame_size_ = size; in OnGetFrame()
443 int32_t width = frame_size_.width(); in OnGetFrame()
444 int32_t height = frame_size_.height(); in OnGetFrame()
/external/chromium_org/media/audio/win/
Daudio_low_latency_input_win.cc44 frame_size_(0), in WASAPIAudioInputStream()
70 frame_size_ = format_.nBlockAlign; in WASAPIAudioInputStream()
75 DVLOG(1) << "Number of bytes per audio frame : " << frame_size_; in WASAPIAudioInputStream()
357 2 * endpoint_buffer_size_frames_ * frame_size_, in Run()
358 2 * packet_size_frames_ * frame_size_); in Run()
403 size_t pos = buffer_frame_index * frame_size_; in Run()
404 size_t num_bytes = num_frames_to_read * frame_size_; in Run()
448 this, audio_bus_.get(), delay_frames * frame_size_, volume); in Run()
456 (buffer_frame_index - packet_size_frames_) * frame_size_); in Run()
/external/chromium_org/remoting/client/plugin/
Dmedia_source_video_renderer.cc27 const webrtc::DesktopSize& size() { return frame_size_; } in size()
42 webrtc::DesktopSize frame_size_; member in remoting::MediaSourceVideoRenderer::VideoWriter
54 : frame_size_(frame_size), in VideoWriter()
74 int width = frame_size_.width(); in VideoWriter()
81 int height = frame_size_.height(); in VideoWriter()
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/
Ddenoising.cc54 frame_size_ = 0; in Reset()
90 if (y_size != frame_size_) { in ProcessFrame()
97 frame_size_ = y_size; in ProcessFrame()
Ddenoising.h35 uint32_t frame_size_; // Size (# of pixels) of frame. variable
/external/chromium_org/v8/src/
Ddeoptimizer.h463 ASSERT(static_cast<uint32_t>(frame_size_) == frame_size_); in GetFrameSize()
464 return static_cast<uint32_t>(frame_size_); in GetFrameSize()
564 return OFFSET_OF(FrameDescription, frame_size_); in frame_size_offset()
589 uintptr_t frame_size_; // Number of bytes. variable
610 ASSERT(offset < frame_size_); in GetFrameSlotPointer()
/external/chromium_org/android_webview/browser/
Dhardware_renderer.cc153 bool size_changed = frame_size != frame_size_; in CommitFrame()
154 frame_size_ = frame_size; in CommitFrame()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dtestutils.h138 uint32 frame_size() const { return frame_size_; } in frame_size()
150 uint32 frame_size_; variable

12