Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
390c4286
Commit
390c4286
authored
Aug 20, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics.
parent
dc0252f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
34 deletions
+28
-34
modules/video_filter/blend.c
modules/video_filter/blend.c
+28
-34
No files found.
modules/video_filter/blend.c
View file @
390c4286
...
...
@@ -77,13 +77,13 @@ static void Blend( filter_t *, picture_t *, picture_t *, picture_t *,
int
,
int
,
int
);
/* YUVA */
static
void
BlendI420
(
filter_t
*
,
picture_t
*
,
picture_t
*
,
picture_t
*
,
static
void
Blend
YUVA
I420
(
filter_t
*
,
picture_t
*
,
picture_t
*
,
picture_t
*
,
int
,
int
,
int
,
int
,
int
);
static
void
Blend
R
16
(
filter_t
*
,
picture_t
*
,
picture_t
*
,
picture_t
*
,
static
void
Blend
YUVARV
16
(
filter_t
*
,
picture_t
*
,
picture_t
*
,
picture_t
*
,
int
,
int
,
int
,
int
,
int
);
static
void
Blend
R
24
(
filter_t
*
,
picture_t
*
,
picture_t
*
,
picture_t
*
,
static
void
Blend
YUVARV
24
(
filter_t
*
,
picture_t
*
,
picture_t
*
,
picture_t
*
,
int
,
int
,
int
,
int
,
int
);
static
void
BlendYUVPacked
(
filter_t
*
,
picture_t
*
,
picture_t
*
,
picture_t
*
,
static
void
BlendYUV
AYUV
Packed
(
filter_t
*
,
picture_t
*
,
picture_t
*
,
picture_t
*
,
int
,
int
,
int
,
int
,
int
);
/* I420, YV12 */
...
...
@@ -196,7 +196,7 @@ static const struct
BlendFunction
pf_blend
;
}
p_blend_cfg
[]
=
{
BLEND_CFG
(
FCC_YUVA
,
Blend
I420
,
BlendYUVPacked
,
BlendR16
,
BlendR
24
),
BLEND_CFG
(
FCC_YUVA
,
Blend
YUVAI420
,
BlendYUVAYUVPacked
,
BlendYUVARV16
,
BlendYUVARV
24
),
BLEND_CFG
(
FCC_YUVP
,
BlendPalI420
,
BlendPalYUVPacked
,
BlendPalRV
,
BlendPalRV
),
...
...
@@ -411,11 +411,6 @@ static int BinaryLog( uint32_t i )
return
i_log
;
}
/**
* It transforms a color mask into right and left shifts
* FIXME copied from video_output.c
*/
#if 1
static
void
vlc_rgb_index
(
int
*
pi_rindex
,
int
*
pi_gindex
,
int
*
pi_bindex
,
const
video_format_t
*
p_fmt
)
{
...
...
@@ -434,10 +429,9 @@ static void vlc_rgb_index( int *pi_rindex, int *pi_gindex, int *pi_bindex,
*
pi_bindex
=
p_fmt
->
i_lbshift
/
8
;
#endif
}
#endif
/*
/**
* It transforms a color mask into right and left shifts
* FIXME copied from video_output.c
*/
static
void
MaskToShift
(
int
*
pi_left
,
int
*
pi_right
,
uint32_t
i_mask
)
...
...
@@ -520,7 +514,7 @@ static void video_format_FixRgb( video_format_t *p_fmt )
/***********************************************************************
* YUVA
***********************************************************************/
static
void
BlendI420
(
filter_t
*
p_filter
,
picture_t
*
p_dst
,
static
void
Blend
YUVA
I420
(
filter_t
*
p_filter
,
picture_t
*
p_dst
,
picture_t
*
p_dst_orig
,
picture_t
*
p_src
,
int
i_x_offset
,
int
i_y_offset
,
int
i_width
,
int
i_height
,
int
i_alpha
)
...
...
@@ -589,7 +583,7 @@ static void BlendI420( filter_t *p_filter, picture_t *p_dst,
}
}
static
void
Blend
R
16
(
filter_t
*
p_filter
,
picture_t
*
p_dst_pic
,
static
void
Blend
YUVARV
16
(
filter_t
*
p_filter
,
picture_t
*
p_dst_pic
,
picture_t
*
p_dst_orig
,
picture_t
*
p_src
,
int
i_x_offset
,
int
i_y_offset
,
int
i_width
,
int
i_height
,
int
i_alpha
)
...
...
@@ -648,7 +642,7 @@ static void BlendR16( filter_t *p_filter, picture_t *p_dst_pic,
}
}
static
void
Blend
R
24
(
filter_t
*
p_filter
,
picture_t
*
p_dst_pic
,
static
void
Blend
YUVARV
24
(
filter_t
*
p_filter
,
picture_t
*
p_dst_pic
,
picture_t
*
p_dst_orig
,
picture_t
*
p_src
,
int
i_x_offset
,
int
i_y_offset
,
int
i_width
,
int
i_height
,
int
i_alpha
)
...
...
@@ -781,7 +775,7 @@ static void BlendR24( filter_t *p_filter, picture_t *p_dst_pic,
}
}
static
void
BlendYUVPacked
(
filter_t
*
p_filter
,
picture_t
*
p_dst_pic
,
static
void
BlendYUV
AYUV
Packed
(
filter_t
*
p_filter
,
picture_t
*
p_dst_pic
,
picture_t
*
p_dst_orig
,
picture_t
*
p_src
,
int
i_x_offset
,
int
i_y_offset
,
int
i_width
,
int
i_height
,
int
i_alpha
)
...
...
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