Commit 9206b014 authored by Sam Hocevar's avatar Sam Hocevar

. correction des conneries de BBP :)

 . typo dans src/interface/main.c
parent 16b22cf4
...@@ -15,7 +15,7 @@ build-stamp: ...@@ -15,7 +15,7 @@ build-stamp:
./configure --prefix=/usr \ ./configure --prefix=/usr \
--mandir=\$${prefix}/share/man \ --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \ --infodir=\$${prefix}/share/info \
--with-ppro --with-mmx --enable-ppro --enable-mmx --enable-gnome
$(MAKE) $(MAKE)
touch build-stamp touch build-stamp
......
shlibs:Depends=libc6 (>= 2.1.2), xlib6g (>= 3.3.6-4) shlibs:Depends=gdk-imlib1 (>= 1.9.8.1-helix1), libart2 (>= 1.2.1-helix1), libaudiofile0, libc6 (>= 2.1.2), libdb2 (>= 1:2.4.14-7), libesd0 (>= 0.2.16) | libesd-alsa0 (>= 0.2.16), libglib1.2 (>= 1.2.0), libgnome32 (>= 1.2.1-helix1), libgnomesupport0 (>= 1.2.1-helix1), libgnomeui32 (>= 1.2.1-helix1), libgtk1.2 (>= 1.2.8-helix1), libz1, xlib6g (>= 3.3.6-4)
...@@ -480,7 +480,7 @@ static void Usage( int i_fashion ) ...@@ -480,7 +480,7 @@ static void Usage( int i_fashion )
" --aout <plugin> \taudio output method\n" " --aout <plugin> \taudio output method\n"
" --stereo, --mono \tstereo/mono audio\n" " --stereo, --mono \tstereo/mono audio\n"
"\n" "\n"
" --novideo \tdisable audio\n" " --novideo \tdisable video\n"
" --vout <plugin> \tvideo output method\n" " --vout <plugin> \tvideo output method\n"
" --display <display> \tdisplay string\n" " --display <display> \tdisplay string\n"
" --width <w>, --height <h> \tdisplay dimensions\n" " --width <w>, --height <h> \tdisplay dimensions\n"
......
...@@ -313,6 +313,14 @@ static void ConvertYUV444RGB32( p_vout_thread_t p_vout, u32 *p_pic, yuv_data ...@@ -313,6 +313,14 @@ static void ConvertYUV444RGB32( p_vout_thread_t p_vout, u32 *p_pic, yuv_data
* and 4 Bpp. * and 4 Bpp.
*****************************************************************************/ *****************************************************************************/
#define SCALE_HEIGHT( CHROMA, BPP ) \ #define SCALE_HEIGHT( CHROMA, BPP ) \
\
/* If line is odd, rewind 4:2:0 U and V samples */ \
if( ((CHROMA == 420) || (CHROMA == 422)) && !(i_y & 0x1) ) \
{ \
p_u -= i_chroma_width; \
p_v -= i_chroma_width; \
} \
\
/* \ /* \
* Handle vertical scaling. The current line can be copied or next one \ * Handle vertical scaling. The current line can be copied or next one \
* can be ignored. \ * can be ignored. \
...@@ -331,7 +339,7 @@ static void ConvertYUV444RGB32( p_vout_thread_t p_vout, u32 *p_pic, yuv_data ...@@ -331,7 +339,7 @@ static void ConvertYUV444RGB32( p_vout_thread_t p_vout, u32 *p_pic, yuv_data
if( (i_scale_count -= i_pic_height) >= 0 ) \ if( (i_scale_count -= i_pic_height) >= 0 ) \
{ \ { \
p_y += i_width; \ p_y += i_width; \
i_y+=2; \ i_y += 2; \
p_u += i_chroma_width; \ p_u += i_chroma_width; \
p_v += i_chroma_width; \ p_v += i_chroma_width; \
continue; \ continue; \
...@@ -359,7 +367,7 @@ static void ConvertYUV444RGB32( p_vout_thread_t p_vout, u32 *p_pic, yuv_data ...@@ -359,7 +367,7 @@ static void ConvertYUV444RGB32( p_vout_thread_t p_vout, u32 *p_pic, yuv_data
} \ } \
while( (i_scale_count -= i_pic_height) >= 0 ) \ while( (i_scale_count -= i_pic_height) >= 0 ) \
{ \ { \
/* Height reduction: skip next source line */ \ /* Height reduction: skip next source line */ \
p_y += i_width; \ p_y += i_width; \
if( (CHROMA == 420) || (CHROMA == 422) ) \ if( (CHROMA == 420) || (CHROMA == 422) ) \
{ \ { \
...@@ -437,7 +445,6 @@ static void ConvertYUV444RGB32( p_vout_thread_t p_vout, u32 *p_pic, yuv_data ...@@ -437,7 +445,6 @@ static void ConvertYUV444RGB32( p_vout_thread_t p_vout, u32 *p_pic, yuv_data
* Handle vertical scaling. The current line can be copied or next one \ * Handle vertical scaling. The current line can be copied or next one \
* can be ignored. \ * can be ignored. \
*/ \ */ \
\
switch( i_vertical_scaling ) \ switch( i_vertical_scaling ) \
{ \ { \
case -1: /* vertical scaling factor is < 1 */ \ case -1: /* vertical scaling factor is < 1 */ \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment