New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=3afd652d8be162b15ec2fbfd6921af95f48de763
commit 3afd652d8be162b15ec2fbfd6921af95f48de763
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date:   Sun Dec 23 16:11:30 2007 +0100

    SH7722: Experimental JPEG decoding (first working version) and other 
enhancements and fixes.
    
    Changed the LCD buffer from RGB16 to NV16 to improve image quality with 
same amount of data.
    BEU generates YCbCr 4:2:2 content, LCDC converts and sends RGB18 data to 
the display (at least on AP325).
    
    Switched BEU to YCbCr input by default, thus allowing only the first layer 
to be (A)RGB.
    Implemented LUT8 support for the third layer. Added lock for BEU code 
called for different layers.
    Automatic parent input system selection and other fixes, allowing to run 
df_fire on third and df_dok
    with alpha channel on first layer.
    
    Fixed byte swapping issues, e.g. no more swapping between BEU and LCDC, 
correct swapping of BEU input
    depending on number of bytes per pixel.
    
    Added experimental first working version of hardware JPEG decoding:
    
         /*
          * FIRST WORKING VERSION [tm]
          *
          * Almost user space based only. To NOT USE usleep() & friends and 
loose throughput (sleep) or
          * CPU resources (busyloop), I added an ioctl that waits for the next 
interrupt to occur.
          *
          * With a 128x128 image (23k coded data) being loaded in a loop, this 
temporary mechanism is
          * achieving almost the same throughput as a busyloop, but with only 
half the CPU load.
          *
          * TODO
          * - prefetch image info with a state machine used by Construct(), 
GetSurfaceDescription() and RenderTo().
          * - utilize both reload buffers properly (pipelining)
          * - implement clipping, scaling and format conversion via VEU (needs 
line buffer mode)
          * - add locking and/or move more code into the kernel module 
(multiple contexts with queueing?)
          */
    
    Kernel Module
    - Added SH7722GFX_IOCTL_WAIT_JPEG to wait for the next interrupt.
    - Added JPU IRQ handler: save interrupt status in shared memory, clear 
interrupt and wake up waiter.

 gfxdrivers/sh7722/kernel-module/sh7722gfx.c |   87 ++++++-
 gfxdrivers/sh7722/kernel-module/sh7722gfx.h |    4 +
 gfxdrivers/sh7722/sh7722.c                  |   87 ++++++-
 gfxdrivers/sh7722/sh7722.h                  |   75 +++++-
 gfxdrivers/sh7722/sh7722_blt.c              |    8 -
 gfxdrivers/sh7722/sh7722_jpeg.c             |  379 +++++++++++++++++++++++++++
 gfxdrivers/sh7722/sh7722_layer.c            |  141 ++++++++---
 gfxdrivers/sh7722/sh7722_lcd.c              |   78 ++++--
 gfxdrivers/sh7722/sh7722_lcd.h              |   13 +-
 gfxdrivers/sh7722/sh7722_multi.c            |   60 +++--
 gfxdrivers/sh7722/sh7722_types.h            |   15 +
 11 files changed, 842 insertions(+), 105 deletions(-)


_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs

Reply via email to