summaryrefslogtreecommitdiff
path: root/src/xine-utils/xineutils.h
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2002-08-28 03:32:48 +0000
committerMike Melanson <mike@multimedia.cx>2002-08-28 03:32:48 +0000
commitd1606decedff8ef07319d9ea4830ececf69f62d0 (patch)
treebe6bc8b8ed1236513b6cf7fdbcaf028df4c79ef5 /src/xine-utils/xineutils.h
parent28280f2f9870a7854ffdd4bccd48bb62468ce6ee (diff)
downloadxine-lib-d1606decedff8ef07319d9ea4830ececf69f62d0.tar.gz
xine-lib-d1606decedff8ef07319d9ea4830ececf69f62d0.tar.bz2
revised palette conversion subsystem to make a little more sense
CVS patchset: 2539 CVS date: 2002/08/28 03:32:48
Diffstat (limited to 'src/xine-utils/xineutils.h')
-rw-r--r--src/xine-utils/xineutils.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h
index 66f704861..cd44dca80 100644
--- a/src/xine-utils/xineutils.h
+++ b/src/xine-utils/xineutils.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xineutils.h,v 1.20 2002/07/24 08:00:13 f1rmb Exp $
+ * $Id: xineutils.h,v 1.21 2002/08/28 03:32:48 tmmm Exp $
*
*/
#ifndef XINEUTILS_H
@@ -728,7 +728,6 @@ typedef struct yuv_planes_s {
unsigned char *u;
unsigned char *v;
unsigned int row_width; /* frame width */
- unsigned int row_stride; /* frame width + 2 */
unsigned int row_count; /* frame height */
} yuv_planes_t;
@@ -753,17 +752,6 @@ extern void (*yuv444_to_yuy2)
(unsigned char) \
((v_r_table[r] + v_g_table[g] + v_b_table[b]) / SCALEFACTOR + CENTERSAMPLE)
-#define FINISH_LINE(yuv_planes, row_ptr) \
- yuv_planes.u[row_ptr + yuv_planes.row_width] = \
- yuv_planes.u[row_ptr + yuv_planes.row_width - 1]; \
- yuv_planes.u[row_ptr + yuv_planes.row_width + 1] = \
- yuv_planes.u[row_ptr + yuv_planes.row_width - 2]; \
- \
- yuv_planes.v[row_ptr + yuv_planes.row_width] = \
- yuv_planes.v[row_ptr + yuv_planes.row_width - 1]; \
- yuv_planes.v[row_ptr + yuv_planes.row_width + 1] = \
- yuv_planes.v[row_ptr + yuv_planes.row_width - 2];
-
#define UNPACK_BGR15(packed_pixel, r, g, b) \
b = (packed_pixel & 0x7C00) >> 7; \
g = (packed_pixel & 0x03E0) >> 2; \