Home
last modified time | relevance | path

Searched refs:natural_size (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/media/base/
Dvideo_decoder_config.cc24 const gfx::Size& natural_size, in VideoDecoderConfig() argument
28 Initialize(codec, profile, format, coded_size, visible_rect, natural_size, in VideoDecoderConfig()
61 const gfx::Size& natural_size, in Initialize() argument
88 natural_size_ = natural_size; in Initialize()
107 (natural_size() == config.natural_size()) && in Matches()
125 << " natural size: [" << natural_size().width() in AsHumanReadableString()
126 << "," << natural_size().height() << "]" in AsHumanReadableString()
152 gfx::Size VideoDecoderConfig::natural_size() const { in natural_size() function in media::VideoDecoderConfig
Dvideo_frame_pool.cc26 const gfx::Size& natural_size,
62 const gfx::Size& natural_size, in CreateFrame() argument
76 pool_frame->natural_size() == natural_size) { in CreateFrame()
85 format, coded_size, visible_rect, natural_size, kNoTimestamp()); in CreateFrame()
118 const gfx::Size& natural_size, in CreateFrame() argument
120 return pool_->CreateFrame(format, coded_size, visible_rect, natural_size, in CreateFrame()
Dvideo_frame.cc25 const gfx::Size& natural_size, in CreateFrame() argument
27 DCHECK(IsValidConfig(format, coded_size, visible_rect, natural_size)); in CreateFrame()
29 format, coded_size, visible_rect, natural_size, timestamp, false)); in CreateFrame()
76 const gfx::Size& natural_size) { in IsValidConfig() argument
86 !natural_size.IsEmpty() && in IsValidConfig()
87 natural_size.GetArea() <= limits::kMaxCanvas && in IsValidConfig()
88 natural_size.width() <= limits::kMaxDimension && in IsValidConfig()
89 natural_size.height() <= limits::kMaxDimension); in IsValidConfig()
98 const gfx::Size& natural_size, in WrapNativeTexture() argument
105 natural_size, in WrapNativeTexture()
[all …]
Dvideo_frame.h97 const gfx::Size& natural_size,
105 const gfx::Size& natural_size);
126 const gfx::Size& natural_size,
146 const gfx::Size& natural_size,
162 const gfx::Size& natural_size,
212 const gfx::Size& natural_size() const { return natural_size_; } in natural_size() function
258 const gfx::Size& natural_size,
Dvideo_decoder_config.h81 const gfx::Size& natural_size,
93 const gfx::Size& natural_size,
125 gfx::Size natural_size() const;
Dvideo_frame_pool_unittest.cc18 gfx::Size natural_size(coded_size); in CreateFrame() local
20 format, coded_size, visible_rect, natural_size, in CreateFrame()
Dvideo_frame_pool.h32 const gfx::Size& natural_size,
Dtest_helpers.cc113 gfx::Size natural_size = coded_size; in GetTestConfig() local
116 VideoFrame::YV12, coded_size, visible_rect, natural_size, in GetTestConfig()
/external/chromium_org/media/filters/
Dffmpeg_video_decoder_unittest.cc272 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 0, 1); in TEST_F() local
275 kCodedSize, kVisibleRect, natural_size, in TEST_F()
281 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, 0); in TEST_F() local
284 kCodedSize, kVisibleRect, natural_size, in TEST_F()
290 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), -1, 1); in TEST_F() local
293 kCodedSize, kVisibleRect, natural_size, in TEST_F()
299 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, -1); in TEST_F() local
302 kCodedSize, kVisibleRect, natural_size, in TEST_F()
310 gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), num, 1); in TEST_F() local
313 kCodedSize, kVisibleRect, natural_size, in TEST_F()
[all …]
Dffmpeg_video_decoder.cc82 gfx::Size natural_size; in GetVideoBuffer() local
84 natural_size = GetNaturalSize(size, in GetVideoBuffer()
88 natural_size = config_.natural_size(); in GetVideoBuffer()
91 if (!VideoFrame::IsValidConfig(format, size, gfx::Rect(size), natural_size)) in GetVideoBuffer()
96 natural_size, kNoTimestamp()); in GetVideoBuffer()
Dgpu_video_decoder.cc51 natural_size(ns) { in BufferData()
307 config_.natural_size())); in RecordBufferData()
320 gfx::Size* natural_size) { in GetBufferData() argument
328 *natural_size = it->natural_size; in GetBufferData()
440 gfx::Size natural_size; in PictureReady() local
442 &natural_size); in PictureReady()
455 natural_size, in PictureReady()
Dgpu_video_decoder.h112 gfx::Rect* visible_rect, gfx::Size* natural_size);
168 const gfx::Size& natural_size);
173 gfx::Size natural_size; member
Dvideo_renderer_impl.cc326 const gfx::Size& natural_size = next_frame->natural_size(); in PaintNextReadyFrame_Locked() local
327 if (natural_size != last_natural_size_) { in PaintNextReadyFrame_Locked()
328 last_natural_size_ = natural_size; in PaintNextReadyFrame_Locked()
329 size_changed_cb_.Run(natural_size); in PaintNextReadyFrame_Locked()
Dvideo_renderer_impl_unittest.cc187 gfx::Size natural_size = TestVideoConfig::NormalCodedSize(); in QueueNextFrame() local
189 VideoFrame::YV12, natural_size, gfx::Rect(natural_size), natural_size, in QueueNextFrame()
Dskcanvas_video_renderer_unittest.cc109 EXPECT_EQ(cropped_frame()->natural_size().width() * kHeight, in SkCanvasVideoRendererTest()
110 cropped_frame()->natural_size().height() * kWidth); in SkCanvasVideoRendererTest()
Dchunk_demuxer_unittest.cc2273 EXPECT_EQ(video_config_1.natural_size().width(), 320); in TEST_F()
2274 EXPECT_EQ(video_config_1.natural_size().height(), 240); in TEST_F()
2286 EXPECT_EQ(video_config_2.natural_size().width(), 640); in TEST_F()
2287 EXPECT_EQ(video_config_2.natural_size().height(), 360); in TEST_F()
2364 EXPECT_EQ(video_config_1.natural_size().width(), 320); in TEST_F()
2365 EXPECT_EQ(video_config_1.natural_size().height(), 240); in TEST_F()
2378 EXPECT_EQ(video_config_2.natural_size().width(), 640); in TEST_F()
2379 EXPECT_EQ(video_config_2.natural_size().height(), 360); in TEST_F()
Ddecrypting_demuxer_stream_unittest.cc295 EXPECT_EQ(input_config.natural_size(), output_config.natural_size()); in TEST_F()
/external/chromium_org/media/webm/
Dwebm_video_client.cc77 gfx::Size natural_size = coded_size; in InitializeConfig() local
83 natural_size = gfx::Size(display_width_, display_height_); in InitializeConfig()
87 natural_size = gfx::Size(display_width_, display_height_); in InitializeConfig()
100 video_codec, profile, format, coded_size, visible_rect, natural_size, in InitializeConfig()
/external/chromium_org/media/mp2t/
Des_parser_h264.cc468 gfx::Size natural_size((visible_rect.width() * sar_width) / sar_height, in ProcessSPS() local
470 if (natural_size.width() == 0) in ProcessSPS()
485 natural_size, in ProcessSPS()
/external/chromium_org/content/renderer/media/
Dwebmediaplayer_ms.cc212 size = current_frame_->natural_size(); in naturalSize()
382 current_frame_->natural_size() != frame->natural_size(); in OnFrameAvailable()
Drtc_video_decoder_factory_tv_unittest.cc150 EXPECT_EQ(size_, video_stream_->video_decoder_config().natural_size()); in GetVideoStream()
285 EXPECT_EQ(new_size, video_stream_->video_decoder_config().natural_size()); in TEST_F()
Drtc_video_decoder.cc418 gfx::Size natural_size(width, height); in CreateVideoFrame() local
434 natural_size, in CreateVideoFrame()
439 natural_size), in CreateVideoFrame()
/external/chromium_org/media/ffmpeg/
Dffmpeg_common.cc388 gfx::Size natural_size = GetNaturalSize( in AVStreamToVideoDecoderConfig() local
401 coded_size = natural_size; in AVStreamToVideoDecoderConfig()
418 coded_size, visible_rect, natural_size, in AVStreamToVideoDecoderConfig()
/external/chromium_org/content/renderer/media/android/
Dwebmediaplayer_android.cc1086 gfx::Size natural_size = video_frame->natural_size(); in GetCurrentFrame() local
1089 stream_texture_factory_->SetStreamTextureSize(stream_id_, natural_size); in GetCurrentFrame()
1091 cached_stream_texture_size_ = natural_size; in GetCurrentFrame()
/external/chromium_org/media/mp4/
Dmp4_stream_parser.cc280 gfx::Size natural_size = GetNaturalSize(visible_rect.size(), in ParseMoov() local
286 coded_size, visible_rect, natural_size, in ParseMoov()

12