Home
last modified time | relevance | path

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

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Backends/Display/
DColorFormat.cs15 public enum PixelFormat enum
60 var values = Enum.GetValues(typeof(PixelFormat)); in PixelFormatExtensions()
69 …row new ArgumentException(string.Format("Unexpected pixel format value: {0}", (PixelFormat)value)); in PixelFormatExtensions()
71 depths[value] = GetColorsLengths((PixelFormat)value).Sum(x => x.Value) / 8; in PixelFormatExtensions()
79 public static int GetColorDepth(this PixelFormat format) in GetColorDepth()
93 public static Dictionary<ColorType, byte> GetColorsLengths(this PixelFormat format) in GetColorsLengths()
DPixelManipulationTools.cs19 …erter GetConverter(PixelFormat inputFormat, Endianess inputEndianess, PixelFormat outputFormat, En… in GetConverter()
38PixelFormat backBuffer, Endianess backBufferEndianess, PixelFormat frontBuffer, Endianess frontBuf… in GetBlender()
428 …if((inputBufferDescriptor.ColorFormat == PixelFormat.A4 || inputBufferDescriptor.ColorFormat == Pi… in GenerateFrom()
645 public PixelConverter(PixelFormat input, PixelFormat output, ConvertDelegate converter) in PixelConverter()
662 public PixelFormat Input { get; private set; }
663 public PixelFormat Output { get; private set; }
670 …public PixelBlender(PixelFormat back, PixelFormat front, PixelFormat output, BlendDelegate blender) in PixelBlender()
692 public PixelFormat BackBuffer { get; private set; }
693 public PixelFormat FrontBuffer { get; private set; }
694 public PixelFormat Output { get; private set; }
[all …]
DIPixelBlender.cs19 PixelFormat BackBuffer { get; }
20 PixelFormat FrontBuffer { get; }
21 PixelFormat Output { get; }
DIPixelConverter.cs33 PixelFormat Input { get; }
38 PixelFormat Output { get; }
DIDisplay.cs16 void SetDisplayParameters(int width, int height, PixelFormat colorFormat); in SetDisplayParameters()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Video/
DTegraDisplay.cs20 Reconfigure(640, 480, PixelFormat.RGB565); in TegraDisplay()
49 Reconfigure(format: PixelFormat.RGB565); in WriteDoubleWord()
52 Reconfigure(format: PixelFormat.BGRX8888); in WriteDoubleWord()
55 Reconfigure(format: PixelFormat.RGBX8888); in WriteDoubleWord()
59 Reconfigure(format: PixelFormat.RGB565); in WriteDoubleWord()
DVybridDCU.cs20 Reconfigure(format: PixelFormat.BGR888); in VybridDCU()
55 Reconfigure(format: PixelFormat.RGB565); in WriteDoubleWord()
58 Reconfigure(format: PixelFormat.RGB888); in WriteDoubleWord()
61 Reconfigure(format: PixelFormat.ARGB8888); in WriteDoubleWord()
DMusteinGenericGPU.cs68 colorModeToPixelFormatTable = new Dictionary<ColorMode, PixelFormat>() in MusteinGenericGPU()
70 … { ColorMode.LowColor, (lookupTableRgbx) ? PixelFormat.RGBX8888 : PixelFormat.BGRX8888 }, in MusteinGenericGPU()
71 { ColorMode.HighColor, PixelFormat.RGB565 }, in MusteinGenericGPU()
72 { ColorMode.TrueColor, PixelFormat.RGBX8888 } in MusteinGenericGPU()
287 private readonly Dictionary<ColorMode, PixelFormat> colorModeToPixelFormatTable;
DLiteX_Framebuffer_CSR32.cs19 …public LiteX_Framebuffer_CSR32(IMachine machine, PixelFormat format, IBusPeripheral memory, uint o… in LiteX_Framebuffer_CSR32()
121 private readonly PixelFormat format;
DLiteX_Framebuffer.cs22 …public LiteX_Framebuffer(IMachine machine, PixelFormat format, IBusPeripheral memory) : base(machi… in LiteX_Framebuffer()
107 private readonly PixelFormat format;
DPL110.cs21 … Reconfigure(screenWidth ?? DefaultWidth, screenHeight ?? DefaultHeight, PixelFormat.RGB565); in PL110()
DSTM32LTDC.cs25 Reconfigure(format: PixelFormat.RGBX8888); in STM32LTDC()
327 …PixelManipulationTools.GetConverter(PixelFormat.ARGB8888, video.Endianess, PixelFormatField.Value.… in HandleLayerBackgroundColorChange()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/DMA/
DDma2DColorMode.cs43 cache = new Dictionary<Dma2DColorMode, PixelFormat>(); in Dma2DColorModeExtensions()
46 PixelFormat format; in Dma2DColorModeExtensions()
56 public static PixelFormat ToPixelFormat(this Dma2DColorMode mode) in ToPixelFormat()
58 PixelFormat result; in ToPixelFormat()
67 private static Dictionary<Dma2DColorMode, PixelFormat> cache;
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Video/
DAutoRepaintingVideo.cs37 … = PixelManipulationTools.GetConverter(Format, Endianess, RawImageData.PixelFormat, ELFSharp.ELF.E… in TakeScreenshot()
38 var outBuffer = new byte[Width * Height * RawImageData.PixelFormat.GetColorDepth()]; in TakeScreenshot()
72 public PixelFormat Format { get; private set; }
76 public event Action<int, int, PixelFormat, ELFSharp.ELF.Endianess> ConfigurationChanged
95 …protected void Reconfigure(int? width = null, int? height = null, PixelFormat? format = null, bool… in Reconfigure()
168 private Action<int, int, PixelFormat, ELFSharp.ELF.Endianess> configurationChanged;
DVideoBackend.cs32 …private void HandleConfigurationChanged(int width, int height, PixelFormat format, Endianess endia… in HandleConfigurationChanged()
42 public PixelFormat Format { get; private set; }
DIVideo.cs17 event Action<int, int, PixelFormat, Endianess> ConfigurationChanged;
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DRawImageData.cs19 if(bytes.Length != width * height * PixelFormat.GetColorDepth()) in RawImageData()
48 … public const PixelFormat PixelFormat = Antmicro.Renode.Backends.Display.PixelFormat.RGBA8888; field
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Testing/
DFrameBufferTester.cs70 …ockBits(new Rectangle(0, 0, image.Width, image.Height), ImageLockMode.ReadOnly, image.PixelFormat); in BitmapToByteArray()
182 …private void HandleConfigurationChange(int width, int height, Backends.Display.PixelFormat format,… in HandleConfigurationChange()
209 …ols.GetConverter((Backends.Display.PixelFormat)format, (ELFSharp.ELF.Endianess)endianess, Backends… in InitConverter()
219 private Backends.Display.PixelFormat? format;
/Renode-Infrastructure-v1.15.3-29f510e/src/UI/VideoAnalyzer/
DFrameBufferDisplayWidget.cs80 public void OnDisplayParametersChanged(int width, int height, PixelFormat format) in OnDisplayParametersChanged()
89 …public void SetDisplayParameters(int desiredWidth, int desiredHeight, PixelFormat colorFormat, End… in SetDisplayParameters()
101 var pixelFormat = PixelFormat.RGBA8888; in SetDisplayParameters()
103 pixelFormat = PixelFormat.BGRA8888; in SetDisplayParameters()
150 public Action<int, int, PixelFormat> DisplayParametersChanged;
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/HostInterfaces/Camera/
DHostCamera.cs69 … PixelManipulationTools.GetConverter(PixelFormat.RGB888, ELFSharp.ELF.Endianess.BigEndian, RawImag… in GetLastFrame()
70 …ult = new byte[decompressed.Width * decompressed.Height * RawImageData.PixelFormat.GetColorDepth()… in GetLastFrame()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/
DDisplayImageCommand.cs51 var bytes = new byte[width * height * RawImageData.PixelFormat.GetColorDepth()]; in Run()