Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
6961ec33
Commit
6961ec33
authored
Feb 03, 2000
by
Vincent Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Synchro am�lior�e X et Y, dans les 2 sens
parent
d1cd2a9c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
139 additions
and
1024 deletions
+139
-1024
include/config.h
include/config.h
+4
-0
include/video_output.h
include/video_output.h
+3
-3
src/video_output/video_fb.c
src/video_output/video_fb.c
+1
-3
src/video_output/video_yuv.c
src/video_output/video_yuv.c
+131
-1018
No files found.
include/config.h
View file @
6961ec33
...
...
@@ -236,6 +236,10 @@
#define VOUT_WIDTH_DEFAULT 640
#define VOUT_HEIGHT_DEFAULT 480
/* Maximum width of a scaled source picture - this should be relatively high,
* since higher stream values will result in no display at all. */
#define VOUT_MAX_WIDTH 4096
/* Video heap size - remember that a decompressed picture is big
* (~1 Mbyte) before using huge values */
#define VOUT_MAX_PICTURES 10
...
...
include/video_output.h
View file @
6961ec33
...
...
@@ -41,7 +41,7 @@ typedef struct vout_yuv_s
vout_yuv_convert_t
*
p_Convert444
;
/* YUV 4:4:4 converter */
/* Pre-calculated convertion tables */
void
*
p_base
;
/* base for all
transla
tion tables */
void
*
p_base
;
/* base for all
conver
tion tables */
union
{
struct
{
u16
*
p_red
,
*
p_green
,
*
p_blue
;
}
rgb16
;
/* color 15, 16 bpp */
...
...
@@ -55,9 +55,9 @@ typedef struct vout_yuv_s
u32
*
p_rgb32
;
}
yuv2
;
//??
/* Temporary convertion buffer - this buffer may be used by convertion
* functions and should be 2 screen lines width */
/* Temporary convertion buffer and offset array */
void
*
p_buffer
;
/* convertion buffer */
int
*
p_offset
;
/* offset array */
}
vout_yuv_t
;
/*******************************************************************************
...
...
src/video_output/video_fb.c
View file @
6961ec33
...
...
@@ -128,9 +128,7 @@ void vout_SysDisplay( vout_thread_t *p_vout )
{
/* tout est bien affich, on peut changer les 2 crans */
p_vout
->
p_sys
->
var_info
.
xoffset
=
0
;
p_vout
->
p_sys
->
var_info
.
yoffset
=
0
;
//p_vout->p_sys->i_buffer_index ? 0 : p_vout->p_sys->var_info.yres;
p_vout
->
p_sys
->
var_info
.
yoffset
=
p_vout
->
i_buffer_index
?
p_vout
->
p_sys
->
var_info
.
yres
:
0
;
//ioctl( p_vout->p_sys->i_fb_dev, FBIOPUT_VSCREENINFO, &p_vout->p_sys->var_info );
ioctl
(
p_vout
->
p_sys
->
i_fb_dev
,
FBIOPAN_DISPLAY
,
&
p_vout
->
p_sys
->
var_info
);
...
...
src/video_output/video_yuv.c
View file @
6961ec33
This diff is collapsed.
Click to expand it.
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