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
648b99e9
Commit
648b99e9
authored
Jun 08, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed Render into RenderYUVP (freetype).
parent
63e66b36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/misc/text_renderer/freetype.c
modules/misc/text_renderer/freetype.c
+8
-8
No files found.
modules/misc/text_renderer/freetype.c
View file @
648b99e9
...
...
@@ -259,7 +259,7 @@ typedef struct
char
*
psz_fontname
;
}
ft_style_t
;
static
int
Render
(
filter_t
*
,
subpicture_region_t
*
,
line_desc_t
*
,
int
,
int
);
static
int
Render
YUVP
(
filter_t
*
,
subpicture_region_t
*
,
line_desc_t
*
,
int
,
int
);
static
void
FreeLines
(
line_desc_t
*
);
static
void
FreeLine
(
line_desc_t
*
);
...
...
@@ -525,12 +525,12 @@ static int LoadFontsFromAttachments( filter_t *p_filter )
}
/*****************************************************************************
* Render: place string in picture
* Render
YUVP
: place string in picture
*****************************************************************************
* This function merges the previously rendered freetype glyphs into a picture
*****************************************************************************/
static
int
Render
(
filter_t
*
p_filter
,
subpicture_region_t
*
p_region
,
line_desc_t
*
p_line
,
int
i_width
,
int
i_height
)
static
int
Render
YUVP
(
filter_t
*
p_filter
,
subpicture_region_t
*
p_region
,
line_desc_t
*
p_line
,
int
i_width
,
int
i_height
)
{
VLC_UNUSED
(
p_filter
);
static
const
uint8_t
pi_gamma
[
16
]
=
...
...
@@ -795,7 +795,7 @@ static void DrawBlack( line_desc_t *p_line, int i_width, subpicture_region_t *p_
}
/*****************************************************************************
* Render: place string in picture
* Render
YUVA
: place string in picture
*****************************************************************************
* This function merges the previously rendered freetype glyphs into a picture
*****************************************************************************/
...
...
@@ -1251,7 +1251,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
p_region_out
->
i_y
=
p_region_in
->
i_y
;
if
(
var_InheritBool
(
p_filter
,
"freetype-yuvp"
)
)
Render
(
p_filter
,
p_region_out
,
p_lines
,
result
.
x
,
result
.
y
);
Render
YUVP
(
p_filter
,
p_region_out
,
p_lines
,
result
.
x
,
result
.
y
);
else
RenderYUVA
(
p_filter
,
p_region_out
,
p_lines
,
result
.
x
,
result
.
y
);
...
...
@@ -2218,8 +2218,8 @@ static int RenderHtml( filter_t *p_filter, subpicture_region_t *p_region_out,
if
((
rv
==
VLC_SUCCESS
)
&&
(
i_len
>
0
))
{
if
(
var_InheritBool
(
p_filter
,
"freetype-yuvp"
)
)
Render
(
p_filter
,
p_region_out
,
p_lines
,
result
.
x
,
result
.
y
);
Render
YUVP
(
p_filter
,
p_region_out
,
p_lines
,
result
.
x
,
result
.
y
);
else
RenderYUVA
(
p_filter
,
p_region_out
,
p_lines
,
result
.
x
,
result
.
y
);
...
...
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