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

12

/external/chromium_org/content/renderer/media/
H A Dvideo_frame_compositor_unittest.cc38 gfx::Size natural_size() { return natural_size_; } function in class:content::VideoFrameCompositorTest
51 void NaturalSizeChanged(gfx::Size natural_size) { argument
53 natural_size_ = natural_size;
96 EXPECT_EQ(0, natural_size().width());
97 EXPECT_EQ(0, natural_size().height());
102 EXPECT_EQ(0, natural_size().width());
103 EXPECT_EQ(0, natural_size().height());
108 EXPECT_EQ(larger_size.width(), natural_size().width());
109 EXPECT_EQ(larger_size.height(), natural_size().height());
113 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());
H A Dmock_media_stream_video_sink.cc37 frame_size_ = frame->natural_size();
H A Dvideo_track_adapter.cc138 static_cast<double>(frame->natural_size().width()) /
139 frame->natural_size().height();
144 if (frame->natural_size().width() > max_frame_size_.width() ||
145 frame->natural_size().height() > max_frame_size_.height() ||
149 frame->natural_size().width());
151 frame->natural_size().height());
191 << 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());
H A Dwebmediaplayer_ms.cc51 frame->natural_size(),
262 size = current_frame_->natural_size();
428 current_frame_->natural_size() != 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.h73 const gfx::Size& natural_size,
81 const gfx::Size& natural_size);
102 const gfx::Size& natural_size,
121 const gfx::Size& natural_size,
143 const gfx::Size& natural_size,
158 const gfx::Size& natural_size,
174 const gfx::Size& natural_size,
219 const gfx::Size& natural_size() const { return natural_size_; } function in class:media::VideoFrame
274 const gfx::Size& natural_size,
H A Dvideo_frame_pool.h32 const gfx::Size& natural_size,
H A Dvideo_frame.cc32 const gfx::Size& natural_size,
59 DCHECK(IsValidConfig(format, new_coded_size, visible_rect, natural_size));
64 natural_size,
106 const gfx::Size& natural_size) {
114 natural_size.GetArea() > limits::kMaxCanvas ||
115 natural_size.width() > limits::kMaxDimension ||
116 natural_size.height() > limits::kMaxDimension)
123 natural_size.IsEmpty());
152 !natural_size.IsEmpty());
161 const gfx::Size& natural_size,
28 CreateFrame( VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size, base::TimeDelta timestamp) argument
103 IsValidConfig(VideoFrame::Format format, const gfx::Size& coded_size, const gfx::Rect& visible_rect, const gfx::Size& natural_size) argument
156 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
184 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
227 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
273 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
308 WrapVideoFrame( const scoped_refptr<VideoFrame>& frame, const gfx::Rect& visible_rect, const gfx::Size& natural_size, const base::Closure& no_longer_needed_cb) argument
630 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());
262 gfx::Size(10, 10), // natural_size
292 gfx::Size(10, 10), // 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
247 kCodedSize, kVisibleRect, natural_size,
253 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, 0); local
256 kCodedSize, kVisibleRect, natural_size,
262 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), -1, 1); local
265 kCodedSize, kVisibleRect, natural_size,
271 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, -1); local
274 kCodedSize, kVisibleRect, natural_size,
282 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), num, 1); local
285 kCodedSize, kVisibleRect, natural_size,
292 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, den); local
[all...]
H A Dgpu_video_decoder.h115 gfx::Rect* visible_rect, gfx::Size* natural_size);
172 const gfx::Size& natural_size);
177 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.cc58 natural_size(ns) {
290 config_.natural_size()));
303 gfx::Size* natural_size) {
311 *natural_size = it->natural_size;
437 gfx::Size natural_size; local
439 &natural_size);
452 natural_size, local
301 GetBufferData(int32 id, base::TimeDelta* timestamp, gfx::Rect* visible_rect, gfx::Size* natural_size) argument
H A Dvideo_renderer_impl_unittest.cc201 gfx::Size natural_size = TestVideoConfig::NormalCodedSize(); local
204 natural_size,
205 gfx::Rect(natural_size),
206 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,
/external/chromium_org/media/formats/mp2t/
H A Des_parser_h264.cc298 gfx::Size natural_size(
301 if (natural_size.width() == 0)
310 natural_size,

Completed in 1082 milliseconds

12