/external/chromium_org/media/base/ |
H A D | 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());
|
H A D | 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() 19 VideoDecoderConfig(VideoCodec codec, VideoCodecProfile profile, VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const uint8* extra_data, size_t extra_data_size, bool is_encrypted) argument 56 Initialize(VideoCodec codec, VideoCodecProfile profile, VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const uint8* extra_data, size_t extra_data_size, bool is_encrypted, bool record_stats) argument 144 gfx::Size VideoDecoderConfig::coded_size() const { function in class:media::VideoDecoderConfig [all...] |
H A D | 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, 58 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument 115 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
|
H A D | 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...] |
H A D | 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() [all...] |
H A D | video_decoder_config.h | 80 const gfx::Size& coded_size, 92 const gfx::Size& coded_size, 119 gfx::Size coded_size() const;
|
H A D | 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()); 109 GetTestConfig(VideoCodec codec, gfx::Size coded_size, bool is_encrypted) argument
|
H A D | 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 31 AdjustCodedSize(VideoFrame::Format format, const gfx::Size& coded_size) argument 51 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument 113 IsValidConfig(VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size) argument 166 WrapNativeTexture( scoped_ptr<gpu::MailboxHolder> mailbox_holder, const ReleaseMailboxCB& mailbox_holder_release_cb, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp, const ReadPixelsCB& read_pixels_cb) argument 196 WrapExternalPackedMemory( Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, uint8* data, size_t data_size, base::SharedMemoryHandle handle, base::TimeDelta timestamp, const base::Closure& no_longer_needed_cb) argument 241 WrapExternalDmabufs( Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const std::vector<int> dmabuf_fds, base::TimeDelta timestamp, const base::Closure& no_longer_needed_cb) argument 332 WrapExternalYuvData( Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, int32 y_stride, int32 u_stride, int32 v_stride, uint8* y_data, uint8* u_data, uint8* v_data, base::TimeDelta timestamp, const base::Closure& no_longer_needed_cb) argument 489 AllocationSize(Format format, const gfx::Size& coded_size) argument 497 PlaneSize(Format format, size_t plane, const gfx::Size& coded_size) argument 574 PlaneAllocationSize(Format format, size_t plane, const gfx::Size& coded_size) argument 705 VideoFrame(VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, scoped_ptr<gpu::MailboxHolder> mailbox_holder, base::TimeDelta timestamp, bool end_of_stream) argument [all...] |
H A D | video_frame_pool.h | 30 const gfx::Size& coded_size,
|
/external/chromium_org/media/cast/test/utility/ |
H A D | 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() [all...] |
/external/chromium_org/content/common/gpu/media/ |
H A D | 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/ |
H A D | 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/media/tools/player_x11/ |
H A D | gl_video_renderer.h | 29 void Initialize(gfx::Size coded_size, gfx::Rect visible_rect);
|
H A D | x11_video_renderer.h | 30 void Initialize(gfx::Size coded_size, gfx::Rect visible_rect);
|
H A D | 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) { argument 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();
|
H A D | 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, argument 191 image_ = CreateImage(display_, coded_size.width(), coded_size.height());
|
/external/chromium_org/chromecast/media/cma/base/ |
H A D | mock_frame_provider.cc | 69 gfx::Size coded_size(640, 480); 76 coded_size,
|
/external/chromium_org/content/renderer/media/webrtc/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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() 70 PendingFrame(uint32_t decode_id, const gfx::Size& coded_size, const gfx::Rect& visible_rect) argument [all...] |
/external/chromium_org/media/ffmpeg/ |
H A D | 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() [all...] |
/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
H A D | 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;
|