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
a9c0a1ba
Commit
a9c0a1ba
authored
May 03, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: code cosmetic
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
9746a846
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
modules/text_renderer/freetype.c
modules/text_renderer/freetype.c
+6
-4
modules/text_renderer/text_layout.h
modules/text_renderer/text_layout.h
+0
-1
No files found.
modules/text_renderer/freetype.c
View file @
a9c0a1ba
...
...
@@ -815,7 +815,7 @@ static inline int RenderAXYZ( filter_t *p_filter,
for
(
int
i
=
0
;
i
<
p_line
->
i_character_count
;
i
++
)
{
const
line_character_t
*
ch
=
&
p_line
->
p_character
[
i
];
FT_BitmapGlyph
p_glyph
=
g
==
0
?
ch
->
p_shadow
:
g
==
1
?
ch
->
p_outline
:
ch
->
p_glyph
;
const
FT_BitmapGlyph
p_glyph
=
g
==
0
?
ch
->
p_shadow
:
g
==
1
?
ch
->
p_outline
:
ch
->
p_glyph
;
if
(
!
p_glyph
)
continue
;
...
...
@@ -1087,9 +1087,11 @@ static int RenderCommon( filter_t *p_filter, subpicture_region_t *p_region_out,
FillRGBAPicture
,
BlendRGBAPixel
);
else
if
(
*
p_chroma
==
VLC_CODEC_ARGB
)
rv
=
RenderAXYZ
(
p_filter
,
p_region_out
,
p_lines
,
&
bbox
,
i_margin
,
*
p_chroma
,
RGBFromRGB
,
FillARGBPicture
,
BlendARGBPixel
);
rv
=
RenderAXYZ
(
p_filter
,
p_region_out
,
p_lines
,
&
bbox
,
i_margin
,
VLC_CODEC_ARGB
,
RGBFromRGB
,
FillARGBPicture
,
BlendARGBPixel
);
if
(
!
rv
)
break
;
...
...
modules/text_renderer/text_layout.h
View file @
a9c0a1ba
...
...
@@ -53,6 +53,5 @@ line_desc_t *NewLine( int i_count );
int
LayoutText
(
filter_t
*
p_filter
,
line_desc_t
**
pp_lines
,
FT_BBox
*
p_bbox
,
int
*
pi_max_face_height
,
uni_char_t
*
psz_text
,
text_style_t
**
pp_styles
,
uint32_t
*
pi_k_dates
,
int
i_len
);
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