Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
9206b014
Commit
9206b014
authored
Jun 09, 2000
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
. correction des conneries de BBP :)
. typo dans src/interface/main.c
parent
16b22cf4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
6 deletions
+13
-6
debian/rules
debian/rules
+1
-1
debian/substvars
debian/substvars
+1
-1
src/interface/main.c
src/interface/main.c
+1
-1
src/video_output/video_yuv.c
src/video_output/video_yuv.c
+10
-3
No files found.
debian/rules
View file @
9206b014
...
@@ -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
...
...
debian/substvars
View file @
9206b014
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)
src/interface/main.c
View file @
9206b014
...
@@ -480,7 +480,7 @@ static void Usage( int i_fashion )
...
@@ -480,7 +480,7 @@ static void Usage( int i_fashion )
" --aout <plugin>
\t
audio output method
\n
"
" --aout <plugin>
\t
audio output method
\n
"
" --stereo, --mono
\t
stereo/mono audio
\n
"
" --stereo, --mono
\t
stereo/mono audio
\n
"
"
\n
"
"
\n
"
" --novideo
\t
disable
audi
o
\n
"
" --novideo
\t
disable
vide
o
\n
"
" --vout <plugin>
\t
video output method
\n
"
" --vout <plugin>
\t
video output method
\n
"
" --display <display>
\t
display string
\n
"
" --display <display>
\t
display string
\n
"
" --width <w>, --height <h>
\t
display dimensions
\n
"
" --width <w>, --height <h>
\t
display dimensions
\n
"
...
...
src/video_output/video_yuv.c
View file @
9206b014
...
@@ -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 */
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment