Home | History | Annotate | Download | only in base

Lines Matching refs:format

53   enum Format {
54 UNKNOWN = 0, // Unknown format value.
62 NATIVE_TEXTURE = 6, // Native texture. Pixel-format agnostic.
69 // Returns the name of a Format as a string.
70 static std::string FormatToString(Format format);
75 Format format,
84 static bool IsValidConfig(Format format, const gfx::Size& coded_size,
121 // and plane count as given by |format|. The shared memory handle of the
126 Format format,
149 Format format,
165 // pixel format that has no VideoFrame match), NULL is returned.
178 Format format,
223 static size_t NumPlanes(Format format);
226 // given coded size and format.
227 static size_t AllocationSize(Format format, const gfx::Size& coded_size);
229 // Returns the plane size for a plane of the given coded size and format.
230 static gfx::Size PlaneSize(Format format,
235 // given coded size and format.
236 static size_t PlaneAllocationSize(Format format,
240 // Returns horizontal bits per pixel for given |plane| and |format|.
241 static int PlaneHorizontalBitsPerPixel(Format format, size_t plane);
243 // Returns the number of bytes per row for the given plane, format, and width.
244 // The width may be aligned to format requirements.
245 static size_t RowBytes(size_t plane, Format format, int width);
247 // Returns the number of rows for the given plane, format, and height.
248 // The height may be aligned to format requirements.
249 static size_t Rows(size_t plane, Format format, int height);
251 Format format() const { return format_; }
322 // Returns true if |plane| is a valid plane number for the given format. This
324 static bool IsValidPlane(size_t plane, VideoFrame::Format format);
327 VideoFrame(Format format,
338 // Frame format.
339 const Format format_;