/external/chromium_org/media/base/ |
video_frame_pool_unittest.cc | 16 gfx::Size coded_size(320,240); 17 gfx::Rect visible_rect(coded_size); 18 gfx::Size natural_size(coded_size); 22 format, coded_size, visible_rect, natural_size, 27 EXPECT_EQ(coded_size, frame->coded_size());
|
video_decoder_config.cc | 22 const gfx::Size& coded_size, 28 Initialize(codec, profile, format, coded_size, visible_rect, natural_size, 59 const gfx::Size& coded_size, 75 UMA_HISTOGRAM_COUNTS_10000("Media.VideoCodedWidth", coded_size.width()); 76 UmaHistogramAspectRatio("Media.VideoCodedAspectRatio", coded_size); 86 coded_size_ = coded_size; 105 (coded_size() == config.coded_size()) && 119 << " coded size: [" << coded_size().width() 120 << "," << coded_size().height() << "] 144 gfx::Size VideoDecoderConfig::coded_size() const { function in class:media::VideoDecoderConfig [all...] |
video_frame_pool.cc | 24 const gfx::Size& coded_size, 60 const gfx::Size& coded_size, 74 pool_frame->coded_size() == coded_size && 85 format, coded_size, visible_rect, natural_size, timestamp); 117 const gfx::Size& coded_size, 121 return pool_->CreateFrame(format, coded_size, visible_rect, natural_size,
|
video_frame_pool.h | 30 const gfx::Size& coded_size,
|
video_frame.h | 76 const gfx::Size& coded_size, 84 static bool IsValidConfig(Format format, const gfx::Size& coded_size, 105 const gfx::Size& coded_size, 120 // buffer of logical dimensions |coded_size| with the appropriate bit depth 127 const gfx::Size& coded_size, 150 const gfx::Size& coded_size, 179 const gfx::Size& coded_size, 227 static size_t AllocationSize(Format format, const gfx::Size& coded_size); 232 const gfx::Size& coded_size); 238 const gfx::Size& coded_size); 253 const gfx::Size& coded_size() const { return coded_size_; } function in class:media::VideoFrame [all...] |
video_frame_unittest.cc | 27 int first_black_row = static_cast<int>(frame->coded_size().height() * 30 for (int row = 0; row < frame->coded_size().height(); ++row) { 37 for (int row = 0; row < frame->coded_size().height(); row += 2) { 52 yv12_frame->coded_size().width() & (VideoFrame::kFrameSizeAlignment - 1), 55 yv12_frame->coded_size().height() & (VideoFrame::kFrameSizeAlignment - 1), 58 size_t bytes_per_row = yv12_frame->coded_size().width() * 4u; 60 base::AlignedAlloc(bytes_per_row * yv12_frame->coded_size().height() + 68 yv12_frame->coded_size().width(), 69 yv12_frame->coded_size().height(), 75 for (int row = 0; row < yv12_frame->coded_size().height(); ++row) [all...] |
video_decoder_config.h | 80 const gfx::Size& coded_size, 92 const gfx::Size& coded_size, 119 gfx::Size coded_size() const;
|
test_helpers.cc | 110 gfx::Size coded_size, 112 gfx::Rect visible_rect(coded_size.width(), coded_size.height()); 113 gfx::Size natural_size = coded_size; 116 VideoFrame::YV12, coded_size, visible_rect, natural_size, 216 pickle.WriteInt(config.coded_size().width()); 217 pickle.WriteInt(config.coded_size().height()); 241 width == config.coded_size().width() && 242 height == config.coded_size().height());
|
video_frame.cc | 30 // Rounds up |coded_size| if necessary for |format|. 32 const gfx::Size& coded_size) { 33 gfx::Size new_coded_size(coded_size); 53 const gfx::Size& coded_size, 65 // ourselves), we can pad the requested |coded_size| if necessary if the 67 gfx::Size new_coded_size = AdjustCodedSize(format, coded_size); 114 const gfx::Size& coded_size, 118 if (coded_size.GetArea() > limits::kMaxCanvas || 119 coded_size.width() > limits::kMaxDimension || 120 coded_size.height() > limits::kMaxDimension | [all...] |
/external/chromium_org/media/cast/test/utility/ |
video_utility.cc | 19 if (frame1->coded_size().width() != frame2->coded_size().width() || 20 frame1->coded_size().height() != frame2->coded_size().height()) 35 frame1->coded_size().width(), 36 frame1->coded_size().height()); 40 int height = frame->coded_size().height(); 75 int height = frame->coded_size().height(); 90 int width = frame->coded_size().width(); 91 int height = frame->coded_size().height() [all...] |
/external/chromium_org/media/tools/player_x11/ |
gl_video_renderer.h | 29 void Initialize(gfx::Size coded_size, gfx::Rect visible_rect);
|
x11_video_renderer.h | 30 void Initialize(gfx::Size coded_size, gfx::Rect visible_rect);
|
gl_video_renderer.cc | 117 Initialize(video_frame->coded_size(), video_frame->visible_rect()); 143 void GlVideoRenderer::Initialize(gfx::Size coded_size, gfx::Rect visible_rect) { 238 float x0 = static_cast<float>(visible_rect.x()) / coded_size.width(); 239 float y0 = static_cast<float>(visible_rect.y()) / coded_size.height(); 240 float x1 = static_cast<float>(visible_rect.right()) / coded_size.width(); 241 float y1 = static_cast<float>(visible_rect.bottom()) / coded_size.height();
|
x11_video_renderer.cc | 89 Initialize(video_frame->coded_size(), video_frame->visible_rect()); 91 const int coded_width = video_frame->coded_size().width(); 92 const int coded_height = video_frame->coded_size().height(); 184 void X11VideoRenderer::Initialize(gfx::Size coded_size, 191 image_ = CreateImage(display_, coded_size.width(), coded_size.height());
|
/external/chromium_org/content/common/gpu/media/ |
v4l2_video_device.cc | 82 gfx::Size coded_size; local 117 return coded_size; 125 coded_size.SetSize(bytesperline * 8 / horiz_bpp, sizeimage / bytesperline); 126 DVLOG(3) << "coded_size=" << coded_size.ToString(); 130 DCHECK(gfx::Rect(coded_size).Contains(gfx::Rect(visible_size))); 136 i, frame_format, coded_size.width()))); 140 return coded_size;
|
/external/chromium_org/media/cast/test/ |
linux_output_window.cc | 121 CHECK_LE(video_frame->coded_size().width(), image_->width); 122 CHECK_LE(video_frame->coded_size().height(), image_->height); 131 video_frame->coded_size().width(), 132 video_frame->coded_size().height()); 143 video_frame->coded_size().width(), 144 video_frame->coded_size().height(),
|
/external/chromium_org/chromecast/media/cma/base/ |
mock_frame_provider.cc | 69 gfx::Size coded_size(640, 480); 76 coded_size,
|
/external/chromium_org/content/renderer/media/webrtc/ |
webrtc_video_capturer_adapter_unittest.cc | 35 gfx::Size coded_size(capture_width, capture_height); 40 coded_size, view_rect, natural_size,
|
/external/chromium_org/chromecast/media/cma/ipc_streamer/ |
video_decoder_config_marshaller.cc | 62 SizeMarshaller::Write(config.coded_size(), msg); 77 gfx::Size coded_size; local 87 coded_size = SizeMarshaller::Read(msg); 107 coded_size, visible_rect, natural_size,
|
/external/chromium_org/media/cast/receiver/ |
video_decoder_unittest.cc | 136 EXPECT_EQ(expected_video_frame->coded_size().width(), 137 video_frame->coded_size().width()); 138 EXPECT_EQ(expected_video_frame->coded_size().height(), 139 video_frame->coded_size().height());
|
/external/chromium_org/content/renderer/media/ |
video_source_handler_unittest.cc | 87 EXPECT_EQ(width, frame->coded_size().width()); 88 EXPECT_EQ(height, frame->coded_size().height());
|
/external/chromium_org/media/formats/mp2t/ |
es_parser_h264.cc | 259 gfx::Size coded_size((sps->pic_width_in_mbs_minus1 + 1) * 16, 264 (coded_size.width() - sps->frame_crop_right_offset) - 266 (coded_size.height() - sps->frame_crop_bottom_offset) - 280 coded_size, 289 DVLOG(1) << "Pic width: " << coded_size.width(); 290 DVLOG(1) << "Pic height: " << coded_size.height();
|
/external/chromium_org/content/renderer/pepper/ |
video_decoder_shim.cc | 52 const gfx::Size& coded_size, 57 const gfx::Size coded_size; member in struct:content::VideoDecoderShim::PendingFrame 71 const gfx::Size& coded_size, 74 coded_size(coded_size), 76 argb_pixels(coded_size.width() * coded_size.height() * 4) { 268 decode_id_, frame->coded_size(), frame->visible_rect())); 277 frame->coded_size().width() * 4, 278 frame->coded_size().width() [all...] |
/external/chromium_org/media/ffmpeg/ |
ffmpeg_common.cc | 369 gfx::Size coded_size(stream->codec->coded_width, stream->codec->coded_height); 407 coded_size = visible_rect.size(); 410 // Pad out |coded_size| for subsampled YUV formats. 412 coded_size.set_width((coded_size.width() + 1) / 2 * 2); 414 coded_size.set_height((coded_size.height() + 1) / 2 * 2); 431 coded_size, visible_rect, natural_size, 443 codec_context->coded_width = config.coded_size().width(); 444 codec_context->coded_height = config.coded_size().height() [all...] |
/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
libvpx_cdm_video_decoder.cc | 44 if (!IsValidOutputConfig(config.format, config.coded_size)) { 56 vpx_config.w = config.coded_size.width; 57 vpx_config.h = config.coded_size.height;
|