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
5c8fd676
Commit
5c8fd676
authored
Aug 04, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move and split dummy text render
parent
5c385e6f
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
12 deletions
+16
-12
modules/LIST
modules/LIST
+1
-0
modules/misc/Modules.am
modules/misc/Modules.am
+3
-0
modules/misc/dummy/Modules.am
modules/misc/dummy/Modules.am
+0
-1
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.c
+0
-4
modules/misc/dummy/dummy.h
modules/misc/dummy/dummy.h
+0
-2
modules/misc/text_renderer/tdummy.c
modules/misc/text_renderer/tdummy.c
+11
-4
po/POTFILES.in
po/POTFILES.in
+1
-1
No files found.
modules/LIST
View file @
5c8fd676
...
...
@@ -327,6 +327,7 @@ $Id$
* swscale: Video scaling filter
* t140: T.140 text encoder
* taglib: Taglib tags parser and writer
* tdummy: dummy text renderer
* telepathy: Telepathy Presence information using MissionControl notification
* telx: teletext subtitles decoder
* theora: a theora video decoder/packetizer/encoder using the libtheora library
...
...
modules/misc/Modules.am
View file @
5c8fd676
...
...
@@ -4,8 +4,11 @@ SUBDIRS = $(BASE_SUBDIRS)
DIST_SUBDIRS = $(BASE_SUBDIRS)
SOURCES_freetype = text_renderer/freetype.c
SOURCES_tdummy = text_renderer/tdummy.c
SOURCES_win32text = text_renderer/win32text.c
SOURCES_quartztext = text_renderer/quartztext.c
libvlc_LTLIBRARIES += libtdummy_plugin.la
SOURCES_svg = text_renderer/svg.c
SOURCES_logger = logger.c
SOURCES_vod_rtsp = rtsp.c
...
...
modules/misc/dummy/Modules.am
View file @
5c8fd676
...
...
@@ -2,7 +2,6 @@ SOURCES_dummy = \
dummy.c \
dummy.h \
interface.c \
renderer.c \
$(NULL)
libvlc_LTLIBRARIES += libdummy_plugin.la
modules/misc/dummy/dummy.c
View file @
5c8fd676
...
...
@@ -58,10 +58,6 @@ vlc_module_begin ()
add_category_hint
(
N_
(
"Interface"
),
NULL
,
false
)
add_bool
(
"dummy-quiet"
,
false
,
QUIET_TEXT
,
QUIET_LONGTEXT
,
false
)
#endif
add_submodule
()
set_description
(
N_
(
"Dummy font renderer function"
)
)
set_capability
(
"text renderer"
,
1
)
set_callbacks
(
OpenRenderer
,
NULL
)
add_submodule
()
set_description
(
N_
(
"libc memcpy"
)
)
set_capability
(
"memcpy"
,
50
)
...
...
modules/misc/dummy/dummy.h
View file @
5c8fd676
...
...
@@ -25,5 +25,3 @@
* External prototypes
*****************************************************************************/
int
OpenIntf
(
vlc_object_t
*
);
int
OpenRenderer
(
vlc_object_t
*
);
modules/misc/
dummy/renderer
.c
→
modules/misc/
text_renderer/tdummy
.c
View file @
5c8fd676
...
...
@@ -26,10 +26,18 @@
#endif
#include <vlc_common.h>
#include <vlc_
block
.h>
#include <vlc_
plugin
.h>
#include <vlc_filter.h>
#include "dummy.h"
static
int
OpenRenderer
(
vlc_object_t
*
);
vlc_module_begin
()
set_shortname
(
N_
(
"Dummy"
)
)
set_description
(
N_
(
"Dummy font renderer"
)
)
set_capability
(
"text renderer"
,
1
)
set_callbacks
(
OpenRenderer
,
NULL
)
vlc_module_end
()
static
int
RenderText
(
filter_t
*
p_filter
,
subpicture_region_t
*
p_region_out
,
subpicture_region_t
*
p_region_in
,
...
...
@@ -40,11 +48,10 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
return
VLC_EGENERIC
;
}
int
OpenRenderer
(
vlc_object_t
*
p_this
)
static
int
OpenRenderer
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
p_filter
->
pf_render_text
=
RenderText
;
p_filter
->
pf_render_html
=
NULL
;
return
VLC_SUCCESS
;
}
po/POTFILES.in
View file @
5c8fd676
...
...
@@ -913,7 +913,6 @@ modules/misc/dhparams.h
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.h
modules/misc/dummy/interface.c
modules/misc/dummy/renderer.c
modules/misc/gnutls.c
modules/misc/inhibit.c
modules/misc/inhibit/osso.c
...
...
@@ -945,6 +944,7 @@ modules/misc/stats/stats.h
modules/misc/text_renderer/freetype.c
modules/misc/text_renderer/quartztext.c
modules/misc/text_renderer/svg.c
modules/misc/text_renderer/tdummy.c
modules/misc/text_renderer/win32text.c
modules/misc/xml/libxml.c
modules/mmx/memcpy.c
...
...
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