Ronald S. Bultje
015821229f
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>
12 years ago
Martin Storsjö
5941978e71
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>
12 years ago
Ronald S. Bultje
c46819f229
x86: Move constants to the only place where they are used
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
c0dcf89887
bfin: Match DEFUN_END macros to the right functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
a3cb865310
x86: dsputil: Move some ifdefs to avoid unused variable warnings
12 years ago
Diego Biurrun
2004c7c8f7
x86: dsputil: cosmetics: Remove two pointless variable indirections
12 years ago
Diego Biurrun
c51a3a5bd9
x86: dsputil: Refactor some ff_{avg|put}_pixels function declarations
12 years ago
Diego Biurrun
e027032fc6
x86: dsputil: ff_h263_*_loop_filter declarations to a more suitable place
12 years ago
Diego Biurrun
a89c05500f
x86: h264qpel: int --> ptrdiff_t for some line_size parameters
12 years ago
Vittorio Giovara
25882a7ff6
FATE: add a test for the interlace filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Vittorio Giovara
3fce136798
lavfi: new interlace filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
921046008f
cmdutils: allow -h filter=<name> to print information about a filter.
12 years ago
Anton Khirnov
e19e8aeeaa
avtools: move media_type_string() from avprobe to cmdutils.
...
It will be useful outside of avprobe.
12 years ago
Anton Khirnov
dc574658d1
avconv: print filter options in -h full output.
12 years ago
Anton Khirnov
bee2d75b66
avconv: update to the new options syntax.
...
The separators were changed from ',' to '|' in all the filters.
12 years ago
Anton Khirnov
f160c6a18a
lavfi: do not segfault on NULL passed to avfilter_get_by_name()
12 years ago
Anton Khirnov
fa2a34cd40
lavfi: change the filter registering system to match the other libraries
...
Removes an arbitrary hardcoded limit on the number of filters.
12 years ago
Anton Khirnov
7e8fe4be5f
lavfi: add a function for counting elements in AVFilterPad arrays.
...
The caller needs to know what valid indices can be passed to
avfilter_pad_get_name/type.
12 years ago
Anton Khirnov
7cdd737ba8
lavfi: mark filters with dynamic number of inputs or outputs with special flags
...
This will be useful in avtools in the following commits.
Any other caller might also want to know this information.
12 years ago
Anton Khirnov
1ba95a9cca
lavfi: add avfilter_init_dict() for initializing a filter with a dict.
12 years ago
Anton Khirnov
48a5adab62
lavfi: add avfilter_init_str() to replace avfilter_init_filter().
...
Drop the unused opaque parameter from its signature.
12 years ago
Anton Khirnov
1565cbc65c
lavfi: make avfilter_free() remove the filter from its graph.
12 years ago
Anton Khirnov
111367263a
lavfi: add AVFilterContext.graph.
...
It will be useful in the following commits.
12 years ago
Anton Khirnov
c2c9801bc9
lavfi: deprecate avfilter_graph_add_filter().
...
Since this function adds a standalone filter to a filter graph and we do
not support creating such filters, there is no reason for this function
to exist.
12 years ago
Anton Khirnov
bc1a985ba0
lavfi: replace avfilter_open() with avfilter_graph_alloc_filter().
...
Since we do not support "standalone" filters not attached to an
AVFilterGraph, we should not have a public function to create such
filters. In addition that function is horribly named, the action it does
cannot be possibly described as "opening" a filter.
12 years ago
Anton Khirnov
38f0c0781a
lavfi: merge avfiltergraph.h into avfilter.h
...
We do not support using filters without AVFilterGraph in practice
anyway, so there is no point in pretending we do.
12 years ago
Anton Khirnov
4a37d4b3f8
lavfi: add const to the pads parameter of avfilter_pad_get_name/type
12 years ago
Anton Khirnov
91d2efa7d6
lavfi: add const to AVFilterContext.filter.
...
lavfi should never modify the filter through that pointer.
12 years ago
Anton Khirnov
f223ad1e00
doc: document the prores encoder options
...
Adapted from the author's blag.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
93e65e9a6c
Cosmetics, restore alphabetic order in atomics lists.
12 years ago
Anton Khirnov
9e6b5e61a0
img2enc: add an option for overwriting one file with subsequent images
...
Based on a patch by Michael Niedermayer <michaelni@gmx.at>.
12 years ago
Diego Biurrun
ac9362c5d9
Move misplaced file author information where it belongs
12 years ago
Anton Khirnov
9de9b828ef
lavc: don't overwrite display dimensions with coded dimensions.
12 years ago
Anton Khirnov
2d6edb2b7e
lavc: extend / update the [coded_]{width,height} doxy
12 years ago
Diego Biurrun
20429ba96e
h261: Move encoder/decoder shared table init to common code
12 years ago
Diego Biurrun
8a776ad90e
h261: Move shared data tables from a header to a proper C file
12 years ago
Ronald S. Bultje
b93b27edb0
dsputil: Make dsputil selectable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
85deb51a01
h264: Only initialize dsputil if error resilience is enabled
...
It is only used for error resilience. This allows building the
h264 decoder without dsputil, if error resilience is disabled.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
62844c3fd6
h264: Integrate clear_blocks calls with IDCT
...
The non-intra-pcm branch in hl_decode_mb (simple, 8bpp) goes from 700
to 672 cycles, and the complete loop of decode_mb_cabac and hl_decode_mb
(in the decode_slice loop) goes from 1759 to 1733 cycles on the clip
tested (cathedral), i.e. almost 30 cycles per mb faster.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
e8cafd2773
h264: Clear the mb members via memset instead of using dsputil
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Ronald S. Bultje
6d25c9db11
dsputil: Make square put/avg_pixels functions local to h264qpel
...
Put a copy of the 8bit functions only in dsputil, where they are
used for some other things (e.g. mpeg4qpel, mspel, cavsqpel).
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Christophe Gisquet
2e81acc687
x86inc: Fix number of operands for cmp* instructions
...
cmp{p,s}{s,d} instructions do take an imm8 operand.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Anton Khirnov
837112c0c8
af_channelmap: fix uninitialized variable use introduced in ba8efac977
12 years ago
Anton Khirnov
cdac3acb11
lavfi: add a bump and docs entries for the AVOptions switch
12 years ago
Anton Khirnov
8114c10160
lavfi: add avfilter_get_class().
...
Useful for examining options, the same as the corresponding functions
for the other libs.
12 years ago
Anton Khirnov
4d1f31ea44
lavfi: make AVFilterContext export filter options.
12 years ago
Anton Khirnov
62549f9655
lavfi: error out when options are provided to a filter that does not take any
12 years ago
Anton Khirnov
c43a7ecad9
lavfi: remove now unused args parameter from AVFilter.init
12 years ago
Anton Khirnov
7b3eb745b9
vsrc_testsrc: switch to an AVOptions-based system.
12 years ago
Anton Khirnov
a42d6e6c4c
vsrc_movie: switch to an AVOptions-based system.
12 years ago