Home
last modified time | relevance | path

Searched refs:PixelFormat (Results 1 – 25 of 141) sorted by relevance

123456

/external/libkmsxx/kms++/src/
Dpixelformats.cpp9 static const map<PixelFormat, PixelFormatInfo> format_info_array = {
11 { PixelFormat::UYVY, { 1, { { 16, 2, 1 } }, } },
12 { PixelFormat::YUYV, { 1, { { 16, 2, 1 } }, } },
13 { PixelFormat::YVYU, { 1, { { 16, 2, 1 } }, } },
14 { PixelFormat::VYUY, { 1, { { 16, 2, 1 } }, } },
16 { PixelFormat::NV12, { 2, { { 8, 1, 1, }, { 8, 2, 2 } }, } },
17 { PixelFormat::NV21, { 2, { { 8, 1, 1, }, { 8, 2, 2 } }, } },
19 { PixelFormat::RGB565, { 1, { { 16, 1, 1 } }, } },
20 { PixelFormat::BGR565, { 1, { { 16, 1, 1 } }, } },
22 { PixelFormat::RGB888, { 1, { { 24, 1, 1 } }, } },
[all …]
Dplane.cpp41 bool Plane::supports_format(PixelFormat fmt) const in supports_format()
94 vector<PixelFormat> Plane::get_formats() const in get_formats()
97 vector<PixelFormat> r; in get_formats()
100 r.push_back((PixelFormat) p->formats[i]); in get_formats()
/external/libkmsxx/kms++util/src/
Ddrawing.cpp15 case PixelFormat::XRGB8888: in draw_rgb_pixel()
16 case PixelFormat::ARGB8888: in draw_rgb_pixel()
22 case PixelFormat::XBGR8888: in draw_rgb_pixel()
23 case PixelFormat::ABGR8888: in draw_rgb_pixel()
29 case PixelFormat::RGB888: in draw_rgb_pixel()
37 case PixelFormat::BGR888: in draw_rgb_pixel()
45 case PixelFormat::RGB565: in draw_rgb_pixel()
51 case PixelFormat::BGR565: in draw_rgb_pixel()
77 case PixelFormat::UYVY: in draw_yuv422_macropixel()
84 case PixelFormat::YUYV: in draw_yuv422_macropixel()
[all …]
Dtestpat.cpp106 case PixelFormat::XRGB8888: in draw_test_pattern_part()
107 case PixelFormat::XBGR8888: in draw_test_pattern_part()
108 case PixelFormat::ARGB8888: in draw_test_pattern_part()
109 case PixelFormat::ABGR8888: in draw_test_pattern_part()
110 case PixelFormat::RGB888: in draw_test_pattern_part()
111 case PixelFormat::BGR888: in draw_test_pattern_part()
112 case PixelFormat::RGB565: in draw_test_pattern_part()
113 case PixelFormat::BGR565: in draw_test_pattern_part()
122 case PixelFormat::UYVY: in draw_test_pattern_part()
123 case PixelFormat::YUYV: in draw_test_pattern_part()
[all …]
Dcolorbar.cpp103 case PixelFormat::NV12: in draw_color_bar()
104 case PixelFormat::NV21: in draw_color_bar()
109 case PixelFormat::YUYV: in draw_color_bar()
110 case PixelFormat::UYVY: in draw_color_bar()
115 case PixelFormat::RGB565: in draw_color_bar()
119 case PixelFormat::BGR565: in draw_color_bar()
124 case PixelFormat::XRGB8888: in draw_color_bar()
Dresourcemanager.cpp141 Plane* ResourceManager::reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format) in reserve_plane()
150 if (format != PixelFormat::Undefined && !plane->supports_format(format)) in reserve_plane()
176 Plane* ResourceManager::reserve_generic_plane(Crtc* crtc, PixelFormat format) in reserve_generic_plane()
185 if (format != PixelFormat::Undefined && !plane->supports_format(format)) in reserve_generic_plane()
198 Plane* ResourceManager::reserve_primary_plane(Crtc* crtc, PixelFormat format) in reserve_primary_plane()
203 Plane* ResourceManager::reserve_overlay_plane(Crtc* crtc, PixelFormat format) in reserve_overlay_plane()
Dvideodevice.cpp19 static vector<PixelFormat> v4l2_get_formats(int fd, uint32_t buf_type) in v4l2_get_formats()
21 vector<PixelFormat> v; in v4l2_get_formats()
27 v.push_back((PixelFormat)desc.pixelformat); in v4l2_get_formats()
34 static void v4l2_set_format(int fd, PixelFormat fmt, uint32_t width, uint32_t height, uint32_t buf_… in v4l2_set_format()
240 vector<tuple<uint32_t, uint32_t>> VideoDevice::get_discrete_frame_sizes(PixelFormat fmt) in get_discrete_frame_sizes()
260 VideoDevice::VideoFrameSize VideoDevice::get_frame_sizes(PixelFormat fmt) in get_frame_sizes()
407 std::vector<PixelFormat> VideoStreamer::get_formats() in get_formats()
412 void VideoStreamer::set_format(PixelFormat fmt, uint32_t width, uint32_t height) in set_format()
/external/libkmsxx/kms++util/inc/kms++util/
Dresourcemanager.h19 Plane* reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format = PixelFormat::Undefined);
21 Plane* reserve_generic_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
22 Plane* reserve_primary_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
23 Plane* reserve_overlay_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
Dextcpuframebuffer.h11 ExtCPUFramebuffer(uint32_t width, uint32_t height, PixelFormat format,
13 ExtCPUFramebuffer(uint32_t width, uint32_t height, PixelFormat format,
20 PixelFormat format() const { return m_format; } in format()
38 PixelFormat m_format;
Dvideodevice.h27 std::vector<std::tuple<uint32_t, uint32_t>> get_discrete_frame_sizes(kms::PixelFormat fmt);
28 VideoFrameSize get_frame_sizes(kms::PixelFormat fmt);
72 std::vector<kms::PixelFormat> get_formats();
73 void set_format(kms::PixelFormat fmt, uint32_t width, uint32_t height);
Dcpuframebuffer.h10 CPUFramebuffer(uint32_t width, uint32_t height, PixelFormat format);
20 PixelFormat format() const { return m_format; } in format()
38 PixelFormat m_format;
/external/libkmsxx/py/pykms/
Dpykmsbase.cpp157 .def(py::init<Card&, uint32_t, uint32_t, PixelFormat>(), in init_pykmsbase()
167 ….def(py::init<Card&, uint32_t, uint32_t, PixelFormat, vector<int>, vector<uint32_t>, vector<uint32… in init_pykmsbase()
171 py::enum_<PixelFormat>(m, "PixelFormat") in init_pykmsbase()
172 .value("Undefined", PixelFormat::Undefined) in init_pykmsbase()
174 .value("NV12", PixelFormat::NV12) in init_pykmsbase()
175 .value("NV21", PixelFormat::NV21) in init_pykmsbase()
177 .value("UYVY", PixelFormat::UYVY) in init_pykmsbase()
178 .value("YUYV", PixelFormat::YUYV) in init_pykmsbase()
179 .value("YVYU", PixelFormat::YVYU) in init_pykmsbase()
180 .value("VYUY", PixelFormat::VYUY) in init_pykmsbase()
[all …]
Dpykmsutil.cpp29 ….def("reserve_plane", (Plane* (ResourceManager::*)(Crtc*, PlaneType, PixelFormat))&ResourceManager… in init_pykmstest()
32 py::arg("format") = PixelFormat::Undefined) in init_pykmstest()
35 py::arg("format") = PixelFormat::Undefined) in init_pykmstest()
38 py::arg("format") = PixelFormat::Undefined) in init_pykmstest()
41 py::arg("format") = PixelFormat::Undefined) in init_pykmstest()
/external/libkmsxx/kms++/inc/kms++/
Dpixelformats.h13 enum class PixelFormat : uint32_t enum
37 static inline PixelFormat FourCCToPixelFormat(const std::string& fourcc) in FourCCToPixelFormat()
39 return (PixelFormat)MakeFourCC(fourcc.c_str()); in FourCCToPixelFormat()
42 static inline std::string PixelFormatToFourCC(PixelFormat f) in PixelFormatToFourCC()
65 const struct PixelFormatInfo& get_pixel_format_info(PixelFormat format);
Dextframebuffer.h12 ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
14 ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
21 PixelFormat format() const { return m_format; } in format()
44 PixelFormat m_format;
Ddumbframebuffer.h13 DumbFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format);
19 PixelFormat format() const { return m_format; } in format()
45 PixelFormat m_format;
/external/deqp/framework/common/
DtcuPixelFormat.hpp35 struct PixelFormat struct
42 PixelFormat (int red, int green, int blue, int alpha) in PixelFormat() function
50 PixelFormat (void) in PixelFormat() function
125 inline bool operator== (const PixelFormat& other) const in operator ==() argument
133 inline bool operator!= (const PixelFormat& other) const in operator !=() argument
DtcuRenderTarget.hpp39 …RenderTarget (int width, int height, const PixelFormat& pixelFormat, int depthBits, int stencilBi…
42 const PixelFormat& getPixelFormat (void) const { return m_pixelFormat; } in getPixelFormat()
54 PixelFormat m_pixelFormat;
DtcuSurfaceAccess.hpp34 inline deUint8 getColorMask (const tcu::PixelFormat& format) in getColorMask()
53 SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt);
54 …SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt, int x, int y, int width, …
/external/libkmsxx/kms++/src/omap/
Domapframebuffer.cpp34 OmapFramebuffer::OmapFramebuffer(OmapCard& card, uint32_t width, uint32_t height, PixelFormat forma… in OmapFramebuffer()
82 case PixelFormat::NV12: in Create()
84 case PixelFormat::YUYV: in Create()
85 case PixelFormat::UYVY: in Create()
87 case PixelFormat::ARGB8888: in Create()
88 case PixelFormat::XRGB8888: in Create()
90 case PixelFormat::RGB565: in Create()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp48 PVRTuint64 PixelFormat = sTextureHeader.u64PixelFormat; in PVRTGetOGLES3TextureFormat() local
58 PVRTuint64 PixelFormatPartHigh = PixelFormat&PVRTEX_PFHIGHMASK; in PVRTGetOGLES3TextureFormat()
64 switch (PixelFormat) in PVRTGetOGLES3TextureFormat()
206 if (PixelFormat==PVRTGENPIXELID3('r','g','b',11,11,10) ) in PVRTGetOGLES3TextureFormat()
216 switch (PixelFormat) in PVRTGetOGLES3TextureFormat()
324 switch (PixelFormat) in PVRTGetOGLES3TextureFormat()
386 switch (PixelFormat) in PVRTGetOGLES3TextureFormat()
418 switch (PixelFormat) in PVRTGetOGLES3TextureFormat()
450 switch (PixelFormat) in PVRTGetOGLES3TextureFormat()
481 switch (PixelFormat) in PVRTGetOGLES3TextureFormat()
[all …]
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp264 const tcu::PixelFormat& pixelFormat);
273 const tcu::PixelFormat& pixelFormat);
282 const tcu::PixelFormat& pixelFormat);
291 const tcu::PixelFormat& pixelFormat);
300 const tcu::PixelFormat& pixelFormat);
309 const tcu::PixelFormat& pixelFormat);
319 const tcu::PixelFormat& pixelFormat);
352 inline tcu::IVec4 getBitsVec (const tcu::PixelFormat& format) in getBitsVec()
357 inline tcu::BVec4 getCompareMask (const tcu::PixelFormat& format) in getCompareMask()
/external/libkmsxx/kms++/inc/kms++/omap/
Domapframebuffer.h25 …OmapFramebuffer(OmapCard& card, uint32_t width, uint32_t height, PixelFormat format, Flags flags =…
31 PixelFormat format() const { return m_format; } in format()
60 PixelFormat m_format;
/external/skqp/src/utils/win/
DSkWGL_win.cpp107 struct PixelFormat { struct
113 bool pf_less(const PixelFormat& a, const PixelFormat& b) { in pf_less()
133 PixelFormat desiredFormat = { in selectFormat()
138 SkTDArray<PixelFormat> rankedFormats; in selectFormat()
155 SkTLessFunctionToFunctorAdaptor<PixelFormat, pf_less>()); in selectFormat()
156 int idx = SkTSearch<PixelFormat, pf_less>(rankedFormats.begin(), in selectFormat()
159 sizeof(PixelFormat)); in selectFormat()
/external/skia/src/utils/win/
DSkWGL_win.cpp107 struct PixelFormat { struct
113 bool pf_less(const PixelFormat& a, const PixelFormat& b) { in pf_less()
133 PixelFormat desiredFormat = { in selectFormat()
138 SkTDArray<PixelFormat> rankedFormats; in selectFormat()
155 SkTLessFunctionToFunctorAdaptor<PixelFormat, pf_less>()); in selectFormat()
156 int idx = SkTSearch<PixelFormat, pf_less>(rankedFormats.begin(), in selectFormat()
159 sizeof(PixelFormat)); in selectFormat()

123456