aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/aspect.c
Commit message (Collapse)AuthorAge
* VO: silence "[ASPECT] Warning: No suitable new res found!"Gravatar Uoti Urpala2011-07-05
| | | | | | | | | | The warning "[ASPECT] Warning: No suitable new res found!" was printed from aspect() if the video ended up being downscaled from the original size AND the horizontal direction was the more limiting one for aspect-aware scaling. Also, because aspect() can run multiple times when starting playback this warning could be output multiple times. Change the code so that downscaling alone no longer triggers this message.
* VO: clean up aspect.c, remove aspecttest toolGravatar Uoti Urpala2011-07-05
| | | | | | | | | | Clean up aspect.c code and simplify it somewhat (without changing the overall logic). Replace debug output printf calls under #ifdef with mp_msg() debug output (somewhat modified). Remove the file aspecttest.c which created a binary to test aspect.c functionality. It did not compile and would not be particularly useful anyway. Remove some support lines from aspect.c and Makefile.
* aspect.c: use fallback if screen dimensions are not knownGravatar reimar2010-11-02
| | | | | | | | | | | | Add fallback values to aspect_save_screenres to avoid division by 0 if screen dimensions are not known. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32452 b3059339-0415-0410-9bf9-f77b7e298cf2 Fix handling of invalid values in aspect_save_screenres to not overwrite valid values. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32481 b3059339-0415-0410-9bf9-f77b7e298cf2
* Delete things related to old translation systemGravatar Uoti Urpala2010-03-10
| | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* Merge svn changes up to r29644Gravatar Uoti Urpala2009-09-04
|\
| * Remove unused movie_aspect extern declaration.Gravatar reimar2009-08-27
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29571 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add infrastructure and test code to enable aspect scaling and panscan in ↵Gravatar reimar2009-08-27
| | | | | | | | | | | | windowed mode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29566 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make panscan cover the same range in -wid -fs mode as in normal mode.Gravatar reimar2009-08-27
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29560 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix aspect_fit to work correctly when borders need to be added on top andGravatar reimar2009-08-27
| | | | | | | | | | | | | | | | bottom, previous code accidentally compared against screen dimensions, resulting in cropping instead of added borders. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29558 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Forgotten changes to aspect code to handle -wid with -fs.Gravatar reimar2009-08-27
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29557 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| |
* | Translation system changes part 2: replace macros by stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* | Merge svn changes up to r28537Gravatar Uoti Urpala2009-02-12
|\|
| * Add standard license headers, unify header formatting.Gravatar diego2009-02-08
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Move aspect.c options to option structGravatar Uoti Urpala2008-05-01
| |
* | libvo: Move aspect.c static variables to vo structGravatar Uoti Urpala2008-05-01
| | | | | | | | This moves non-option variables. aspect.c still defines option globals.
* | Move movie_aspect to options structGravatar Uoti Urpala2008-04-25
|/
* Make aspect adjustment calculation simpler and more flexible.Gravatar reimar2008-02-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25949 b3059339-0415-0410-9bf9-f77b7e298cf2
* -panscan should also work for right and left bordersGravatar reimar2008-01-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25810 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some reindentationGravatar reimar2008-01-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25809 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a new variable for user-supplied monitor-aspect so we can overwriteGravatar reimar2007-07-28
| | | | | | | a value generated from pixel-aspect if resolution changes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23896 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -monitorpixelaspect 1 the default.Gravatar cehoyos2007-04-27
| | | | | | | Patch by Onur Küçük <onur.--.-.delipenguen.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23154 b3059339-0415-0410-9bf9-f77b7e298cf2
* MSGTRs for libvo/aspect.c and libvo/vo_xv.cGravatar kraymer2006-11-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20781 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with ↵Gravatar reynaldo2006-04-24
| | | | | | lots of corrections git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
* new monitorpixelaspect option, esp. useful for xinerama setups with upcoming ↵Gravatar reimar2006-04-15
| | | | | | patch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18106 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -panscanrange optionGravatar reimar2005-09-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16608 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.Gravatar diego2004-10-28
| | | | | | | Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix aspect hackGravatar attila2003-10-15
| | | | | | | | now geometry sets geometry_wh_changed when either width or height is changed. aspect is still preserved in fullscreen git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11126 b3059339-0415-0410-9bf9-f77b7e298cf2
* many small typo and grammar fixesGravatar gabucino2003-10-04
| | | | | | | Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
* temporary fix for attilas 10l, until better solution is foundGravatar atmos42003-09-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10919 b3059339-0415-0410-9bf9-f77b7e298cf2
* make aspect recognize -noaspectGravatar attila2003-09-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10908 b3059339-0415-0410-9bf9-f77b7e298cf2
* debug++Gravatar atmos42003-01-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8937 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix panscan support and add Jesper Svennevid's <mplayer@svennevid.net> patchGravatar pontscho2002-06-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6383 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>Gravatar arpi2002-06-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6336 b3059339-0415-0410-9bf9-f77b7e298cf2
* added panscan support for xmga/xvidixGravatar pontscho2002-06-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6308 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a bug in the aspect coden (roudning at wrong point) and allow ↵Gravatar atmos42002-05-14
| | | | | | | | | donwscaling in second pass. Also add a testapp for the aspect code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6088 b3059339-0415-0410-9bf9-f77b7e298cf2
* Eeeh :) time to sleep!Gravatar atmos42001-10-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2251 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and ↵Gravatar atmos42001-10-18
| | | | | | vo_xmga are untested! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add downscaling as a last resort.Gravatar atmos42001-10-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2214 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add debug printfs to aspect(), add aspect() usage to vo_sdl.Gravatar atmos42001-10-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2072 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix case where srch, srcw and fitinw and fitinh are really the same variables.Gravatar atmos42001-10-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2059 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplified aspect() for the loss of some functionality to get ansi ↵Gravatar atmos42001-10-03
| | | | | | compatibility. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2056 b3059339-0415-0410-9bf9-f77b7e298cf2
* Monitor aspect stuff.Gravatar atmos42001-10-03
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2054 b3059339-0415-0410-9bf9-f77b7e298cf2