Commit Graph

41 Commits

Author SHA1 Message Date
diego 0ecfcdce00 Use standard license headers with standard formatting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26769 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-14 17:20:42 +00:00
reimar cdc332e6c0 Add a few forgotten static/const attributes in tvi_vbi.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25273 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 22:08:22 +00:00
voroshil 6114954b08 czech/slovak character set fixes:
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
2007-10-20 05:02:44 +00:00
voroshil bfc18929a7 More accurate calculating of teletext
page update intervals



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24365 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-08 10:04:08 +00:00
voroshil 641a7ddabd Implement boxes for subtitle teletext pages.
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
2007-09-08 09:48:43 +00:00
voroshil 67276cc8cd Decrease teletext page rendering frequency from 1/frame to about 4/sec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24362 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-08 03:06:23 +00:00
voroshil a027248c5f Fix for:
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
2007-09-03 14:21:53 +00:00
voroshil dfdd178117 Increase number of skipped buffers to 5 to avoid mixing teletext pages from
different channels during channel switch.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24325 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-02 06:12:32 +00:00
voroshil a108787e00 Make sure that no pages will left in cache during
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
2007-09-01 18:49:51 +00:00
voroshil efd9aba867 Drop out control chars from page header in time position.
Expand time line if necessary.




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24316 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 14:36:49 +00:00
voroshil ce81a2156b Fix missed -1 -> 0x3f7f changes for subpage number.
Patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24314 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 10:14:42 +00:00
voroshil bbce9daf29 Fix displaying start page when it has subpages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24313 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 01:32:17 +00:00
voroshil b61657c12c Proper support for flashing chars in teletext pages.
Patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24312 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 01:22:30 +00:00
voroshil 374e9dd5ba Support for selecting language via packet 28.
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
2007-08-31 16:53:27 +00:00
voroshil b60132ee12 Small code simplification as suggested by Reimar:
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
2007-08-29 18:19:50 +00:00
voroshil 9ef594f0e8 Simplify code by using FFSWAP
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24299 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 18:11:09 +00:00
voroshil 23d80af5c6 (cosmetics) replace tabs with spaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24298 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 17:46:33 +00:00
voroshil beda7b3ce3 (cosmetics) fix indentation of previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24297 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 17:44:40 +00:00
voroshil 48302e019d Implement Hold/Release graphics (showing control chars as
graphics instead of spaces).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24296 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 17:43:13 +00:00
voroshil 5b673bf021 Implement Flash/Steady (swapping foreground/background colors)
and Conceal (filling following chars with spaces) control characters.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24295 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 17:28:41 +00:00
voroshil b32b4824f8 Make charset constants naming consistant
(renamed according to specification).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24291 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-29 13:37:12 +00:00
iive 96217887af Fix compilation by adding forgotten comma.
Noticed by Evrim Furuncu on irc.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24276 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 19:58:45 +00:00
voroshil e8834d6d47 Conversion tables for Serbian/Croatian, Ukrainian and Greek charsets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24275 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 18:06:11 +00:00
voroshil c4debc9042 Implement X/27/0 packet decoding.
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
2007-08-28 14:10:47 +00:00
voroshil fb7d88d344 Implement 8/30 format 1 teletext packet decoding
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
2007-08-28 02:37:48 +00:00
voroshil 04c1f99a05 (cosmetics) remove unnecessary ';'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24217 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 19:44:23 +00:00
voroshil b26a0e5a63 Fix typo
Patch from Otvos Attila oattila at chello dot hu



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24210 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 12:59:47 +00:00
voroshil 801976dc82 Add teletext specification reference
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24206 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-26 05:18:00 +00:00
voroshil 2ad1d1c0c2 Remove ugly Russian language support hack.
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
2007-08-26 05:15:53 +00:00
voroshil 3e0d0aca85 Add support for Latin National Option Sub-Sets
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
2007-08-26 05:11:15 +00:00
voroshil aad3231850 10l: "&" should be done after ">>"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24189 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 16:42:38 +00:00
voroshil 74083dfe01 Language bits in teletext page header are
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
2007-08-25 16:39:02 +00:00
voroshil 65e0b2a95e Fix [soc:eoc] stubs.
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
2007-08-22 14:01:57 +00:00
ivo 655604a44c remove GNUism (case range)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23948 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 18:48:03 +00:00
voroshil ce2792fe74 Subtraction should be done after & operation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23928 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 02:12:25 +00:00
voroshil 3a9bed720f Drop out overlooked debug line
Fix hex to char conversion



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23927 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 02:02:32 +00:00
voroshil dd5778726e Teletext support.
Part 1/5: core stuff



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23919 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:52:11 +00:00
voroshil dd2ef6be51 remove file that was added by mistake.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23688 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-29 08:56:50 +00:00
voroshil 6aea0fb430 Implemented tv://[<channel>][/<input_id>] url syntax
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
2007-06-28 18:36:05 +00:00
voroshil 2f76cfc28a Revert r23530.
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
2007-06-21 08:18:51 +00:00
voroshil 83a2c50ef9 Teletext support for tv:// (v4l and v4l2 only)
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
2007-06-10 00:06:12 +00:00