Lines Matching defs:coded_size

30     const gfx::Size& coded_size,
35 // ourselves), we can pad the requested |coded_size| if necessary if the
37 gfx::Size new_coded_size(coded_size);
104 const gfx::Size& coded_size,
108 if (coded_size.GetArea() > limits::kMaxCanvas ||
109 coded_size.width() > limits::kMaxDimension ||
110 coded_size.height() > limits::kMaxDimension ||
112 visible_rect.right() > coded_size.width() ||
113 visible_rect.bottom() > coded_size.height() ||
122 return (coded_size.IsEmpty() && visible_rect.IsEmpty() &&
132 if (static_cast<size_t>(coded_size.height()) <
137 if (static_cast<size_t>(coded_size.width()) <
151 return (!coded_size.IsEmpty() && !visible_rect.IsEmpty() &&
159 const gfx::Size& coded_size,
165 coded_size,
186 const gfx::Size& coded_size,
194 if (!IsValidConfig(format, coded_size, visible_rect, natural_size))
196 if (data_size < AllocationSize(format, coded_size))
203 coded_size,
210 frame->strides_[kYPlane] = coded_size.width();
211 frame->strides_[kUPlane] = coded_size.width() / 2;
212 frame->strides_[kVPlane] = coded_size.width() / 2;
214 frame->data_[kUPlane] = data + coded_size.GetArea();
215 frame->data_[kVPlane] = data + (coded_size.GetArea() * 5 / 4);
229 const gfx::Size& coded_size,
235 if (!IsValidConfig(format, coded_size, visible_rect, natural_size))
245 coded_size,
275 const gfx::Size& coded_size,
286 if (!IsValidConfig(format, coded_size, visible_rect, natural_size))
291 coded_size,
320 frame->coded_size(),
417 size_t VideoFrame::AllocationSize(Format format, const gfx::Size& coded_size) {
420 total += PlaneAllocationSize(format, i, coded_size);
427 const gfx::Size& coded_size) {
431 const int width = RoundUp(coded_size.width(), 2);
432 const int height = RoundUp(coded_size.height(), 2);
504 const gfx::Size& coded_size) {
506 return PlaneSize(format, plane, coded_size).GetArea();
631 const gfx::Size& coded_size,
638 coded_size_(coded_size),