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
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 @@
...
@@ -236,6 +236,10 @@
#define VOUT_WIDTH_DEFAULT 640
#define VOUT_WIDTH_DEFAULT 640
#define VOUT_HEIGHT_DEFAULT 480
#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
/* Video heap size - remember that a decompressed picture is big
* (~1 Mbyte) before using huge values */
* (~1 Mbyte) before using huge values */
#define VOUT_MAX_PICTURES 10
#define VOUT_MAX_PICTURES 10
...
...
include/video_output.h
View file @
6961ec33
...
@@ -41,7 +41,7 @@ typedef struct vout_yuv_s
...
@@ -41,7 +41,7 @@ typedef struct vout_yuv_s
vout_yuv_convert_t
*
p_Convert444
;
/* YUV 4:4:4 converter */
vout_yuv_convert_t
*
p_Convert444
;
/* YUV 4:4:4 converter */
/* Pre-calculated convertion tables */
/* Pre-calculated convertion tables */
void
*
p_base
;
/* base for all transla
tion tables */
void
*
p_base
;
/* base for all conver
tion tables */
union
union
{
{
struct
{
u16
*
p_red
,
*
p_green
,
*
p_blue
;
}
rgb16
;
/* color 15, 16 bpp */
struct
{
u16
*
p_red
,
*
p_green
,
*
p_blue
;
}
rgb16
;
/* color 15, 16 bpp */
...
@@ -55,9 +55,9 @@ typedef struct vout_yuv_s
...
@@ -55,9 +55,9 @@ typedef struct vout_yuv_s
u32
*
p_rgb32
;
u32
*
p_rgb32
;
}
yuv2
;
//??
}
yuv2
;
//??
/* Temporary convertion buffer - this buffer may be used by convertion
/* Temporary convertion buffer and offset array */
* functions and should be 2 screen lines width */
void
*
p_buffer
;
/* convertion buffer */
void
*
p_buffer
;
/* convertion buffer */
int
*
p_offset
;
/* offset array */
}
vout_yuv_t
;
}
vout_yuv_t
;
/*******************************************************************************
/*******************************************************************************
...
...
src/video_output/video_fb.c
View file @
6961ec33
...
@@ -128,9 +128,7 @@ void vout_SysDisplay( vout_thread_t *p_vout )
...
@@ -128,9 +128,7 @@ void vout_SysDisplay( vout_thread_t *p_vout )
{
{
/* tout est bien affich, on peut changer les 2 crans */
/* tout est bien affich, on peut changer les 2 crans */
p_vout
->
p_sys
->
var_info
.
xoffset
=
0
;
p_vout
->
p_sys
->
var_info
.
xoffset
=
0
;
p_vout
->
p_sys
->
var_info
.
yoffset
=
p_vout
->
p_sys
->
var_info
.
yoffset
=
p_vout
->
i_buffer_index
?
p_vout
->
p_sys
->
var_info
.
yres
:
0
;
0
;
//p_vout->p_sys->i_buffer_index ? 0 : p_vout->p_sys->var_info.yres;
//ioctl( p_vout->p_sys->i_fb_dev, FBIOPUT_VSCREENINFO, &p_vout->p_sys->var_info );
//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
);
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