| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Backends/Display/ |
| D | ColorFormat.cs | 15 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()
|
| D | PixelManipulationTools.cs | 19 …erter GetConverter(PixelFormat inputFormat, Endianess inputEndianess, PixelFormat outputFormat, En… in GetConverter() 38 …PixelFormat 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 …]
|
| D | IPixelBlender.cs | 19 PixelFormat BackBuffer { get; } 20 PixelFormat FrontBuffer { get; } 21 PixelFormat Output { get; }
|
| D | IPixelConverter.cs | 33 PixelFormat Input { get; } 38 PixelFormat Output { get; }
|
| D | IDisplay.cs | 16 void SetDisplayParameters(int width, int height, PixelFormat colorFormat); in SetDisplayParameters()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Video/ |
| D | TegraDisplay.cs | 20 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()
|
| D | VybridDCU.cs | 20 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()
|
| D | MusteinGenericGPU.cs | 68 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;
|
| D | LiteX_Framebuffer_CSR32.cs | 19 …public LiteX_Framebuffer_CSR32(IMachine machine, PixelFormat format, IBusPeripheral memory, uint o… in LiteX_Framebuffer_CSR32() 121 private readonly PixelFormat format;
|
| D | LiteX_Framebuffer.cs | 22 …public LiteX_Framebuffer(IMachine machine, PixelFormat format, IBusPeripheral memory) : base(machi… in LiteX_Framebuffer() 107 private readonly PixelFormat format;
|
| D | PL110.cs | 21 … Reconfigure(screenWidth ?? DefaultWidth, screenHeight ?? DefaultHeight, PixelFormat.RGB565); in PL110()
|
| D | STM32LTDC.cs | 25 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/ |
| D | Dma2DColorMode.cs | 43 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/ |
| D | AutoRepaintingVideo.cs | 37 … = 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;
|
| D | VideoBackend.cs | 32 …private void HandleConfigurationChanged(int width, int height, PixelFormat format, Endianess endia… in HandleConfigurationChanged() 42 public PixelFormat Format { get; private set; }
|
| D | IVideo.cs | 17 event Action<int, int, PixelFormat, Endianess> ConfigurationChanged;
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | RawImageData.cs | 19 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/ |
| D | FrameBufferTester.cs | 70 …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/ |
| D | FrameBufferDisplayWidget.cs | 80 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/ |
| D | HostCamera.cs | 69 … 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/ |
| D | DisplayImageCommand.cs | 51 var bytes = new byte[width * height * RawImageData.PixelFormat.GetColorDepth()]; in Run()
|