Searched defs:in_frame (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideoadapter_unittest.cc827 WebRtcVideoFrame in_frame; local
828 in_frame.InitToBlack(640, 360, 1, 1, 33, 33);
830 adapter.AdaptFrame(&in_frame, &out_frame);
868 WebRtcVideoFrame in_frame; local
869 in_frame.InitToBlack(640, 360, 1, 1, 33, 33);
871 adapter.AdaptFrame(&in_frame, &out_frame);
882 adapter.AdaptFrame(&in_frame, &out_frame);
H A Dvideoadapter.cc149 // compute output_format from in_frame.
150 // in_frame - actual camera captured frame size, which is typically the same
153 // in_frame maintaining rotation and aspect ratio.
264 bool VideoAdapter::AdaptFrame(VideoFrame* in_frame, argument
267 if (!in_frame || !out_frame) {
273 VideoFormat format(static_cast<int>(in_frame->GetWidth()),
274 static_cast<int>(in_frame->GetHeight()),
306 << " Input: " << in_frame->GetWidth()
307 << "x" << in_frame->GetHeight()
318 static_cast<int>(in_frame
392 StretchToOutputFrame(const VideoFrame* in_frame) argument
[all...]
/external/chromium_org/third_party/webrtc/common_video/libyuv/
H A Dlibyuv_unittest.cc345 I420VideoFrame in_frame, test_in_frame; local
346 in_frame.CreateEmptyFrame(width, height, width,
352 CreateImage(&in_frame, plane_offset);
353 EXPECT_EQ(0, PrintFrame(&in_frame, "InputFrame"));
354 test_in_frame.CopyFrame(in_frame);
364 EXPECT_EQ(0, MirrorI420LeftRight(&in_frame, &out_frame));
366 EXPECT_EQ(0, MirrorI420LeftRight(&out_frame, &in_frame));
368 EXPECT_EQ(0, memcmp(in_frame.buffer(kYPlane),
370 EXPECT_EQ(0, memcmp(in_frame.buffer(kUPlane),
372 EXPECT_EQ(0, memcmp(in_frame
[all...]
H A Dscaler_unittest.cc401 I420VideoFrame in_frame, out_frame; local
412 ConvertFromI420(in_frame, kI420, 0, input_buffer);
414 double psnr = I420PSNR(&in_frame, &out_frame);
/external/chromium_org/chrome/browser/renderer_context_menu/
H A Drender_view_context_menu.cc351 const bool in_frame = !params.frame_url.is_empty(); local
356 (in_frame && contexts.Contains(MenuItem::FRAME)))
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
H A Daudio_coding_module_impl.cc1319 // is required, |*ptr_out| points to |in_frame|.
1320 int AudioCodingModuleImpl::PreprocessToAddData(const AudioFrame& in_frame, argument
1326 bool resample = (in_frame.sample_rate_hz_ != send_codec_inst_.plfreq);
1332 down_mix = (in_frame.num_channels_ == 2) &&
1336 down_mix = (in_frame.num_channels_ == 2) &&
1341 expected_in_ts_ = in_frame.timestamp_;
1342 expected_codec_ts_ = in_frame.timestamp_;
1344 } else if (in_frame.timestamp_ != expected_in_ts_) {
1346 expected_codec_ts_ += (in_frame.timestamp_ - expected_in_ts_) *
1348 static_cast<double>(in_frame
[all...]

Completed in 166 milliseconds