summaryrefslogtreecommitdiffstats
path: root/stream/tvi_vbi.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from most filesUoti Urpala2009-07-071-10/+10
|
* Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-071-3/+3
| | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-071-3/+3
| | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* Use standard license headers with standard formatting.diego2008-05-141-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26769 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a few forgotten static/const attributes in tvi_vbi.creimar2007-12-021-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25273 b3059339-0415-0410-9bf9-f77b7e298cf2
* czech/slovak character set fixes:voroshil2007-10-201-2/+2
| | | | | | | | | | | | plain latin characters instead of native were wrongly used in several places of charset table. patch from Oldrich Jedlicka oldium dot pro at seznam dot cz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24816 b3059339-0415-0410-9bf9-f77b7e298cf2
* More accurate calculating of teletextvoroshil2007-09-081-1/+3
| | | | | | | | page update intervals git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24365 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement boxes for subtitle teletext pages.voroshil2007-09-081-7/+15
| | | | | | | | | | Text is shown in opaque boxes inside transparent teletext page. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24364 b3059339-0415-0410-9bf9-f77b7e298cf2
* Decrease teletext page rendering frequency from 1/frame to about 4/sec.voroshil2007-09-081-1/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24362 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for:voroshil2007-09-031-0/+4
| | | | | | | tvi_vbi.c:1392: warning: 'decode_raw_line_sine' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24336 b3059339-0415-0410-9bf9-f77b7e298cf2
* Increase number of skipped buffers to 5 to avoid mixing teletext pages fromvoroshil2007-09-021-2/+6
| | | | | | | | different channels during channel switch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24325 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure that no pages will left in cache duringvoroshil2007-09-011-1/+9
| | | | | | | | channel switch (immediately stop decoding of vbi buffer when clear_cache is called). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24321 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop out control chars from page header in time position.voroshil2007-09-011-3/+7
| | | | | | | | | Expand time line if necessary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24316 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix missed -1 -> 0x3f7f changes for subpage number.voroshil2007-09-011-2/+2
| | | | | | | | Patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24314 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix displaying start page when it has subpages.voroshil2007-09-011-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24313 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper support for flashing chars in teletext pages.voroshil2007-09-011-1/+4
| | | | | | | | Patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24312 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for selecting language via packet 28.voroshil2007-08-311-19/+202
| | | | | | | | | | Also allows to select default teletext language. It will be used if language is not specified by network provider via packet 28. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24310 b3059339-0415-0410-9bf9-f77b7e298cf2
* Small code simplification as suggested by Reimar:voroshil2007-08-291-18/+10
| | | | | | | | | | declare variables used only inside loop in those loop. Hope this will make code a bit easy to understand. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24300 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify code by using FFSWAPvoroshil2007-08-291-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24299 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) replace tabs with spacesvoroshil2007-08-291-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24298 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) fix indentation of previous commitvoroshil2007-08-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24297 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement Hold/Release graphics (showing control chars asvoroshil2007-08-291-0/+13
| | | | | | | | graphics instead of spaces). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24296 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement Flash/Steady (swapping foreground/background colors)voroshil2007-08-291-3/+19
| | | | | | | | and Conceal (filling following chars with spaces) control characters. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24295 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make charset constants naming consistantvoroshil2007-08-291-4/+4
| | | | | | | | (renamed according to specification). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24291 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation by adding forgotten comma.iive2007-08-281-1/+1
| | | | | | | Noticed by Evrim Furuncu on irc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24276 b3059339-0415-0410-9bf9-f77b7e298cf2
* Conversion tables for Serbian/Croatian, Ukrainian and Greek charsets.voroshil2007-08-281-1/+49
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24275 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement X/27/0 packet decoding.voroshil2007-08-281-1/+64
| | | | | | | | | It contains information about navigation links. Modified patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24264 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement 8/30 format 1 teletext packet decodingvoroshil2007-08-281-0/+84
| | | | | | | | | | It contains network id, network name, current date and time. patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24252 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) remove unnecessary ';'voroshil2007-08-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24217 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typovoroshil2007-08-261-1/+1
| | | | | | | | Patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24210 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add teletext specification referencevoroshil2007-08-261-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24206 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ugly Russian language support hack.voroshil2007-08-261-11/+1
| | | | | | | | | Currently support for only Latin-1 languages is left. Proper solution for another languages will be added later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24205 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for Latin National Option Sub-Setsvoroshil2007-08-261-2/+46
| | | | | | | | Modified Otvos Attila's patch oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24204 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: "&" should be done after ">>"voroshil2007-08-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24189 b3059339-0415-0410-9bf9-f77b7e298cf2
* Language bits in teletext page header arevoroshil2007-08-251-1/+1
| | | | | | | | control bits C12-C14 (bits 2-4 of d[7]), not C11-C13 (bits 1-3). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24187 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix [soc:eoc] stubs.voroshil2007-08-221-6/+10
| | | | | | | | Slightly modified patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24119 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove GNUism (case range)ivo2007-07-301-11/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23948 b3059339-0415-0410-9bf9-f77b7e298cf2
* Subtraction should be done after & operation.voroshil2007-07-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23928 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop out overlooked debug linevoroshil2007-07-301-2/+1
| | | | | | | | Fix hex to char conversion git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23927 b3059339-0415-0410-9bf9-f77b7e298cf2
* Teletext support.voroshil2007-07-291-0/+1365
| | | | | | | | Part 1/5: core stuff git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23919 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove file that was added by mistake.voroshil2007-06-291-0/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23688 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implemented tv://[<channel>][/<input_id>] url syntaxvoroshil2007-06-281-0/+0
| | | | | | | | | to allow users start watching from S-Video or Composite input without touching '-tv input=' option. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23687 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r23530.voroshil2007-06-211-1197/+0
| | | | | | | | | r23530 breaks policy: notification was not sent to mailing list, agreements of other devs were not received. Code also should be reviewed/cleaned up/fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23593 b3059339-0415-0410-9bf9-f77b7e298cf2
* Teletext support for tv:// (v4l and v4l2 only)voroshil2007-06-101-0/+1197
modified patch from Otvos Attila oattila at chello dot hu Module uses zvbi library for all low-level VBI operations (like I/O with vbi device, converting vbi pages into usefull vbi_page stuctures, rendering them into RGB32 images). All teletext related stuff (except properties, slave commands and rendering osd in text mode or RGB32 rendered teletext pages in spu mode) is implemented in tvi_vbi.c New properties: teletext_page - switching between pages teletext_mode - switch between on/off/opaque/transparent modes teletext_format - (currently read-only) allows to get format info (black/white,gray,text) teletext_half_page - trivial zooming (displaying top/bottom half of teletext page) New slave commands: teletext_add_dec - user interface for jumping to any page by editing page number interactively teletext_go_link - goes though links, specified on current page git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23530 b3059339-0415-0410-9bf9-f77b7e298cf2