Home
last modified time | relevance | path

Searched refs:visible_size (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/content/common/gpu/media/
Dv4l2_video_device.cc83 gfx::Size visible_size; in CodedSizeFromV4L2Format() local
94 visible_size.SetSize(base::checked_cast<int>(format.fmt.pix_mp.width), in CodedSizeFromV4L2Format()
101 visible_size.SetSize(base::checked_cast<int>(format.fmt.pix.width), in CodedSizeFromV4L2Format()
111 << ", visible_size=" << visible_size.ToString() << ", frame_format=" in CodedSizeFromV4L2Format()
130 DCHECK(gfx::Rect(coded_size).Contains(gfx::Rect(visible_size))); in CodedSizeFromV4L2Format()
Dvideo_encode_accelerator_unittest.cc109 gfx::Size visible_size; member
201 i, kInputFormat, test_stream->visible_size.width()); in CreateAlignedInputStreamFile()
203 i, kInputFormat, test_stream->visible_size.height()); in CreateAlignedInputStreamFile()
215 kInputFormat, test_stream->visible_size); in CreateAlignedInputStreamFile()
281 test_stream->visible_size = gfx::Size(width, height); in ParseAndReadTestStreamData()
282 CHECK(!test_stream->visible_size.IsEmpty()); in ParseAndReadTestStreamData()
696 test_stream_->visible_size, in CreateEncoder()
882 gfx::Rect(test_stream_->visible_size), in PrepareInputFrame()
883 test_stream_->visible_size, in PrepareInputFrame()
/external/chromium_org/content/browser/media/capture/
Dcontent_video_capture_device_core.cc80 const gfx::Size visible_size = params_.requested_format.frame_size; in ObserveEventAndDecideCapture() local
81 const gfx::Size coded_size((visible_size.width() + 15) & ~15, in ObserveEventAndDecideCapture()
82 (visible_size.height() + 15) & ~15); in ObserveEventAndDecideCapture()
132 gfx::Rect(visible_size), in ObserveEventAndDecideCapture()
133 visible_size, in ObserveEventAndDecideCapture()
/external/chromium_org/media/base/
Dvideo_util.cc15 gfx::Size GetNaturalSize(const gfx::Size& visible_size, in GetNaturalSize() argument
26 int width = floor(visible_size.width() * aspect_ratio + 0.5); in GetNaturalSize()
27 int height = visible_size.height(); in GetNaturalSize()
Dvideo_util.h18 MEDIA_EXPORT gfx::Size GetNaturalSize(const gfx::Size& visible_size,