Searched refs:visible_size (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/content/common/gpu/media/ |
D | v4l2_video_device.cc | 83 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()
|
D | video_encode_accelerator_unittest.cc | 109 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/ |
D | content_video_capture_device_core.cc | 80 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/ |
D | video_util.cc | 15 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()
|
D | video_util.h | 18 MEDIA_EXPORT gfx::Size GetNaturalSize(const gfx::Size& visible_size,
|