* i420_rgb.h : YUV to bitmap RGB conversion module for vlc
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* i420_rgb.h : YUV to bitmap RGB conversion module for vlc
*****************************************************************************
* Copyright (C) 2000 VideoLAN
int *p_offset;
#ifdef MODULE_NAME_IS_i420_rgb
/* Pre-calculated conversion tables */
void *p_base; /* base for all conversion tables */
int *p_offset;
#ifdef MODULE_NAME_IS_i420_rgb
/* Pre-calculated conversion tables */
void *p_base; /* base for all conversion tables */
- u8 *p_rgb8; /* RGB 8 bits table */
- u16 *p_rgb16; /* RGB 16 bits table */
- u32 *p_rgb32; /* RGB 32 bits table */
+ uint8_t *p_rgb8; /* RGB 8 bits table */
+ uint16_t *p_rgb16; /* RGB 16 bits table */
+ uint32_t *p_rgb32; /* RGB 32 bits table */
} \
else \
{ \
/* No scaling, conversion has been done directly in picture memory. \
* Increment of picture pointer to end of line is still needed */ \
} \
else \
{ \
/* No scaling, conversion has been done directly in picture memory. \
* Increment of picture pointer to end of line is still needed */ \
\
/* Increment the Y coordinate in the matrix, modulo 4 */ \
i_real_y = (i_real_y + 1) & 0x3; \
\
/* Increment the Y coordinate in the matrix, modulo 4 */ \
i_real_y = (i_real_y + 1) & 0x3; \
/* Height increment: copy previous picture line */ \
p_vout->p_vlc->pf_memcpy( p_pic, p_pic_start, \
p_vout->output.i_width * BPP ); \
/* Height increment: copy previous picture line */ \
p_vout->p_vlc->pf_memcpy( p_pic, p_pic_start, \
p_vout->output.i_width * BPP ); \