Steve Lhomme
d8039ef8d2
D3D11va: add a Direct3D11 video decoder similar to DXVA2
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Tim Nicholson
ebb08f3fe4
avutil/pixfmt: Clarify DV example comments for AVChromaLocation
...
Signed-off-by: Tim Nicholson <tim.nicholson@bbc.co.uk>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
818275bbd0
avutil/pixfmt: s/luma sample positions/horizontal luma sample positions/
...
Better to be explicit before someone thinks this could be the time axis ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
8a141ad5e8
avutil/pixfmt: make luma sample positions even more explicit in the AVChromaLocation ASCII art
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
b95df4c371
avutil/pixfmt: Clarify mpeg example comments for AVChromaLocation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
acccc28713
avutil/pixfmt: clarify chroma location text further, as "first" is ambigous
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
a3b0130dee
avutil/pixfmt: Clarify that the ASCII art describes the location of the first chroma sample of AVChromaLocation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
710abaf2c5
avutil/pixfmt: Improve ascii art showing the meaning of the AVChromaLocation values
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Nedeljko Babic
729466dc68
libavutil/softfloat: Add test case for av_add_sf
...
Recently normalization (av_normalize_sf) of output was added to av_add_sf.
This normalization is used for better precision for small values and the
purpose of this (quite simple) test case is to test difference between double
and softfloat.
The values used are tailored to maximally highlighte problem with precison when
normalization is not used.
Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Andreas Cadhalpun
51f6455285
imgutils: initialize palette padding bytes in av_image_alloc
...
av_image_fill_pointers always aligns the palette, but the padding
bytes don't (and can't) get initialized in av_image_copy.
Thus initialize them in av_image_alloc.
This fixes 'Syscall param write(buf) points to uninitialised byte(s)'
valgrind warnings.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
ae4eea8be4
avutil/avstring: Use size_t in av_strlcatf()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
4c128ea162
avutil/dict: Use size_t for appending strings
...
the string length is not constrained to INT_MAX
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
4950bd4ebe
libavutil/mem: use size_t for the length in av_strdup()
...
the string length is not constrained to INT_MAX
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Shivraj Patil
7174df44fe
avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC uni copy, uni horizontal and uni vertical mc functions
...
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
James Almer
aa70801aaf
ripemd: move ripemd{256, 320} into separate functions
...
This allows the removal of a few branches.
Before:
lavu RIPEMD-160 size: 1048576 runs: 1024 time: 7.052 +- 0.010
After:
lavu RIPEMD-160 size: 1048576 runs: 1024 time: 6.865 +- 0.015
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Ronald S. Bultje
98f7f0f7e8
lavu: add yuv440p10/12 pixfmts.
10 years ago
Michael Niedermayer
890b874889
avutil/internal: Suppress empty body warning from emms_c()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
52835cb8e1
avutil/opt: Avoid division by 0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
536b42e858
avutil/cast5: Make iv array static
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
156f64bdf1
avutil/cast5: Mark key_bits as const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Shivraj Patil
02001ada5c
avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for H264 lpf and weight/biweight functions
...
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
James Almer
39fbb27ec3
avutil/softfloat_tables: add missing stdint.h include
...
Fixes make checkheaders
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Nedeljko Babic
1fae268307
libavutil/softfloat: Add functions.
...
Functions av_gt_sf, av_sqrt_sf and av_sincos_sf added to softfloat
Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Nedeljko Babic
7bab281475
libavutil/softfloat: Added av_normalize_sf in av_add_sf
...
This will normalize sums for which mantissa is smaller than the lower boundary
(needed for implementation of fixed point aac decoder).
Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Nedeljko Babic
a1c7fe431c
libavutil/softfloat: exponent adjusted for aac fixed point dec
...
Exponent usage and calculation in softfloat adjusted to the format used in
implementation of fixed point aac decoder.
Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Maneesh Gupta
91305c6026
OpenCL: Fix ABI incompatibility issues
...
AVOpenCLDeviceNode and AVOpenCLPlatformNode used fixed static buffer for holding the device and platform name.
This patch modifies these structures to use pointers instead. The memory required to hold the names is
now dynamically allocated, the size for which is determined by querying appropriate OpenCL runtime APIs.
Signed-off-by: Maneesh Gupta <maneesh.gupta@amd.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Matteo Nastasi (mop)
9c3c7b4579
avutil/log: more complete description of av_log function
10 years ago
Michael Niedermayer
a3110beebd
avutil/softfloat: document av_int2sf()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Shivraj Patil
97f074f134
avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC copy and hv mc functions
...
Incorporated review comment.
Removed "__" from volatile.
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
8e985b7271
avutil/frame: fix everythnig/everything typo
10 years ago
Vittorio Giovara
eaa2d123f0
log: Print a full backtrace along with error messages under Valgrind
...
Useful to understand where and in what execution state a certain message
is generated. It is enabled only when optimizations are disabled, since
function names are not printed otherwise.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Michael Niedermayer
42d6d249b0
avutil/mips/generic_macros_msa: volatile doesnt need __
...
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
James Almer
a1d58e3b38
avutil: remove pointless bmi1 define
...
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Vittorio Giovara
c253340ae6
log: Introduce a more verbose debug level
...
And deprecate av_dlog macro.
10 years ago
James Almer
a40cee03a3
avutil: remove pointless bmi1 define
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Shivraj Patil
4efc0e6451
avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC horizontal and vertical mc functions
...
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Nedeljko Babic
f4ccf38902
libavutil/softfloat: Change order of fields in SoftFloat structure.
...
Softfloat will be used in implementation of AAC fixed point decoder.
This change is needed in order to more easily integrate ffmpegs softfloat in
already developed algorithm for AAC.
Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Shivraj Patil
578d99e7c6
avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)
...
Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
d630f38f47
avutil/x86/Makefile: fix conditional x86/emms.o build
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Ronald S. Bultje
b926f02e81
avutil/x86/Makefile: Make building and linking of emms.c conditional
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Luca Barbato
27f2746282
parseutils: Make av_small_strptime public
...
And use it in libavformat.
Based on a similar patch by Stefano Sabatini <stefasab@gmail.com>.
10 years ago
Luca Barbato
108f2f381a
parseutils: Extend small_strptime to be used in avformat
...
The strptime implementation is supposed to support whitespace and %T.
10 years ago
Lukasz Marek
96f896750d
lavu/dict: add more tests
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Lukasz Marek
a8c5b4551e
lavu/dict: fix set function when reuse existing key pointer
...
Fixes following scenario:
av_dict_set(&d, "key", "old", 0);
AVDictionaryEentry *e = av_dict_get(d, "key", NULL, 0);
av_dict_set(&d, e->key, "new", 0);
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Lukasz Marek
08d0dbf2ae
lavu/dict: don't accept AV_DICT_DONT_STRDUP_VAL for av_dict_set_int
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
c49e7924a8
avutil/eval: check for av_malloc failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
61123634dd
avutil/eval: factor av_expr_free() calls out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Lukasz Marek
31886968d3
lavu/avstring: add av_append_path_component() funcion
...
Convinient function to build paths.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
21ee6da70c
avutil/hmac: Check av_hmac_alloc() return code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
dadc43eee4
avutil/pca: Check for av_malloc* failures
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago