Home
last modified time | relevance | path

Searched refs:ColorDepth (Results 1 – 25 of 858) sorted by relevance

12345678910>>...35

/dports/lang/spidermonkey78/firefox-78.9.0/gfx/2d/
H A DTypes.h217 case ColorDepth::COLOR_8: in SurfaceFormatForColorDepth()
219 case ColorDepth::COLOR_10: in SurfaceFormatForColorDepth()
220 case ColorDepth::COLOR_12: in SurfaceFormatForColorDepth()
221 case ColorDepth::COLOR_16: in SurfaceFormatForColorDepth()
224 case ColorDepth::UNKNOWN: in SurfaceFormatForColorDepth()
233 case ColorDepth::COLOR_8: in BitDepthForColorDepth()
235 case ColorDepth::COLOR_10: in BitDepthForColorDepth()
244 case ColorDepth::UNKNOWN: in BitDepthForColorDepth()
251 ColorDepth depth = ColorDepth::COLOR_8; in ColorDepthForBitDepth()
275 case ColorDepth::COLOR_8: in RescalingFactorForColorDepth()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/
H A DImageListTest.cs32 Assert.AreEqual (ColorDepth.Depth8Bit, myimagelist.ColorDepth, "#C1"); in ImageListPropertyTest()
33 myimagelist.ColorDepth = ColorDepth.Depth32Bit; in ImageListPropertyTest()
34 Assert.AreEqual (ColorDepth.Depth32Bit, myimagelist.ColorDepth, "#C2"); in ImageListPropertyTest()
79 il.ColorDepth = ColorDepth.Depth16Bit; in ImageListComponentModelTest()
104 il.ColorDepth = ColorDepth.Depth16Bit; in ImageListComponentModelTest()
175 myimagelist.ColorDepth = ColorDepth.Depth8Bit; in RecreateHandleEvenTest()
184 myimagelist.ColorDepth = ColorDepth.Depth32Bit; in RecreateHandleEvenTest()
/dports/www/firefox/firefox-99.0/gfx/webrender_bindings/
H A DRenderTextureHostSWGL.cpp29 gfx::ColorDepth colorDepth = GetColorDepth(); in UpdatePlanes()
42 MOZ_ASSERT(colorDepth == gfx::ColorDepth::COLOR_8); in UpdatePlanes()
47 case gfx::ColorDepth::COLOR_8: in UpdatePlanes()
50 case gfx::ColorDepth::COLOR_10: in UpdatePlanes()
51 case gfx::ColorDepth::COLOR_12: in UpdatePlanes()
52 case gfx::ColorDepth::COLOR_16: in UpdatePlanes()
59 case gfx::ColorDepth::COLOR_8: in UpdatePlanes()
62 case gfx::ColorDepth::COLOR_10: in UpdatePlanes()
63 case gfx::ColorDepth::COLOR_12: in UpdatePlanes()
64 case gfx::ColorDepth::COLOR_16: in UpdatePlanes()
[all …]
H A DRenderD3D11TextureHost.h46 gfx::ColorDepth GetColorDepth() const override { in GetColorDepth()
48 return gfx::ColorDepth::COLOR_10; in GetColorDepth()
51 return gfx::ColorDepth::COLOR_16; in GetColorDepth()
53 return gfx::ColorDepth::COLOR_8; in GetColorDepth()
70 ? (GetColorDepth() == gfx::ColorDepth::COLOR_8 ? 1 : 2) in Bytes()
121 gfx::ColorDepth aColorDepth,
146 gfx::ColorDepth GetColorDepth() const override { return mColorDepth; } in GetColorDepth()
165 size_t bpp = mColorDepth == gfx::ColorDepth::COLOR_8 ? 1 : 2; in Bytes()
198 gfx::ColorDepth mColorDepth;
/dports/devel/py-prompt-toolkit/prompt_toolkit-3.0.23/prompt_toolkit/output/
H A Dvt100.py36 from .color_depth import ColorDepth
279 def __init__(self, color_depth: ColorDepth) -> None: argument
440 ColorDepth.DEPTH_1_BIT: _EscapeCodeCache(ColorDepth.DEPTH_1_BIT),
441 ColorDepth.DEPTH_4_BIT: _EscapeCodeCache(ColorDepth.DEPTH_4_BIT),
442 ColorDepth.DEPTH_8_BIT: _EscapeCodeCache(ColorDepth.DEPTH_8_BIT),
443 ColorDepth.DEPTH_24_BIT: _EscapeCodeCache(ColorDepth.DEPTH_24_BIT),
744 def get_default_color_depth(self) -> ColorDepth:
758 return ColorDepth.DEFAULT
761 return ColorDepth.DEPTH_1_BIT
764 return ColorDepth.DEPTH_4_BIT
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/2d/
H A DTypes.h306 case ColorDepth::COLOR_8: in SurfaceFormatForColorDepth()
308 case ColorDepth::COLOR_10: in SurfaceFormatForColorDepth()
309 case ColorDepth::COLOR_12: in SurfaceFormatForColorDepth()
310 case ColorDepth::COLOR_16: in SurfaceFormatForColorDepth()
320 case ColorDepth::COLOR_8: in BitDepthForColorDepth()
322 case ColorDepth::COLOR_10: in BitDepthForColorDepth()
325 case ColorDepth::COLOR_12: in BitDepthForColorDepth()
328 case ColorDepth::COLOR_16: in BitDepthForColorDepth()
336 ColorDepth depth = ColorDepth::COLOR_8; in ColorDepthForBitDepth()
358 case ColorDepth::COLOR_8: in RescalingFactorForColorDepth()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/2d/
H A DTypes.h306 case ColorDepth::COLOR_8: in SurfaceFormatForColorDepth()
308 case ColorDepth::COLOR_10: in SurfaceFormatForColorDepth()
309 case ColorDepth::COLOR_12: in SurfaceFormatForColorDepth()
310 case ColorDepth::COLOR_16: in SurfaceFormatForColorDepth()
320 case ColorDepth::COLOR_8: in BitDepthForColorDepth()
322 case ColorDepth::COLOR_10: in BitDepthForColorDepth()
325 case ColorDepth::COLOR_12: in BitDepthForColorDepth()
328 case ColorDepth::COLOR_16: in BitDepthForColorDepth()
336 ColorDepth depth = ColorDepth::COLOR_8; in ColorDepthForBitDepth()
358 case ColorDepth::COLOR_8: in RescalingFactorForColorDepth()
[all …]
/dports/print/hplip/hplip-3.20.6/prnt/hpijs/
H A Dhalftoner.cpp100 NumRows[K] = ColorDepth[K] = OutputWidth[K] = 0; in Halftoner()
122 ColorDepth[i]= pPM->ColorDepth[i]; in Halftoner()
130 NumRows[i] = ColorDepth[i] = OutputWidth[i] = 0; in Halftoner()
187 for (k=0; k < ColorDepth[i]; k++) in Halftoner()
222 for (k=0; k < ColorDepth[i]; k++) in Halftoner()
249 for (int k=0; k < ColorDepth[i]; k++) in ~Halftoner()
339 if (iPlane == ColorDepth[iColor]) in NextOutputRaster()
368 (iPlane == ColorDepth[iColor]) // was pre-incremented in LastPlane()
397 tmp = (unsigned int)(NumRows[0]*ColorDepth[0]); in GetOutputWidth()
448 count += NumRows[i] * ColorDepth[i]; in PlaneCount()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/OvmfPkg/QemuVideoDxe/
H A DInitialize.c182 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
189 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
317 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
319 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
324 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
331 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/OvmfPkg/QemuVideoDxe/
H A DInitialize.c182 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
189 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
317 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
319 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
324 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
331 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/OvmfPkg/QemuVideoDxe/
H A DInitialize.c182 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
189 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
317 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
319 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
324 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
331 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/OvmfPkg/QemuVideoDxe/
H A DInitialize.c182 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
189 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
317 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
319 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
324 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
331 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/OvmfPkg/QemuVideoDxe/
H A DInitialize.c182 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
189 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
317 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
319 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
324 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
331 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/OvmfPkg/QemuVideoDxe/
H A DInitialize.c182 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
189 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
317 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
319 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
324 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
331 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/OvmfPkg/QemuVideoDxe/
H A DInitialize.c182 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
189 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
317 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
319 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
324 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
331 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/OvmfPkg/QemuVideoDxe/
H A DInitialize.c182 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
189 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
317 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
319 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
324 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
331 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/sysutils/edk2/edk2-edk2-stable202102/OvmfPkg/QemuVideoDxe/
H A DInitialize.c182 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
189 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
317 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
319 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
324 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
331 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/sysutils/edk2/edk2-platforms-89f6170d/Platform/Intel/SimicsOpenBoardPkg/SimicsVideoDxe/
H A DInitialize.c181 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
188 ModeData->ColorDepth in QemuVideoCirrusModeSetup()
316 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
318 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
323 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
330 ModeData->ColorDepth in QemuVideoBochsModeSetup()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/gfx/
H A Dgfx_defines.h43 int32_t ColorDepth; // color depth in bits per pixel member
46 : ColorDepth(0) { in GraphicResolution()
50 : Size(width, height), ColorDepth(color_depth) { in GraphicResolution()
54 : Size(size), ColorDepth(color_depth) { in GraphicResolution()
58 return Width > 0 && Height > 0 && ColorDepth > 0; in IsValid()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/OvmfPkg/QemuVideoDxe/
H A DInitialize.c188 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
196 ModeData->ColorDepth, in QemuVideoCirrusModeSetup()
325 ASSERT (VideoMode->ColorDepth % 8 == 0); in QemuVideoBochsModeSetup()
327 (VideoMode->ColorDepth / 8); in QemuVideoBochsModeSetup()
332 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoBochsModeSetup()
340 ModeData->ColorDepth, in QemuVideoBochsModeSetup()
/dports/www/firefox/firefox-99.0/gfx/2d/
H A DTypes.h437 case ColorDepth::COLOR_8: in SurfaceFormatForColorDepth()
439 case ColorDepth::COLOR_10: in SurfaceFormatForColorDepth()
440 case ColorDepth::COLOR_12: in SurfaceFormatForColorDepth()
441 case ColorDepth::COLOR_16: in SurfaceFormatForColorDepth()
451 case ColorDepth::COLOR_8: in BitDepthForColorDepth()
453 case ColorDepth::COLOR_10: in BitDepthForColorDepth()
456 case ColorDepth::COLOR_12: in BitDepthForColorDepth()
459 case ColorDepth::COLOR_16: in BitDepthForColorDepth()
467 ColorDepth depth = ColorDepth::COLOR_8; in ColorDepthForBitDepth()
489 case ColorDepth::COLOR_8: in RescalingFactorForColorDepth()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/webrender_bindings/
H A DRenderD3D11TextureHost.h47 gfx::ColorDepth GetColorDepth() const override { in GetColorDepth()
49 return gfx::ColorDepth::COLOR_10; in GetColorDepth()
52 return gfx::ColorDepth::COLOR_16; in GetColorDepth()
54 return gfx::ColorDepth::COLOR_8; in GetColorDepth()
71 ? (GetColorDepth() == gfx::ColorDepth::COLOR_8 ? 1 : 2) in Bytes()
119 gfx::ColorDepth aColorDepth,
144 gfx::ColorDepth GetColorDepth() const override { return mColorDepth; } in GetColorDepth()
163 size_t bpp = mColorDepth == gfx::ColorDepth::COLOR_8 ? 1 : 2; in Bytes()
196 gfx::ColorDepth mColorDepth;
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/webrender_bindings/
H A DRenderD3D11TextureHost.h47 gfx::ColorDepth GetColorDepth() const override { in GetColorDepth()
49 return gfx::ColorDepth::COLOR_10; in GetColorDepth()
52 return gfx::ColorDepth::COLOR_16; in GetColorDepth()
54 return gfx::ColorDepth::COLOR_8; in GetColorDepth()
71 ? (GetColorDepth() == gfx::ColorDepth::COLOR_8 ? 1 : 2) in Bytes()
119 gfx::ColorDepth aColorDepth,
144 gfx::ColorDepth GetColorDepth() const override { return mColorDepth; } in GetColorDepth()
163 size_t bpp = mColorDepth == gfx::ColorDepth::COLOR_8 ? 1 : 2; in Bytes()
196 gfx::ColorDepth mColorDepth;
/dports/devel/py-prompt-toolkit/prompt_toolkit-3.0.23/examples/print-text/
H A Dtrue-color-demo.py7 from prompt_toolkit.output import ColorDepth
28 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_4_BIT)
29 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_8_BIT)
30 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_24_BIT)
/dports/devel/py-prompt-toolkit2/prompt_toolkit-2.0.10/examples/print-text/
H A Dtrue-color-demo.py9 from prompt_toolkit.output import ColorDepth
30 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_4_BIT)
31 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_8_BIT)
32 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_24_BIT)

12345678910>>...35