Commit Graph

2268 Commits

Author SHA1 Message Date
lu_zero 9c5ce32cad avoid utter breakage on non-x86, patch from Chris Roccati <roccati@at@pobox.dot.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23543 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-10 21:58:30 +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
henry 0f85b371fd set the window aspect hint
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23525 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-09 09:25:41 +00:00
reimar 5d02058b47 Do not use fast_memcpy for small size copy, esp. when the size is constant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 15:09:49 +00:00
reimar 6a09e8e2ed Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
diego 83ebbc9fcd Add LGPL license header.
OKed by Arpi and Michael, the authors of all non-trivial parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23403 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 17:13:52 +00:00
diego 5edd9af248 Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:42:35 +00:00
michael 5b46b234d2 HAVE_MMX1 -> HAVE_ONLY_MMX1 (makes more sense ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 21:45:33 +00:00
reimar bbf95a3dcf Remove more pointless fastmemcpy.h includes in libvo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23394 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 21:13:10 +00:00
rik 76f47eebd9 compilation fix: ff_ _encode added and temporarily disabled mjpeg_write_tables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23387 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 08:44:27 +00:00
ben 194fc1b15b add new -subfont option, that allows having a different font for OSD (controls and menu) and subtitles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23356 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 16:10:45 +00:00
reimar b05e6e17ef Simplify -flip handling on vo_x11.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23302 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-12 09:06:07 +00:00
reimar fba11c94ff Fix crash with -flip on 64 bit systems, the result of
stride*height _must_ be sign extended.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-12 09:03:50 +00:00
reimar c445b76647 Factor common code out of if in x11_common.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23300 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-12 08:54:44 +00:00
cehoyos a2dda036d8 Make -monitorpixelaspect 1 the default.
Patch by Onur Küçük <onur.--.-.delipenguen.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23154 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 23:16:45 +00:00
reimar e9d5b5de07 Do not set VFCAP_EOSD_UNSCALED if we use scaled-osd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23153 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 16:10:45 +00:00
eugeni c67220c86f Add -ass-hinting option for setting font hinting method.
It is possible to separately configure hinting for scaled and unscaled osd.
The default is native hinter for unscaled osd (only vo_gl at this point),
no hinting for vf_ass.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23152 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 14:25:36 +00:00
diego 5c9abf7f9f Gui --> gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:42:42 +00:00
diego ba82f36061 Add Makefile variable for either internal or external VIDIX.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23086 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 20:19:00 +00:00
diego a1639b42de Readd an explicit rule for Objective C files. Apparently only Apple's fork of
GNU Make has an implicit rule for Objective C.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23085 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 20:16:29 +00:00
uau 208d4343ef "()" to "(void)" function param list fixes
patch from Stefan Huehner, stefan huehner org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:59:54 +00:00
rathann 259cfbe7e2 Code cleanup: don't include a .c file in mplayer.c and fix a few
"implicit declaration of function ‘mplayer_put_key’" warnings

Based on Attila's suggestions.
Approved by Uoti and Ivan.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-29 17:16:11 +00:00
iive 2e7dcb3c16 prevent building xvmc with the old api.
temporal solution until configure can handle it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22831 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-26 15:53:23 +00:00
aurel d715b5be37 call vbeGetControllerInfo() only once
Subsequent calls would fail with some video chip (including i945)
when using -fixed-vo.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22785 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-23 00:31:29 +00:00
diego 5f6965df5d Move libav* include CFLAGS to mpcommon.mak instead of duplicating them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22735 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 22:49:37 +00:00
attila 01c2a013f8 cosmetics, fix indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22712 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 11:04:47 +00:00
attila 15121545dd allow horizontal resolutions >1024 in case we have a G550
(actualy in case mga_vid doesn't deny it)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22711 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 11:03:34 +00:00
diego 596859e524 Remove unnecessary -I option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22552 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 22:16:03 +00:00
diego 5519d98983 cosmetics: Fix indentation, reorder some lines for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego 60b39e2786 Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
reimar d32650a87c forgotten lscale=2 part for gl_common.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22509 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 15:32:48 +00:00
reimar c9c2f7332e Add a new GPU-based scaling method to vo gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22507 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 14:59:08 +00:00
reimar 61ee6f358f 100l, last patch broke window resizing with xv and xvmc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22486 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 09:42:14 +00:00
diego 196bee14d3 Fix unkown --> unkNown typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22483 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-07 01:31:29 +00:00
reimar 1b12836fca Factor out some duplicated code in vo_xv and vo_xvmc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22479 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-06 15:34:54 +00:00
reimar bb149bb929 Simplify config by using code available in video_out.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22477 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-06 11:34:06 +00:00
reimar edfdc4c0b5 Add support for tracking mouse movements.
Patch by Zuxy Meng (zuxy meng at gmail com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 13:20:51 +00:00
reimar 51d6a768c7 Whitespace-only cosmetics: get rid of all remaining tabs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22434 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 10:39:02 +00:00
reimar ad90e64ad9 Generate resize events when size of -wid window changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22433 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 10:30:55 +00:00
rik 33e225943b compilation fix clip_uint8 -> av_clip_uint8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22357 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 15:07:44 +00:00
ben c8adafcf3b support for new ivtv api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22353 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-26 19:08:29 +00:00
reimar 5c656ebbc8 The fragment program functions are and most likely always will be ARB-only,
so do not check for other function name variants.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22344 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 16:07:51 +00:00
reimar 510ccabfc2 10, checked for the wrong thing. Do aspect scaling only in config_video_out
if the vo responds that it supports this scheme by providing VOCTRL_UPDATE_SCREENINFO.
Fixes vo_xmga


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22342 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 14:35:53 +00:00
diego 8ed3ba4995 cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-22 00:18:10 +00:00
diego e1547563a9 cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-21 10:05:46 +00:00
iive dcb8df09a2 Don't free and then allocate surfaces when config() is called again with same resolution and format.
In this case properly clean surfaces from locking flags and empty the queue.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22275 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-19 11:38:19 +00:00
reimar baf7535196 Fix 10 in r22250, do not use screendimensions if not set
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22267 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 21:24:26 +00:00
reimar 3c32a11ae5 Set classhint directly after creating window just as all other vos do, in accordance with ICCCM.
Patch by Mark Tiefenbruck [mark at fluxbox org]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22266 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 20:23:25 +00:00
reimar 187318ba5c Revert r22255 on iive's request.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22264 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 20:19:47 +00:00
reimar e77a7954de Avoid parts of xvmc reinit when source format does not change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22255 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-18 09:33:45 +00:00