Searched refs:natural_size (Results 1 - 25 of 44) sorted by relevance

12

/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...]
H A Dvideo_frame_compositor.cc63 current_frame_->natural_size() != frame->natural_size()) {
64 natural_size_changed_cb_.Run(frame->natural_size());
/external/chromium_org/media/base/
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 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_unittest.cc18 gfx::Size natural_size(coded_size);
22 format, coded_size, visible_rect, natural_size,
29 EXPECT_EQ(natural_size, frame->natural_size());
H A Dvideo_decoder_config.h82 const gfx::Size& natural_size,
94 const gfx::Size& natural_size,
126 gfx::Size natural_size() const;
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_pool.h32 const gfx::Size& 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...]
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
/external/chromium_org/chromecast/media/cma/base/
H A Dmock_frame_provider.cc71 gfx::Size natural_size(640, 480);
78 natural_size,
/external/chromium_org/content/renderer/media/webrtc/
H A Dwebrtc_video_capturer_adapter_unittest.cc36 gfx::Size natural_size(natural_width, natural_height);
40 coded_size, view_rect, natural_size,
H A Dwebrtc_video_capturer_adapter.cc101 captured_frame.width = frame->natural_size().width();
102 captured_frame.height = frame->natural_size().height();
115 // coded_size == natural_size().
117 frame->coded_size() != frame->natural_size()) {
139 const int dst_width = src->natural_size().width();
140 const int dst_height = src->natural_size().height();
157 media::VideoFrame::AllocationSize(src->format(), src->natural_size());
H A Dmedia_stream_remote_video_source.cc107 gfx::Size(video_frame->natural_size().width(),
108 video_frame->natural_size().height()),
/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 Dffmpeg_video_decoder.cc99 gfx::Size natural_size;
101 natural_size = GetNaturalSize(size,
105 natural_size = config_.natural_size();
123 format, coded_size, gfx::Rect(size), natural_size))
127 format, coded_size, gfx::Rect(size), natural_size, kNoTimestamp());
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/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/content/renderer/media/
H A Dmock_media_stream_video_sink.cc37 frame_size_ = frame->natural_size();
H A Dvideo_track_adapter.cc168 static_cast<double>(frame->natural_size().width()) /
169 frame->natural_size().height();
174 if (frame->natural_size().width() > max_frame_size_.width() ||
175 frame->natural_size().height() > max_frame_size_.height() ||
179 frame->natural_size().width());
181 frame->natural_size().height());
221 << video_frame->natural_size().ToString()
H A Drtc_video_renderer.cc93 frame_size_ = frame->natural_size();
H A Dmedia_stream_video_track.cc165 black_frame_->natural_size() != reference_frame->natural_size())
167 media::VideoFrame::CreateBlackFrame(reference_frame->natural_size());
/external/chromium_org/media/formats/mp2t/
H A Des_adapter_video_unittest.cc26 gfx::Size natural_size(320, 240);
33 natural_size,
/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,

Completed in 1885 milliseconds

12