New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=895f5593d86f61858f682be9fb9b4e2b19931973
commit 895f5593d86f61858f682be9fb9b4e2b19931973
Author: André Draszik <[email protected]>
Date: Thu May 9 16:07:25 2013 +0100
convert: fix YV16 conversion to various formats
We can now calculate the correct Cb/Cr start addresses, and at
the same time can fix the RGB24 swap that erroneously happened.
Signed-off-by: André Draszik <[email protected]>
src/gfx/convert.c | 35 ++++++++++-------------------------
1 file changed, 10 insertions(+), 25 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=a9b1e5fd5baf2f82467ee1cafb7eeadd35a680f9
commit a9b1e5fd5baf2f82467ee1cafb7eeadd35a680f9
Author: André Draszik <[email protected]>
Date: Thu May 9 14:49:14 2013 +0100
convert: modify conversion APIs to be able to support planar formats
Since we can't calculate the Cb/Cr pixel addresses for most
planar (YCbCr) formats, we have to get them passed in by the callers.
Signed-off-by: André Draszik <[email protected]>
gfxdrivers/davinci/davinci_osd.c | 1 +
src/core/surface.c | 5 ++++-
src/core/surface_buffer.c | 10 ++++++++--
src/gfx/convert.c | 28 ++++++++++++++++++++++++++++
src/gfx/convert.h | 28 ++++++++++++++++++++++++++++
systems/sdl/primary.c | 4 +++-
systems/x11/primary.c | 16 ++++++++++++----
tools/mkdgifft.cpp | 1 +
8 files changed, 85 insertions(+), 8 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=4b0488e6760db081f049def770a4b8833fa21370
commit 4b0488e6760db081f049def770a4b8833fa21370
Author: André Draszik <[email protected]>
Date: Thu May 9 14:45:37 2013 +0100
surface/surface_buffer/x11/sdl: use dfb_surface_get_data_offsets()
This now allows us to figure out the correct address for split buffer
chroma-downsampled planar YCbCr formats
Signed-off-by: André Draszik <[email protected]>
src/core/surface.c | 12 +++++++++---
src/core/surface_buffer.c | 14 ++++++++++----
systems/sdl/primary.c | 10 ++++++----
systems/x11/primary.c | 18 ++++++++++--------
4 files changed, 35 insertions(+), 19 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=8c4bd47de4c11949ad27d0fdb559885427a55f04
commit 8c4bd47de4c11949ad27d0fdb559885427a55f04
Author: André Draszik <[email protected]>
Date: Tue May 14 10:50:55 2013 +0100
surface: add dfb_surface_get_data_offsets()
This can be used to calculate (and return) the pixel address and pitch
for split buffer formats, for the CbCr or Cb and Cr components (2-plane
or 3-plane formats).
Signed-off-by: André Draszik <[email protected]>
src/core/surface.h | 147 +++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 135 insertions(+), 12 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=ab7cff8d778798a3bbcd2bd5f77fea040d4068d7
commit ab7cff8d778798a3bbcd2bd5f77fea040d4068d7
Author: André Draszik <[email protected]>
Date: Thu May 9 15:58:45 2013 +0100
systems: convert some code to using dfb_surface_data_offset()
Signed-off-by: André Draszik <[email protected]>
systems/sdl/primary.c | 5 ++---
systems/x11/primary.c | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs