aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/vf_scale.c
Commit message (Collapse)AuthorAge
* swap palette on big endianGravatar michael2007-02-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22246 b3059339-0415-0410-9bf9-f77b7e298cf2
* palette init code for IMGFMT_RGB4 and IMGFMT_RG4BGravatar michael2007-02-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22245 b3059339-0415-0410-9bf9-f77b7e298cf2
* add IMGFMT_RGB8 palette init code what moron actually added init code just ↵Gravatar michael2007-02-17
| | | | | | for half of the formats?! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22243 b3059339-0415-0410-9bf9-f77b7e298cf2
* another ridiculous palette bug which has nothing to do with the new palete ↵Gravatar michael2007-02-17
| | | | | | support in sws git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22242 b3059339-0415-0410-9bf9-f77b7e298cf2
* PAL8 ...Gravatar michael2007-02-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark m_struct_t defaults as constGravatar reimar2007-01-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22045 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use PIX_FMT_* instead of IMGFMT_* when calling sws_getContext()Gravatar lucabe2006-09-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19876 b3059339-0415-0410-9bf9-f77b7e298cf2
* A value of 2 is valid for noup, tooGravatar reimar2006-08-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19526 b3059339-0415-0410-9bf9-f77b7e298cf2
* vertical scaler with accurate rounding, some people on doom9 can see +-1 errorsGravatar michael2006-07-24
| | | | | | | | the +-1 issue is limited to >2tap vertical filters, so bilinear upscale was unaffected the new code is sometime faster sometimes slower but the difference is significant (~20%) so its optional and enabled with arnd=1 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19177 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscaleGravatar lucabe2006-06-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.Gravatar diego2006-03-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing pts through the filter layer (lets see if pts or cola comes out at ↵Gravatar michael2006-03-21
| | | | | | the end) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l (dont limit dimension components independantly if noup)Gravatar michael2006-02-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17675 b3059339-0415-0410-9bf9-f77b7e298cf2
* no upscale flag so automatic downscaling is possible in mencoderGravatar michael2006-02-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17647 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* deobfuscate some very simple code...Gravatar ods152005-12-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17216 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.Gravatar diego2005-11-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lGravatar alex2005-05-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15538 b3059339-0415-0410-9bf9-f77b7e298cf2
* subtracting 8 from negative w and h rounds the dimension to the closest ↵Gravatar nicodvb2005-03-06
| | | | | | multiple of 16 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14925 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved NV12/NV21 support.Gravatar syrjala2005-02-16
| | | | | | | | | | | - Fixed PlanarToNV12Wrapper() and made it handle NV21. - Added yuv2nv12XinC() to handle software scaling. - Added NV12/NV21 handling to various places. - Removed NV12 from vf_hue and vf_spp as they don't look like they can actually handle it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14716 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for negative values for width and height (aspect-preserving scaling).Gravatar reimar2004-11-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13926 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing an array or double precission parameters for the scaling function, ↵Gravatar michael2004-09-18
| | | | | | | | | instead of missusing a few bits of the flags fixing the naming of the scaling functions a little git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13374 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not modify d_width and d_height when -xy option was given, otherwise -xy ↵Gravatar reimar2004-09-06
| | | | | | has no effect with e.g. vo_gl git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13269 b3059339-0415-0410-9bf9-f77b7e298cf2
* give Y8 and Y800 lower conversion priority to avoid grayscaled videoGravatar reimar2004-05-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12476 b3059339-0415-0410-9bf9-f77b7e298cf2
* prefer yuv formats over rgb in case both are supported by hwGravatar faust32004-04-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12261 b3059339-0415-0410-9bf9-f77b7e298cf2
* AltiVec support in postproc/ + altivec optimizations for yuv2yuvX patch by ↵Gravatar michael2004-03-11
| | | | | | (Romain Dolbeau <dolbeau at irisa dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12018 b3059339-0415-0410-9bf9-f77b7e298cf2
* interlaced scalingGravatar michael2003-12-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11701 b3059339-0415-0410-9bf9-f77b7e298cf2
* uninit supportGravatar alex2003-11-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11538 b3059339-0415-0410-9bf9-f77b7e298cf2
* another lame workaround for the g1 filter layer ...Gravatar michael2003-11-03
| | | | | | | now filter chains with >8 scale filters initalize before u fall asleep git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11374 b3059339-0415-0410-9bf9-f77b7e298cf2
* some missing formatsGravatar alex2003-10-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11070 b3059339-0415-0410-9bf9-f77b7e298cf2
* uyvy output support in swscalerGravatar alex2003-10-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11069 b3059339-0415-0410-9bf9-f77b7e298cf2
* size presets: added the standard resolutions as proposed by Fabrice (ffmpeg)Gravatar alex2003-09-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10815 b3059339-0415-0410-9bf9-f77b7e298cf2
* -brightness && -vf scale fixGravatar michael2003-08-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10633 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_scale.h & related cleanup & some small warning fix by dominikGravatar michael2003-06-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix segfaults with slices. support slice rendering into a filter evenGravatar rfelker2003-05-20
| | | | | | | | when the following filter/vo doesn't support slices. also use unified vf->dmpi rather than having vf->priv->dmpi duplicated in every filter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10141 b3059339-0415-0410-9bf9-f77b7e298cf2
* not needed anymore (vo_jpeg.c and vo_dga.c were depending on it some time ago)Gravatar alex2003-04-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10023 b3059339-0415-0410-9bf9-f77b7e298cf2
* generate meaningful d_width & d_height when scaling, rather than useless ↵Gravatar rfelker2003-04-27
| | | | | | nonsense. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10003 b3059339-0415-0410-9bf9-f77b7e298cf2
* moving getFilter stuff back (vf_scale.c -> swscale.c)Gravatar michael2003-04-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9986 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing sws - global verbose var dependancyGravatar michael2003-04-24
| | | | | | | | removing sws - cpudetect dependancy (note rgb2rgb still needs it) moving mplayer specific stuff from swscale.c -> vf_scale.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9976 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_clone_mpi_attributes()Gravatar michael2003-04-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9935 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l (YUV vs. YVU swscale fix/cleanup)Gravatar michael2003-03-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9698 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10L the scale filter accpet w and h to -3Gravatar albeu2003-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9599 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the new -vf option wich is the same as vop in reverse order.Gravatar albeu2003-03-15
| | | | | | | | Syntax is we decided, so you can give the nomes or not with both vop and vf. vf take precedence over vop. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9594 b3059339-0415-0410-9bf9-f77b7e298cf2
* sws_ prefix, more seperation between internal & external swscaler APIGravatar michael2003-02-23
| | | | | | | sws_scale() returns the number of outputed lines git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
* draw_slice supportGravatar arpi2003-02-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9492 b3059339-0415-0410-9bf9-f77b7e298cf2
* yuv2rgb brightness/contrast/saturation/different colorspaces support finishedGravatar michael2003-02-21
| | | | | | | | | yuv2rgb deglobalize yuv2rgb optimizations / cleanup bugs? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9477 b3059339-0415-0410-9bf9-f77b7e298cf2
* move some verbose msg to dbg2Gravatar arpi2003-02-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9277 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing rgb4 & bgr4 (2 pixels per byte)Gravatar michael2003-01-30
| | | | | | | adding bg4b & rg4b (1 pixel per byte) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
* UYVY inputGravatar michael2003-01-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9072 b3059339-0415-0410-9bf9-f77b7e298cf2
* exporting palette for 4/8bpp modesGravatar arpi2002-10-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7784 b3059339-0415-0410-9bf9-f77b7e298cf2