Diego Biurrun
6a8b35dc88
dsputilenc_mmx: Merge two assignment blocks with identical conditions
11 years ago
Diego Biurrun
945673f792
dsputil_template: K&R formatting cosmetics
11 years ago
Diego Biurrun
acd2b8e42d
rnd_avg.h: K&R formatting cosmetics
11 years ago
Diego Biurrun
05563ccacc
dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl names
...
Also switch from "tbl" to "tab" name suffixes.
11 years ago
Diego Biurrun
635ec127d4
dsputil: Merge variable declarations and initializations
11 years ago
Diego Biurrun
bb12c2e9c0
dsputil: K&R formatting cosmetics
11 years ago
Diego Biurrun
503dda7d4f
dsputil.h: K&R formatting cosmetics
11 years ago
Diego Biurrun
8199bb7be0
dsputil.h: Clean up comments
11 years ago
Diego Biurrun
0a8f91b1fb
dsputil: Remove disabled avg_no_rnd_qpel leftovers
11 years ago
Diego Biurrun
55519926ef
x86: Make function prototype comments in assembly code consistent
...
This helps grepping for functions, among other things.
11 years ago
Diego Biurrun
edd1f833fa
x86: h264_idct_10_bit: Use proper type in function prototype comments
11 years ago
Diego Biurrun
831a118078
Update dsputil- and SIMD-related comments to match reality more closely
11 years ago
Diego Biurrun
d1184b8110
arm: dsputil: Add a bunch of missing #includes
11 years ago
Diego Biurrun
17608f6ee3
x86: Add some more missing headers
11 years ago
Diego Biurrun
fd9e2221bd
ppc: Add some missing headers
11 years ago
Diego Biurrun
ed9625eb62
dsputil: Move intreadwrite.h #include from header file to .c files
11 years ago
Diego Biurrun
9103185bd1
dsputil: Drop ff_check_alignment() function
...
The function is supposed to confirm that the compiler provided enough
alignment, but in practice it is only run in certain code paths and
insufficient alignment problems are restricted to legacy compilers.
11 years ago
Diego Biurrun
49676eb730
dsputil: Remove prototypes for nonexisting optimization functions
11 years ago
Diego Biurrun
08dba0e1c3
x86: mpegvideoenc: Remove some remnants of the long-gone libmpeg2 IDCT
11 years ago
Diego Biurrun
b4dd424d96
Remove all SPARC architecture optimizations
...
SPARC is no longer being used in any multimedia-related fields and the
VIS optimizations only represent a maintenance burden.
11 years ago
Diego Biurrun
d6096a6742
Remove all SH4 architecture optimizations
...
SH4 has been end-of-lifed and no more test machines are available.
11 years ago
Diego Biurrun
cd832f032f
ffv1: Drop bogus dependency on dsputil
...
ffv1 does not use any part of the dsputil framework.
11 years ago
Diego Biurrun
88b240646f
build: Drop stray mpc8 decoder dependency on dsputil
11 years ago
Janne Grunau
5a7f382a5d
armv6: vp8: use explicit labels in motion compensation asm
...
The integrated arm assembler in clang-503.0.38 (Xcode-5.1) fails
to assemble a branch to 'label + offset' in thumb mode.
11 years ago
Vittorio Giovara
b4e355c89e
copy_block: K&R formatting cosmetics
11 years ago
Luca Barbato
5eacbb5328
golomb: Add a get_se_golomb_long
...
Useful in libavformat mostly.
11 years ago
Vittorio Giovara
4d33873c29
hevc: make pps/sps ids unsigned where necessary
...
Fixes integer overflow and out of array accesses.
Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind
11 years ago
Michael Niedermayer
ed06e5d92b
hevc: Do not turn 32bit timebases into negative numbers
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
11 years ago
Michael Niedermayer
6cc94e9719
hevc: use av_mallocz() for allocating tab_ipm
...
Fixes use of uninitialized memory and out of stack array read.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
11 years ago
Michael Niedermayer
920c01adce
hevc: Use get_bits_long() in decode_vui()
...
Fix assertion failure.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
11 years ago
Janne Grunau
634d9d8b39
arm: get_cabac inline asm
...
Based on the aarch64 asm. CPU cycle counts on cortex-a9 compared to
gcc 4.8.2:
before: 475 decicycles in get_cabac_noinline, 67106035 runs, 2829 skips
after: 393 decicycles in get_cabac_noinline, 67106474 runs, 2390 skips
Overall speedup is above 2%. Code generated by clang 3.4 is slower on
the same hardware and the relative change is a little larger.
11 years ago
Janne Grunau
dfe224f377
aarch64: get_cabac inline asm
...
Based on the x86 branchless get_cabac asm. get_cabac_noinline() gets
approximately 20% faster (no cycle counts available) compared to clang
from Xcode 5.1 beta5. More than 6% faster overall. A part of the overall
speedup might be explained by additional inlining of get_cabac().
11 years ago
Janne Grunau
4506a854a4
arm: vp3: remove incorrect const in ff_vp3_idct_dc_add_neon declaration
...
Was missed in aeaf268e52
when integrating
clear_blocks into the idct.
11 years ago
Janne Grunau
61985ad72c
arm: hpeldsp: fix put_pixels8_y2_{,no_rnd_}armv6
...
The overread avoidance fix in cbddee1cca
broke the computation for the last row since it prevented the safe
reading from the height+1-th row.
CC: libav-stable@libav.org
11 years ago
Keiji Costantini
8c09532672
rv10: K&R formatting cosmetics
...
Also sort #includes into canonical order.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Keiji Costantini
b4d372e091
rv10: Forward error from rv10_decode_packet
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
a801453423
g2meet: K&R formatting cosmetics
11 years ago
Derek Buitenhuis
f87a6e500b
fic: Properly handle skip frames
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Derek Buitenhuis
d67dbfa7c1
libx265: Support API version 9
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Rainer Hochecker
b66382101c
dxva2: Increase maximum number of slices for mpeg2
...
Some content requires an higher number of slices in order to
render properly.
Rise the number to 1024 and warn if ever it exceeds.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Diego Biurrun
d48430c367
build: Let the SVQ3 decoder depend on the H.264 decoder
...
The SVQ3 decoder reuses large parts of the H.264 decoder so it
makes no sense to enable the former but not the latter.
Also drop unnecessary h263.o object from SVQ3 decoder object list.
11 years ago
Diego Biurrun
3bfdee00cd
x86: dcadsp: Fix linking with yasm and optimizations disabled
...
Some optimized functions reference optimized symbols, so the functions
must be explicitly disabled when those symbols are unavailable.
11 years ago
Janne Grunau
cbddee1cca
arm: hpeldsp: prevent overreads in armv6 asm
...
Based on a patch by Russel King <rmk+libav@arm.linux.org.uk>
Bug-Id: 646
CC: libav-stable@libav.org
11 years ago
Diego Biurrun
3741aa37c2
x86: cabac: Use correct #includes to make header compile standalone
11 years ago
Rémi Denis-Courmont
eeaf4f3b87
av_vdpau_get_profile: mask out H.264 intra profile flag
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
11 years ago
Vittorio Giovara
973dc4e8d4
put_bits: Remove unused includes
...
This requires adding includes to other files that relied on these being
included implicitly.
11 years ago
Vittorio Giovara
5397386eff
mathops: move macro to the only place it is used
...
This helps in disentangling lavf and lavc too.
11 years ago
Keiji Costantini
9514440337
ituh263: reject b-frame with pp_time = 0
...
Avoid a division by 0 in ff_mpeg4_set_one_direct_mv.
Sample-Id: 00000168-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Anton Khirnov
d1f9563d50
pthread_frame: flush all threads on flush, not just the first one
...
avcodec_flush_buffers() must release all internally held references
according to its documentation, for which all the threads need to be
flushed.
CC:libav-stable@libav.org
Bug-Id: vlc/9665
11 years ago
Diego Biurrun
2f02bbcca0
build: Let the ffvhuff decoder/encoder depend on the huffyuv decoder/encoder
...
Almost all of the code is shared so there is little point in
enabling one decoder/encoder without the other.
11 years ago