[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 04/19] hw/display/blizzard.c: Delete unused function
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PULL 04/19] hw/display/blizzard.c: Delete unused function blizzard_rgb2yuv |
Date: |
Mon, 29 Sep 2014 19:26:38 +0100 |
The function blizzard_rgb2yuv() is unused; delete it.
Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
---
hw/display/blizzard.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/hw/display/blizzard.c b/hw/display/blizzard.c
index 55c0ddf..92b1fac 100644
--- a/hw/display/blizzard.c
+++ b/hw/display/blizzard.c
@@ -134,14 +134,6 @@ static const int blizzard_iformat_bpp[0x10] = {
0, 0, 0, 0, 0, 0,
};
-static inline void blizzard_rgb2yuv(int r, int g, int b,
- int *y, int *u, int *v)
-{
- *y = 0x10 + ((0x838 * r + 0x1022 * g + 0x322 * b) >> 13);
- *u = 0x80 + ((0xe0e * b - 0x04c1 * r - 0x94e * g) >> 13);
- *v = 0x80 + ((0xe0e * r - 0x0bc7 * g - 0x247 * b) >> 13);
-}
-
static void blizzard_window(BlizzardState *s)
{
DisplaySurface *surface = qemu_console_surface(s->con);
--
1.9.1
- [Qemu-devel] [PULL 00/19] target-arm queue, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 18/19] target-arm: Add IRQ and FIQ routing to EL2 and 3, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 17/19] target-arm: A64: Emulate the SMC insn, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 15/19] target-arm: A64: Emulate the HVC insn, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 12/19] target-arm: Break out exception masking to a separate func, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 07/19] hw/input/tsc210x.c: Delete unused array tsc2101_rates, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 06/19] hw/display/pxa2xx_lcd.c: Remove unused function pxa2xx_dma_rdst_set, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 04/19] hw/display/blizzard.c: Delete unused function blizzard_rgb2yuv,
Peter Maydell <=
- [Qemu-devel] [PULL 19/19] target-arm: Add support for VIRQ and VFIQ, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 03/19] configure: Build GDB XML for 32 bit ARM CPUs into qemu aarch64 binaries, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 05/19] hw/intc/imx_avic.c: Remove unused function imx_avic_set_prio(), Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 16/19] target-arm: Add a Hypervisor Trap exception type, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 08/19] target-arm: Don't handle c15_cpar changes via tb_flush(), Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 14/19] target-arm: A64: Correct updates to FAR and ESR on exceptions, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 13/19] target-arm: Don't take interrupts targeting lower ELs, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 10/19] target-arm: Add SCR_EL3, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 01/19] target-arm: Implement setting guest breakpoints, Peter Maydell, 2014/09/29
- [Qemu-devel] [PULL 11/19] target-arm: A64: Refactor aarch64_cpu_do_interrupt, Peter Maydell, 2014/09/29