ffmpeg.git
6 years agolavfi/il: remove pointless store
Paul B Mahol [Tue, 16 Apr 2013 21:45:34 +0000 (21:45 +0000)]
lavfi/il: remove pointless store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/earwax: remove pointless store
Paul B Mahol [Tue, 16 Apr 2013 21:27:49 +0000 (21:27 +0000)]
lavfi/earwax: remove pointless store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 16 Apr 2013 21:23:11 +0000 (23:23 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  cmdutils: Fix build with lavfi disabled
  flvenc: do not mux more than one stream per type

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibaacpluc: remove unused code
Paul B Mahol [Tue, 16 Apr 2013 21:12:49 +0000 (21:12 +0000)]
libaacpluc: remove unused code

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/stereo3d: remove pointless store
Paul B Mahol [Tue, 16 Apr 2013 21:05:37 +0000 (21:05 +0000)]
lavfi/stereo3d: remove pointless store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agosgirledec: remove unused headers
Paul B Mahol [Tue, 16 Apr 2013 20:46:10 +0000 (20:46 +0000)]
sgirledec: remove unused headers

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavc: avcodec_open2(): pass context to av_log()
Paul B Mahol [Tue, 16 Apr 2013 16:37:56 +0000 (16:37 +0000)]
lavc: avcodec_open2(): pass context to av_log()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agodoc/filters: fix sentence in setsar/setdar docs
Stefano Sabatini [Tue, 16 Apr 2013 14:39:28 +0000 (16:39 +0200)]
doc/filters: fix sentence in setsar/setdar docs

6 years agolavfi/aspect: fix weird copyright notice
Stefano Sabatini [Tue, 16 Apr 2013 14:26:27 +0000 (16:26 +0200)]
lavfi/aspect: fix weird copyright notice

6 years agolavfi/split: use AVFILTER_DEFINE_CLASS to define class
Stefano Sabatini [Mon, 15 Apr 2013 21:59:47 +0000 (23:59 +0200)]
lavfi/split: use AVFILTER_DEFINE_CLASS to define class

6 years agocmdutils: Fix build with lavfi disabled
Anton Khirnov [Tue, 16 Apr 2013 14:09:16 +0000 (16:09 +0200)]
cmdutils: Fix build with lavfi disabled

Signed-off-by: Diego Biurrun <diego@biurrun.de>
6 years agomjpegdec: fix overlapping memcpy with upscale_v
Michael Niedermayer [Tue, 16 Apr 2013 17:53:24 +0000 (19:53 +0200)]
mjpegdec: fix overlapping memcpy with upscale_v

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibaacplus: support for float sample format
Paul B Mahol [Tue, 16 Apr 2013 16:12:17 +0000 (16:12 +0000)]
libaacplus: support for float sample format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agosws: Skip ff_yuv2rgb_c_init_tables() when the output is YUV
Michael Niedermayer [Tue, 16 Apr 2013 15:50:43 +0000 (17:50 +0200)]
sws: Skip ff_yuv2rgb_c_init_tables() when the output is YUV

Fixes "20bpp not supported by yuv2rgb" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec/c93: Check for block overlap.
Michael Niedermayer [Tue, 16 Apr 2013 14:41:21 +0000 (16:41 +0200)]
avcodec/c93: Check for block overlap.

Fixes overlapping memcpy()

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavutil/avutil_version: Run checks just once
Michael Niedermayer [Tue, 16 Apr 2013 13:22:56 +0000 (15:22 +0200)]
avutil/avutil_version: Run checks just once

This ensures that applications that call avutil_version() often
would not run the checls every time

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/interlace: remove now unused av_opt_free() call
Paul B Mahol [Tue, 16 Apr 2013 14:32:49 +0000 (14:32 +0000)]
lavfi/interlace: remove now unused av_opt_free() call

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavutil/pixdesc: check for component overlap
Michael Niedermayer [Tue, 16 Apr 2013 13:10:13 +0000 (15:10 +0200)]
avutil/pixdesc: check for component overlap

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavutil/pixdesc: check step/depth against each other
Michael Niedermayer [Tue, 16 Apr 2013 12:36:49 +0000 (14:36 +0200)]
avutil/pixdesc: check step/depth against each other

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavutil/pixdesc: support for self-checking the descriptors
Michael Niedermayer [Tue, 16 Apr 2013 12:16:03 +0000 (14:16 +0200)]
avutil/pixdesc: support for self-checking the descriptors

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavutil/pixdesc: fix rgb0 descriptors
Michael Niedermayer [Tue, 16 Apr 2013 12:15:09 +0000 (14:15 +0200)]
avutil/pixdesc: fix rgb0 descriptors

Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibaacplus: set supported profiles
Paul B Mahol [Tue, 16 Apr 2013 09:49:37 +0000 (09:49 +0000)]
libaacplus: set supported profiles

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolibaacplus: set supported channel_layouts
Paul B Mahol [Tue, 16 Apr 2013 09:39:40 +0000 (09:39 +0000)]
libaacplus: set supported channel_layouts

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agosws/fill_rgb2yuv_table: use ROUNDED_DIV
Michael Niedermayer [Tue, 16 Apr 2013 09:18:47 +0000 (11:18 +0200)]
sws/fill_rgb2yuv_table: use ROUNDED_DIV

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws/fill_rgb2yuv_table: increase precission to 32bit
Michael Niedermayer [Tue, 16 Apr 2013 09:15:47 +0000 (11:15 +0200)]
sws/fill_rgb2yuv_table: increase precission to 32bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws/fill_rgb2yuv_table: avoid 2 divisions
Michael Niedermayer [Tue, 16 Apr 2013 09:13:20 +0000 (11:13 +0200)]
sws/fill_rgb2yuv_table: avoid 2 divisions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibaacplus: remove FF_API_OLD_ENCODE_AUDIO cruft
Paul B Mahol [Tue, 16 Apr 2013 08:44:56 +0000 (08:44 +0000)]
libaacplus: remove FF_API_OLD_ENCODE_AUDIO cruft

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoflvenc: do not mux more than one stream per type
Rafaël Carré [Mon, 15 Apr 2013 11:14:28 +0000 (13:14 +0200)]
flvenc: do not mux more than one stream per type

FLV does not support multiple audio or video streams.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
6 years agosws: fix alignment of rgb2yuv
Michael Niedermayer [Tue, 16 Apr 2013 03:47:12 +0000 (05:47 +0200)]
sws: fix alignment of rgb2yuv

This should fix mingw32 fate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofate: fix histogram test, try #2
Michael Niedermayer [Tue, 16 Apr 2013 01:52:51 +0000 (03:52 +0200)]
fate: fix histogram test, try #2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 15 Apr 2013 23:01:29 +0000 (01:01 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: Set the bitexact flag for vp3/vp5/vp6 tests

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '015821229f96bf7e677f2a711a58dbea3009f574'
Michael Niedermayer [Mon, 15 Apr 2013 22:55:33 +0000 (00:55 +0200)]
Merge commit '015821229f96bf7e677f2a711a58dbea3009f574'

* commit '015821229f96bf7e677f2a711a58dbea3009f574':
  vp3: Use full transpose for all IDCTs

Conflicts:
libavcodec/vp3.c
libavcodec/vp3dsp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '5941978e71d2c3a8e2a7e87951e081e0b2e77da9'
Michael Niedermayer [Mon, 15 Apr 2013 22:50:33 +0000 (00:50 +0200)]
Merge commit '5941978e71d2c3a8e2a7e87951e081e0b2e77da9'

* commit '5941978e71d2c3a8e2a7e87951e081e0b2e77da9':
  vp3: bfin: Transpose the IDCTs

Conflicts:
libavcodec/bfin/vp3_bfin.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'c46819f2299c73cd1bfa8ef04d08b0153a5699d3'
Michael Niedermayer [Mon, 15 Apr 2013 22:44:20 +0000 (00:44 +0200)]
Merge commit 'c46819f2299c73cd1bfa8ef04d08b0153a5699d3'

* commit 'c46819f2299c73cd1bfa8ef04d08b0153a5699d3':
  x86: Move constants to the only place where they are used

Conflicts:
libavcodec/x86/vp3dsp.asm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'c0dcf89887f7fbdd7a8502bc7c715f50157562cb'
Michael Niedermayer [Mon, 15 Apr 2013 22:40:57 +0000 (00:40 +0200)]
Merge commit 'c0dcf89887f7fbdd7a8502bc7c715f50157562cb'

* commit 'c0dcf89887f7fbdd7a8502bc7c715f50157562cb':
  bfin: Match DEFUN_END macros to the right functions

Conflicts:
libavcodec/bfin/pixels_bfin.S

This bug seems not to have existed in our bfin code, thus
no change in this merge

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/filters: merge asplit and split documentation
Stefano Sabatini [Mon, 15 Apr 2013 19:29:29 +0000 (21:29 +0200)]
doc/filters: merge asplit and split documentation

Also move them to multimedia filters section.

6 years agolavfi/split: fix minor documentation issues
Stefano Sabatini [Sun, 14 Apr 2013 21:21:11 +0000 (23:21 +0200)]
lavfi/split: fix minor documentation issues

Use verbal form to describe "outputs" options, and mention it in the
manual.

6 years agolavfi/drawtext: make options array more readable.
Clément Bœsch [Mon, 15 Apr 2013 19:49:08 +0000 (21:49 +0200)]
lavfi/drawtext: make options array more readable.

6 years agosws/x86: update RENAME(rgb24toyv12)() to using the user provided rgb2yuv table
Michael Niedermayer [Mon, 15 Apr 2013 19:26:06 +0000 (21:26 +0200)]
sws/x86: update RENAME(rgb24toyv12)() to using the user provided rgb2yuv table

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovf_histogram: avoid floats, unbreak fate
Michael Niedermayer [Mon, 15 Apr 2013 19:37:49 +0000 (21:37 +0200)]
vf_histogram: avoid floats, unbreak fate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/filters: add a curves example with psfile.
Clément Bœsch [Mon, 15 Apr 2013 19:18:17 +0000 (21:18 +0200)]
doc/filters: add a curves example with psfile.

6 years agoswr/rematrix: use av_calloc()
Michael Niedermayer [Mon, 15 Apr 2013 18:27:24 +0000 (20:27 +0200)]
swr/rematrix: use av_calloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agopca: use av_calloc()
Michael Niedermayer [Mon, 15 Apr 2013 18:27:06 +0000 (20:27 +0200)]
pca: use av_calloc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agopca: use sizeof(variable) instead of sizeos(TYPE)
Michael Niedermayer [Mon, 15 Apr 2013 18:26:34 +0000 (20:26 +0200)]
pca: use sizeof(variable) instead of sizeos(TYPE)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoFATE: add a test for the histogram filter
Paul B Mahol [Mon, 15 Apr 2013 16:40:26 +0000 (16:40 +0000)]
FATE: add a test for the histogram filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agodoc/filters: move aphaser to right(audio) chapter
Paul B Mahol [Mon, 15 Apr 2013 16:22:12 +0000 (16:22 +0000)]
doc/filters: move aphaser to right(audio) chapter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/histogram: remove pointless store
Paul B Mahol [Mon, 15 Apr 2013 16:07:51 +0000 (16:07 +0000)]
lavfi/histogram: remove pointless store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/noise: remove pointless store
Paul B Mahol [Mon, 15 Apr 2013 15:57:31 +0000 (15:57 +0000)]
lavfi/noise: remove pointless store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/curves: fix memleak after master component dition.
Clément Bœsch [Mon, 15 Apr 2013 16:04:24 +0000 (18:04 +0200)]
lavfi/curves: fix memleak after master component dition.

6 years agodeshake: fix off by 2 error
Michael Niedermayer [Mon, 15 Apr 2013 14:23:28 +0000 (16:23 +0200)]
deshake: fix off by 2 error

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovf_deshake: Fix crash with r*=64
Michael Niedermayer [Mon, 15 Apr 2013 12:28:19 +0000 (14:28 +0200)]
vf_deshake: Fix crash with r*=64

Replace literal numbers by named R_MAX and correct their value

Fixes half of Ticket2443

Based on patch by: João Bernardo <jbvsmo@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofate: Set the bitexact flag for vp3/vp5/vp6 tests
Martin Storsjö [Wed, 10 Apr 2013 08:48:57 +0000 (11:48 +0300)]
fate: Set the bitexact flag for vp3/vp5/vp6 tests

This is required since there are bit-inexact implementations
of the vp3 idct (for bfin).

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agodfa: support decoding version=1.0
Michael Niedermayer [Mon, 15 Apr 2013 10:07:12 +0000 (12:07 +0200)]
dfa: support decoding version=1.0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/curves: add support for Photoshop curves files (.acv).
Clément Bœsch [Mon, 15 Apr 2013 01:49:36 +0000 (03:49 +0200)]
lavfi/curves: add support for Photoshop curves files (.acv).

6 years agolavfi/curves: add support for master component.
Clément Bœsch [Mon, 15 Apr 2013 08:53:54 +0000 (10:53 +0200)]
lavfi/curves: add support for master component.

6 years agovp3: Use full transpose for all IDCTs
Ronald S. Bultje [Tue, 12 Mar 2013 14:28:12 +0000 (07:28 -0700)]
vp3: Use full transpose for all IDCTs

This way, the special IDCT permutations are no longer needed. This
is similar to how H264 does it, and removes the dsputil dependency
imposed by the scantable code.

Also remove the unused type == 0 cases from the plain C version
of the idct.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agovp3: bfin: Transpose the IDCTs
Martin Storsjö [Wed, 3 Apr 2013 12:03:17 +0000 (05:03 -0700)]
vp3: bfin: Transpose the IDCTs

While this change isn't bitexact, the IDCTs weren't bitexact to
start with either.

This simplifies decoupling vp3 from dsputil.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agox86: Move constants to the only place where they are used
Ronald S. Bultje [Wed, 10 Apr 2013 09:34:10 +0000 (12:34 +0300)]
x86: Move constants to the only place where they are used

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agobfin: Match DEFUN_END macros to the right functions
Martin Storsjö [Wed, 10 Apr 2013 16:12:58 +0000 (19:12 +0300)]
bfin: Match DEFUN_END macros to the right functions

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agosws: remove forgotten FAST_BGR2YV12 define
Michael Niedermayer [Mon, 15 Apr 2013 01:40:50 +0000 (03:40 +0200)]
sws: remove forgotten FAST_BGR2YV12 define

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoAdd thread-safe wrapper for get_format().
Reimar Döffinger [Sun, 7 Apr 2013 08:17:09 +0000 (10:17 +0200)]
Add thread-safe wrapper for get_format().

Just like get_buffer, get_format should not be called from a different
thread if thread_safe_callbacks is not set.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
6 years agoFix compilation on ARM with android gcc 4.7
Reimar Döffinger [Sat, 16 Mar 2013 12:36:20 +0000 (13:36 +0100)]
Fix compilation on ARM with android gcc 4.7

With the current code it fails due to running out
of registers.
So code the store offsets manually into the assembler
instead.
Passes "make fate-dts".

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
6 years agosws/x86: remove 8bit rgb2yuv coefficient case for rgb24toyv12 special converter
Michael Niedermayer [Mon, 15 Apr 2013 01:16:14 +0000 (03:16 +0200)]
sws/x86: remove 8bit rgb2yuv coefficient case for rgb24toyv12 special converter

This simplifies the code and improves quality at the expense of a slight
slowdown of a rarely used function (no fate test uses it).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws: Update rgb24toyv12_c() to user supplied rgb2yuv tables
Michael Niedermayer [Mon, 15 Apr 2013 01:01:04 +0000 (03:01 +0200)]
sws: Update rgb24toyv12_c() to user supplied rgb2yuv tables

As the function arguments change, we also change the function name
to ensure that anyone using this (non public) function doesnt end
with hard to debug crashes. The new name also has a proper prefix.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws/"rgb2rgb": drop RGB2YUV_SHIFT
Michael Niedermayer [Mon, 15 Apr 2013 00:27:14 +0000 (02:27 +0200)]
sws/"rgb2rgb": drop RGB2YUV_SHIFT

Fixes a warning and increases the precission the coefficients

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws/x86: update rgba->yuv to use user supplied table
Michael Niedermayer [Sun, 14 Apr 2013 22:57:26 +0000 (00:57 +0200)]
sws/x86: update rgba->yuv to use user supplied table

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws/x86: update rgb/bgr->yuv code to use provided coefficient table
Michael Niedermayer [Sun, 14 Apr 2013 22:49:00 +0000 (00:49 +0200)]
sws/x86: update rgb/bgr->yuv code to use provided coefficient table

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws: init input_rgb2yuv_table depending on yuv colorspace
Michael Niedermayer [Sun, 14 Apr 2013 21:52:31 +0000 (23:52 +0200)]
sws: init input_rgb2yuv_table depending on yuv colorspace

For the default table we keep using the exact previous
coefficients, this way individual functions can be updated seperately
without breaking fate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws: move RGB2YUV_SHIFT to swscale_internal.h
Michael Niedermayer [Sun, 14 Apr 2013 21:51:58 +0000 (23:51 +0200)]
sws: move RGB2YUV_SHIFT to swscale_internal.h

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavf/libquvi: fix error reporting.
Clément Bœsch [Sun, 14 Apr 2013 23:18:11 +0000 (01:18 +0200)]
lavf/libquvi: fix error reporting.

6 years agolavfi/aphaser: silence uninitialized variable warnings.
Clément Bœsch [Sun, 14 Apr 2013 23:12:26 +0000 (01:12 +0200)]
lavfi/aphaser: silence uninitialized variable warnings.

6 years agolavfi/negate: stop calling lut_init() as that function does nothing now
Paul B Mahol [Sun, 14 Apr 2013 22:22:16 +0000 (22:22 +0000)]
lavfi/negate: stop calling lut_init() as that function does nothing now

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi/testsrc: unbreak smptebars only build
Paul B Mahol [Sun, 14 Apr 2013 21:11:28 +0000 (21:11 +0000)]
lavfi/testsrc: unbreak smptebars only build

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavf: remove some flushing in write_packet muxers callbacks.
Clément Bœsch [Sun, 24 Mar 2013 23:23:46 +0000 (00:23 +0100)]
lavf: remove some flushing in write_packet muxers callbacks.

Since 4f112a8e3, this is not necessary anymore. Also, it allows to
actually disable the flushing.

6 years agodoc/filters: remove mention to telecine mp filter
Stefano Sabatini [Sun, 14 Apr 2013 19:10:45 +0000 (21:10 +0200)]
doc/filters: remove mention to telecine mp filter

It was removed in 32a7b858c9175b851503dc3fa66440efe2afd3ee.

6 years agolavfi: add missing periods in filter descriptions.
Clément Bœsch [Sun, 14 Apr 2013 18:58:31 +0000 (20:58 +0200)]
lavfi: add missing periods in filter descriptions.

6 years agoffmpeg: show error message in case of av_buffersrc_add_frame_flags() failure
Stefano Sabatini [Sat, 13 Apr 2013 11:16:23 +0000 (13:16 +0200)]
ffmpeg: show error message in case of av_buffersrc_add_frame_flags() failure

6 years agodoc: document -opencl_options option in ff* tools manuals
Stefano Sabatini [Fri, 12 Apr 2013 18:05:10 +0000 (20:05 +0200)]
doc: document -opencl_options option in ff* tools manuals

6 years agoAdd avpriv_dsputil_init() and use it in lavfi where relevant.
Clément Bœsch [Sun, 14 Apr 2013 02:34:06 +0000 (04:34 +0200)]
Add avpriv_dsputil_init() and use it in lavfi where relevant.

dsputil_init() is deprecated and not meant to be exported.
ff_dsputil_init() is internal to libavcodec and thus can not be used.
avpriv_dsputil_init() is the version shared between libraries.

This commit fixes 3 unjustified libavfilter deprecated warnings.

6 years agosws/input: replace hardcoded rgb2yuv coefficients by table
Michael Niedermayer [Sun, 14 Apr 2013 17:55:06 +0000 (19:55 +0200)]
sws/input: replace hardcoded rgb2yuv coefficients by table

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswscale/output: fix alpha scale in the new functions
Michael Niedermayer [Sun, 14 Apr 2013 14:56:42 +0000 (16:56 +0200)]
swscale/output: fix alpha scale in the new functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws/output: add yuv2rgb_full_1_c_template()
Michael Niedermayer [Sun, 14 Apr 2013 14:14:22 +0000 (16:14 +0200)]
sws/output: add yuv2rgb_full_1_c_template()

7500->4500 cycles on sandybridge

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/filters: move mpdecimate doc to a more appropriate position.
Clément Bœsch [Sun, 14 Apr 2013 13:57:37 +0000 (15:57 +0200)]
doc/filters: move mpdecimate doc to a more appropriate position.

6 years agolavfi: port IVTC filters from vapoursynth.
Clément Bœsch [Mon, 10 Dec 2012 23:53:10 +0000 (00:53 +0100)]
lavfi: port IVTC filters from vapoursynth.

6 years agolavfi: rename decimate to mpdecimate.
Clément Bœsch [Fri, 22 Mar 2013 21:58:36 +0000 (22:58 +0100)]
lavfi: rename decimate to mpdecimate.

The next commit will introduce a proper decimation filter to be used
along with the field matching filter. To avoid confusion with this
filter which has currently a very limited usage (and will not work
properly with the fieldmatching filter), the new decimation filter will
take the decimate name, and this filter is renamed to mpdecimate.

6 years agosws/output: add +yuv2rgb_full_2_c_template()
Michael Niedermayer [Sun, 14 Apr 2013 13:32:11 +0000 (15:32 +0200)]
sws/output: add +yuv2rgb_full_2_c_template()

8100 cycles -> 5800 cycles on sandybridge

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosws/output: factor yuv2rgb_write_full() out
Michael Niedermayer [Sun, 14 Apr 2013 11:17:04 +0000 (13:17 +0200)]
sws/output: factor yuv2rgb_write_full() out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/smptehdbars: fix priv_class pointer.
Clément Bœsch [Sun, 14 Apr 2013 08:32:23 +0000 (10:32 +0200)]
lavfi/smptehdbars: fix priv_class pointer.

Fix Ticket2468.

6 years agolavfi/testsrc: grammar fix in comment after 03e2ec32.
Clément Bœsch [Sun, 14 Apr 2013 01:27:48 +0000 (03:27 +0200)]
lavfi/testsrc: grammar fix in comment after 03e2ec32.

6 years agolavfi: add smptehdbars source
Paul B Mahol [Thu, 11 Apr 2013 15:49:44 +0000 (15:49 +0000)]
lavfi: add smptehdbars source

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agodoc/filters: move telecine from audio to video filters
Paul B Mahol [Sat, 13 Apr 2013 23:17:38 +0000 (23:17 +0000)]
doc/filters: move telecine from audio to video filters

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavu/dict: cosmetic realign.
Clément Bœsch [Sat, 13 Apr 2013 19:13:52 +0000 (21:13 +0200)]
lavu/dict: cosmetic realign.

6 years agolog: Remove redundant va_list creation from missing_feature_sample()
James Almer [Fri, 5 Apr 2013 06:49:17 +0000 (03:49 -0300)]
log: Remove redundant va_list creation from missing_feature_sample()

avpriv_request_sample() and avpriv_report_missing_feature() were printing bogus values for the extra arguments.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'cigaes/master'
Michael Niedermayer [Sat, 13 Apr 2013 18:38:26 +0000 (20:38 +0200)]
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  lavu/opt: check int lists length for overflow.
  lavu: add parens to macro argument.
  lavu: add av_pure to av_int_list_length_for_size.
  lavfi/buffersink: factor checks for lists sizes.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agooggenc: Fix pref_duration AVOption type
Michael Niedermayer [Sat, 13 Apr 2013 18:23:01 +0000 (20:23 +0200)]
oggenc: Fix pref_duration AVOption type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavu/opt: check int lists length for overflow.
Nicolas George [Sat, 13 Apr 2013 09:46:56 +0000 (11:46 +0200)]
lavu/opt: check int lists length for overflow.

Also add parens on macro arguments.

6 years agolavu: add parens to macro argument.
Nicolas George [Sat, 13 Apr 2013 09:47:27 +0000 (11:47 +0200)]
lavu: add parens to macro argument.

6 years agolavu: add av_pure to av_int_list_length_for_size.
Nicolas George [Sat, 13 Apr 2013 09:37:16 +0000 (11:37 +0200)]
lavu: add av_pure to av_int_list_length_for_size.

6 years agolavfi/buffersink: factor checks for lists sizes.
Nicolas George [Sat, 13 Apr 2013 09:27:52 +0000 (11:27 +0200)]
lavfi/buffersink: factor checks for lists sizes.

6 years agoavcodec: fix ignorecrop AVOption offset
Michael Niedermayer [Sat, 13 Apr 2013 17:55:49 +0000 (19:55 +0200)]
avcodec: fix ignorecrop AVOption offset

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>