Searched defs:natural_size (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/chromecast/media/cma/ipc_streamer/
H A Dvideo_decoder_config_marshaller.cc64 SizeMarshaller::Write(config.natural_size(), msg);
79 gfx::Size natural_size; local
89 natural_size = SizeMarshaller::Read(msg);
107 coded_size, visible_rect, natural_size,
/external/chromium_org/media/base/
H A Dvideo_decoder_config.cc24 const gfx::Size& natural_size,
28 Initialize(codec, profile, format, coded_size, visible_rect, natural_size,
61 const gfx::Size& natural_size,
88 natural_size_ = natural_size;
107 (natural_size() == config.natural_size()) &&
125 << " natural size: [" << natural_size().width()
126 << "," << natural_size().height() << "]"
152 gfx::Size VideoDecoderConfig::natural_size() const { function in class:media::VideoDecoderConfig
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
H A Dvideo_frame_pool.cc26 const gfx::Size& natural_size,
62 const gfx::Size& natural_size,
76 pool_frame->natural_size() == natural_size) {
85 format, coded_size, visible_rect, natural_size, timestamp);
89 frame, frame->visible_rect(), frame->natural_size(),
119 const gfx::Size& natural_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 Dpipeline.h43 gfx::Size natural_size; member in struct:media::PipelineMetadata
H A Dtest_helpers.cc113 gfx::Size natural_size = coded_size; local
116 VideoFrame::YV12, coded_size, visible_rect, natural_size,
H A Dvideo_frame.h78 const gfx::Size& natural_size,
86 const gfx::Size& natural_size);
107 const gfx::Size& natural_size,
129 const gfx::Size& natural_size,
152 const gfx::Size& natural_size,
181 const gfx::Size& natural_size,
197 const gfx::Size& natural_size,
255 const gfx::Size& natural_size() const { return natural_size_; } function in class:media::VideoFrame
330 const gfx::Size& natural_size,
H A Dvideo_frame_unittest.cc215 gfx::Size natural_size = visible_rect.size(); local
217 wrapped_frame, visible_rect, natural_size,
225 EXPECT_NE(wrapped_frame->natural_size(), frame->natural_size());
226 EXPECT_EQ(natural_size, frame->natural_size());
260 gfx::Size(10, 10), // natural_size
301 gfx::Size(10, 10), // natural_size
H A Dvideo_frame.cc55 const gfx::Size& natural_size,
68 DCHECK(IsValidConfig(format, new_coded_size, visible_rect, natural_size));
74 natural_size,
116 const gfx::Size& natural_size) {
124 natural_size.GetArea() > limits::kMaxCanvas ||
125 natural_size.width() > limits::kMaxDimension ||
126 natural_size.height() > limits::kMaxDimension)
133 natural_size.IsEmpty());
162 !natural_size.IsEmpty());
171 const gfx::Size& natural_size,
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
367 WrapVideoFrame( const scoped_refptr<VideoFrame>& frame, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const base::Closure& no_longer_needed_cb) 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...]
/external/chromium_org/media/blink/
H A Dvideo_frame_compositor_unittest.cc36 gfx::Size natural_size() { return natural_size_; } function in class:media::VideoFrameCompositorTest
49 void NaturalSizeChanged(gfx::Size natural_size) { argument
51 natural_size_ = natural_size;
94 EXPECT_EQ(0, natural_size().width());
95 EXPECT_EQ(0, natural_size().height());
100 EXPECT_EQ(0, natural_size().width());
101 EXPECT_EQ(0, natural_size().height());
106 EXPECT_EQ(larger_size.width(), natural_size().width());
107 EXPECT_EQ(larger_size.height(), natural_size().height());
111 EXPECT_EQ(larger_size.width(), natural_size()
[all...]
/external/chromium_org/media/formats/webm/
H A Dwebm_video_client.cc89 gfx::Size natural_size = gfx::Size(display_width_, display_height_); local
98 video_codec, profile, format, coded_size, visible_rect, natural_size,
/external/chromium_org/media/ffmpeg/
H A Dffmpeg_common.cc391 gfx::Size natural_size = GetNaturalSize( local
431 coded_size, visible_rect, natural_size,
/external/chromium_org/media/filters/
H A Dffmpeg_video_decoder_unittest.cc244 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 0, 1); local
250 natural_size,
258 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, 0); local
264 natural_size,
272 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), -1, 1); local
278 natural_size,
286 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, -1); local
292 natural_size,
302 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), num, 1); local
308 natural_size,
317 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, den); local
[all...]
H A Dgpu_video_decoder.h114 gfx::Rect* visible_rect, gfx::Size* natural_size);
169 const gfx::Size& natural_size);
174 gfx::Size natural_size; member in struct:media::GpuVideoDecoder::BufferData
H A Dvideo_renderer_impl_unittest.cc164 gfx::Size natural_size = TestVideoConfig::NormalCodedSize(); local
167 natural_size,
168 gfx::Rect(natural_size),
169 natural_size,
H A Dgpu_video_decoder.cc57 natural_size(ns) {
281 config_.natural_size()));
294 gfx::Size* natural_size) {
302 *natural_size = it->natural_size;
442 gfx::Size natural_size; local
444 &natural_size);
457 natural_size, local
292 GetBufferData(int32 id, base::TimeDelta* timestamp, gfx::Rect* visible_rect, gfx::Size* natural_size) argument
/external/chromium_org/media/formats/mp4/
H A Dmp4_stream_parser.cc290 gfx::Size natural_size = GetNaturalSize(visible_rect.size(), local
296 coded_size, visible_rect, natural_size,

Completed in 896 milliseconds