summaryrefslogtreecommitdiffstats
path: root/libswscale
Commit message (Collapse)AuthorAgeFilesLines
* sws: fix handling of big endian alphaMichael Niedermayer2012-10-311-0/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swscale.c:remove fill_plane9or10() use fillPlane16()Michael Niedermayer2012-10-301-29/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sws: move fillPlane16() to header so it can be used from more than 1 placeMichael Niedermayer2012-10-302-20/+21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sws_unscaled: drop fill_plane9or10()Michael Niedermayer2012-10-301-35/+0
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sws: fix BE/LE handling for fillPlane16()Michael Niedermayer2012-10-301-2/+8
| | | | | | Based on fill_plane9or10() by luca barbato Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-304-5/+133
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixfmt: support more yuva formats swscale: support gray to 9bit and 10bit formats configure: rewrite print_config() function using awk FATE: fix (AD)PCM test dependencies broken in e519990 Use ptrdiff_t instead of int for intra pred "stride" function parameter. x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes. Conflicts: libavcodec/h264pred.c libavcodec/h264pred_template.c libavutil/pixfmt.h libswscale/swscale_unscaled.c tests/ref/lavfi/pixdesc tests/ref/lavfi/pixfmts_copy tests/ref/lavfi/pixfmts_null tests/ref/lavfi/pixfmts_scale tests/ref/lavfi/pixfmts_vflip Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixfmt: support more yuva formatsLuca Barbato2012-10-301-0/+18
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * swscale: support gray to 9bit and 10bit formatsLuca Barbato2012-10-302-4/+66
| | | | | | | | With the input of Kostya and Ronald.
* | sws: rgb has no range, avoid random results if the user tries to mess with ↵Michael Niedermayer2012-10-281-0/+6
| | | | | | | | | | | | it anyway. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: loose the minimum dimension checksMichael Niedermayer2012-10-271-1/+1
| | | | | | | | | | | | A few quick tests show no fundamental problem with such diemnsions Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: improve error messagesMichael Niedermayer2012-10-271-1/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: fix extreem downscalingMichael Niedermayer2012-10-271-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws_getGaussianVec: check variance and qualityMichael Niedermayer2012-10-271-1/+6
| | | | | | | | | | Found-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws_allocVec: check length validityMichael Niedermayer2012-10-271-1/+6
| | | | | | | | | | Found-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '80521c1997a23e148edf89e11b939ab8646297ca'Michael Niedermayer2012-10-241-8/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '80521c1997a23e148edf89e11b939ab8646297ca': build: allow targets to specify extra objects to link with executables swscale: avoid pointless use of compound literals libm: add fallbacks for various single-precision functions network: use getservbyport() only if available network: add fallbacks for INADDR_LOOPBACK and INET_ADDRSTRLEN Include sys/time.h before sys/resource.h Conflicts: Makefile configure libavutil/libm.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: avoid pointless use of compound literalsMans Rullgard2012-10-231-8/+9
| | | | | | | | | | | | Some compilers (e.g. old gcc) have trouble with these. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | yuv2rgb: fix integer overflow in fill_gv_table()Michael Niedermayer2012-10-241-1/+1
| | | | | | | | | | Fixes CID703747 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | yuv2rgb: fix integer overflow in fill_tableMichael Niedermayer2012-10-241-1/+1
| | | | | | | | | | Fixes CID703748 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale_unscaled: remove unused variablesMichael Niedermayer2012-10-241-2/+0
| | | | | | | | | | Fixes CID739472 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Replace usage of the deprecated av_pix_fmt_descriptors array with ↵Hendrik Leppkes2012-10-202-3/+3
| | | | | | | | | | | | av_pix_fmt_desc_get Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws-test: parse command line args before initing contextsMichael Niedermayer2012-10-171-19/+21
| | | | | | | | | | | | This fixes parsing comand line args after ref Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | yuvPlanartouyvy_c: fix sign extensionMichael Niedermayer2012-10-161-2/+2
| | | | | | | | | | Fixes CID732281 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | yuvPlanartoyuy2_c: fix sign extensionMichael Niedermayer2012-10-161-2/+2
| | | | | | | | | | Fixes CID732282 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-151-3/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: try to use mmap only if available configure: check for mprotect wmapro: use planar sample format wmalossless: output in planar sample format wmadec: use float planar sample format output shorten: use planar sample format lavc: update documentation for AVFrame.extended_data Conflicts: libavcodec/shorten.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: try to use mmap only if availableMans Rullgard2012-10-151-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Some systems, e.g. Minix, have sys/mman.h defining MAP_ANONYMOUS without providing (working) mmap and friends. The mmx filter generation code checks only for MAP_ANONYMOUS, not for availability of mmap itself which leads to build errors on aforementioned systems. This changes the conditional compilation to use mmap only if all the required functions are available. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * avutil: add yuva422p and yuva444p formatsLuca Barbato2012-10-121-0/+2
| |
* | sws: get rid of C99 signed overflows try #2Michael Niedermayer2012-10-141-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: avoid signed C99 overflowsMichael Niedermayer2012-10-141-5/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws-test: raise limigts a bit.Michael Niedermayer2012-10-131-1/+1
| | | | | | | | | | | | these cases arent used but theres no point in failing on them Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws-test: check W/HMichael Niedermayer2012-10-131-1/+2
| | | | | | | | | | Fixes CID733834 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: do not use av_pix_fmt_descriptors directlyPaul B Mahol2012-10-122-3/+3
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '9953ff3cd844eb5f6d8dfce98cad94b78a0fc7dc'Michael Niedermayer2012-10-126-70/+136
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '9953ff3cd844eb5f6d8dfce98cad94b78a0fc7dc': mpegvideo: fix indentation sws: do not use av_pix_fmt_descriptors directly. Conflicts: libavcodec/mpegvideo.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sws: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-126-76/+136
| |
* | yuv2rgb: fix declared array sizes, so they match actuals.Michael Niedermayer2012-10-111-6/+6
| | | | | | | | | | Fixes CID733789, and others Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale-test: fix freeing of uninitialized variableMichael Niedermayer2012-10-111-1/+1
| | | | | | | | | | Fixes: CID733844 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6d0beefbf6ee6dbf8efb522a9307e54c6ed5f702'Michael Niedermayer2012-10-101-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6d0beefbf6ee6dbf8efb522a9307e54c6ed5f702': swscale: Do not make ff_ symbols globally visible. rtspdec: use av_strlcpy for writing into fixed size buffer g722enc: fix size argument in memset http: use av_strlcpy instead of strcpy() without size checks avfilter: correct memcpy size avfilter_copy_buf_props() lavc: split asv12 encoder/decoder Conflicts: libavcodec/asvdec.c libavfilter/buffer.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Do not make ff_ symbols globally visible.Diego Biurrun2012-10-101-1/+1
| |
* | Merge commit '716d413c13981da15323c7a3821860536eefdbbb'Michael Niedermayer2012-10-0820-844/+844
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '716d413c13981da15323c7a3821860536eefdbbb': Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat Conflicts: doc/examples/muxing.c ffmpeg.h ffmpeg_filter.c ffmpeg_opt.c ffplay.c ffprobe.c libavcodec/8bps.c libavcodec/aasc.c libavcodec/aura.c libavcodec/avcodec.h libavcodec/avs.c libavcodec/bfi.c libavcodec/bmp.c libavcodec/bmpenc.c libavcodec/c93.c libavcodec/cscd.c libavcodec/cyuv.c libavcodec/dpx.c libavcodec/dpxenc.c libavcodec/eatgv.c libavcodec/escape124.c libavcodec/ffv1.c libavcodec/flashsv.c libavcodec/fraps.c libavcodec/h264.c libavcodec/huffyuv.c libavcodec/iff.c libavcodec/imgconvert.c libavcodec/indeo3.c libavcodec/kmvc.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/ljpegenc.c libavcodec/mjpegdec.c libavcodec/mjpegenc.c libavcodec/motionpixels.c libavcodec/mpeg12.c libavcodec/mpeg12enc.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo_enc.c libavcodec/pamenc.c libavcodec/pcxenc.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/pnm.c libavcodec/pnmdec.c libavcodec/pnmenc.c libavcodec/ptx.c libavcodec/qdrw.c libavcodec/qpeg.c libavcodec/qtrleenc.c libavcodec/raw.c libavcodec/rawdec.c libavcodec/rl2.c libavcodec/sgidec.c libavcodec/sgienc.c libavcodec/snowdec.c libavcodec/snowenc.c libavcodec/sunrast.c libavcodec/targa.c libavcodec/targaenc.c libavcodec/tiff.c libavcodec/tiffenc.c libavcodec/tmv.c libavcodec/truemotion2.c libavcodec/utils.c libavcodec/vb.c libavcodec/vp3.c libavcodec/wnv1.c libavcodec/xl.c libavcodec/xwddec.c libavcodec/xwdenc.c libavcodec/yop.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/buffersrc.c libavfilter/drawutils.c libavfilter/formats.c libavfilter/src_movie.c libavfilter/vf_ass.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_format.c libavfilter/vf_hflip.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_yadif.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavformat/movenc.c libavformat/mxf.h libavformat/utils.c libavformat/yuv4mpeg.c libavutil/imgutils.c libavutil/pixdesc.c libswscale/input.c libswscale/output.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c libswscale/x86/swscale_template.c libswscale/x86/yuv2rgb.c libswscale/x86/yuv2rgb_template.c libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-0820-734/+734
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-062-91/+65
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: yuv4mpeg: return proper error codes. Give all anonymously typedeffed structs in headers a name fate: Add parseutils test parseutils-test: Drop random colors from parsing test vf_pad/scale: use double precision for aspect ratios. build: error on variable-length arrays ppc: swscale: rework yuv2planeX_altivec() ppc: fmtconvert: kill VLA in float_to_int16_interleave_altivec() x86: dsputil: kill VLA in gmc_mmx() libspeexenc: Updated commentary to reflect recent changes libspeexenc: Add an option for enabling DTX doc/APIchanges: fill in missing dates and hashes. lavr: bump major to 1 and declare it stable. lavr: change the type of the data buffers to uint8_t**. lavc: deprecate the audio resampling API. Conflicts: cmdutils.h configure doc/APIchanges ffplay.c libavcodec/dwt.h libavcodec/libspeexenc.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavformat/asf.h tests/fate/libavutil.mak tests/ref/fate/parseutils Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Give all anonymously typedeffed structs in headers a nameDiego Biurrun2012-10-061-2/+2
| | | | | | | | Anonymous structs cannot be forward declared and have no benefit.
| * ppc: swscale: rework yuv2planeX_altivec()Mans Rullgard2012-10-051-89/+63
| | | | | | | | | | | | | | | | | | This gets rid of the variable-length scratch buffer by filtering 16 pixels at a time and writing directly to the destination. The extra loads this requires to load the source values are compensated by not doing a round-trip to memory before shifting. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | sws: drop unused variableMichael Niedermayer2012-09-301-2/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: move main swscale wraper to swscale.cMichael Niedermayer2012-09-302-200/+201
| | | | | | | | | | | | It never belonged to swscale_unscaled.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: fix To{Y,UV} extern prototypes.Clément Bœsch2012-09-301-2/+5
| | | | | | | | | | This fix a bunch of "assignment from incompatible pointer type" warnings with GCC.
* | swscale: change assert() to av_assert()Michael Niedermayer2012-09-181-8/+8
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sws: revert: "swscale: Remove two bogus asserts"Michael Niedermayer2012-09-131-0/+2
| | | | | | | | | | | | Also change them to av_assert Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-131-2/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: os_support: Choose between direct.h and io.h using a configure check os_support: Include io.h instead of direct.h on mingw32ce x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared swscale: Remove two bogus asserts ac3: move ac3_downmix() from dsputil to ac3dsp lavr/audio_mix_matrix: acknowledge the existence of LFE2. mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same Libav channel. lavu/audioconvert: add a second low frequency channel. Conflicts: doc/APIchanges libavcodec/ac3dsp.c libavcodec/ac3dsp.h libavcodec/mlp_parser.c libavutil/audioconvert.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * swscale: Remove two bogus assertsDiego Biurrun2012-09-131-2/+0
| |
* | x86/swscale: use unsigned to build SIMD values to avoid signed overflowMichael Niedermayer2012-09-111-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud