diff options
author | Rick Tillery <rtillery@ti.com> | 2011-11-15 14:57:25 -0600 |
---|---|---|
committer | Rick Tillery <rtillery@ti.com> | 2011-11-15 14:57:25 -0600 |
commit | 6fd322bc45141a0d670fc002d57f9f3b8ecbb7c7 (patch) | |
tree | 70cbae28da87d29a2bfdc75f0c41ad8c2d585a2f | |
parent | 249c0015943a619d653c8239b69ed54e15f5d1df (diff) | |
download | hardware_ti_omap4-6fd322bc45141a0d670fc002d57f9f3b8ecbb7c7.zip hardware_ti_omap4-6fd322bc45141a0d670fc002d57f9f3b8ecbb7c7.tar.gz hardware_ti_omap4-6fd322bc45141a0d670fc002d57f9f3b8ecbb7c7.tar.bz2 |
Move bvsurfgeom to separate header to make replacement in kernel mode
interface easier.
Change-Id: I9ecbad97875cc6c17ac393e1681366a74be8eb2d
Signed-off-by: Rick Tillery <rtillery@ti.com>
-rwxr-xr-x | bltsville/include/bltsville.h | 23 | ||||
-rwxr-xr-x | bltsville/include/bvsurfgeom.h | 41 |
2 files changed, 42 insertions, 22 deletions
diff --git a/bltsville/include/bltsville.h b/bltsville/include/bltsville.h index 66e22d5..e0bc8ca 100755 --- a/bltsville/include/bltsville.h +++ b/bltsville/include/bltsville.h @@ -22,6 +22,7 @@ #include "bvfilter.h" #include "bvbuffdesc.h" #include "bventry.h" +#include "bvsurfgeom.h" /* * bvrect - This structure is used to specify rectangles in BLTsville. @@ -35,28 +36,6 @@ struct bvrect { /* - * bvsurfdesc - This structure specifies the way a buffer should be used in a - * 2-D context. - */ - -struct bvsurfgeom { - unsigned int structsize; /* used to identify struct version */ - enum ocdformat format; /* color format of surface */ - unsigned int width; /* width of the surface in pixels */ - unsigned int height; /* height of the surface in lines */ - int orientation; /* angle of the surface in degrees - (multiple of 90 only) */ - long virtstride; /* distance from one pixel to the - pixel immediately below it in - virtual space */ - enum ocdformat paletteformat; /* format of palette */ - void *palette; /* array of palette entries of - paletteformat; only valid when - format includes BVFMTDEF_LUT; - number of entries is 2^bpp. */ -}; - -/* * BVFLAG_* - These define the type of BLT to be performed and are placed in * the bvparams.flags element. */ diff --git a/bltsville/include/bvsurfgeom.h b/bltsville/include/bvsurfgeom.h new file mode 100755 index 0000000..70029fc --- /dev/null +++ b/bltsville/include/bvsurfgeom.h @@ -0,0 +1,41 @@ +/* + * bvsurfgeom.h + * + * Copyright (C) 2011 Texas Instruments, Inc. + * + * This file is part of BLTsville, an open application programming interface + * (API) for accessing 2-D software or hardware implementations. + * + * This work is licensed under the Creative Commons Attribution-NoDerivs 3.0 + * Unported License. To view a copy of this license, visit + * http://creativecommons.org/licenses/by-nd/3.0/ or send a letter to + * Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, + * 94041, USA. + */ + +#ifndef BVSURFGEOM_H +#define BVSURFGEOM_H + +/* + * bvsurfdesc - This structure specifies the way a buffer should be used in a + * 2-D context. + */ + +struct bvsurfgeom { + unsigned int structsize; /* used to identify struct version */ + enum ocdformat format; /* color format of surface */ + unsigned int width; /* width of the surface in pixels */ + unsigned int height; /* height of the surface in lines */ + int orientation; /* angle of the surface in degrees + (multiple of 90 only) */ + long virtstride; /* distance from one pixel to the + pixel immediately below it in + virtual space */ + enum ocdformat paletteformat; /* format of palette */ + void *palette; /* array of palette entries of + paletteformat; only valid when + format includes BVFMTDEF_LUT; + number of entries is 2^bpp. */ +}; + +#endif /* BVSURFGEOM_H */ |