Anton Khirnov
c2a4ca944d
svq3: eliminate write_back_intra_pred_mode() usage
...
This function depends on the h264 internals and is so tiny that just
copying the code out is the simplest replacement.
9 years ago
Anton Khirnov
c73fb9efb2
svq3: add all the required dsp contexts into SVQ3Context
...
Stop using the H264Context ones, to allow removing the H264Context
dependency.
9 years ago
Anton Khirnov
15b0517da9
svq3: make the dsp functions static
...
There is no need for them to be extern anymore.
9 years ago
Anton Khirnov
9b30f8dd8f
h264: remove the svq3-specific code
9 years ago
Anton Khirnov
e42ca48a8b
svq3: rip out the mb decoding code shared with h264
...
The ~100 lines of shared code is not worth the pain of svq3 messing with
h264 internals.
9 years ago
Anton Khirnov
e481458bc3
h264: factor out pred weight table parsing into a separate file
...
This will allow decoupling the parser from the decoder.
9 years ago
Anton Khirnov
90ed6c5cf7
h2645_parse: compute the actual data length, without trailing paddding
...
This is required by h264.
9 years ago
Anton Khirnov
b667252a41
h2645_parse: add support for parsing h264
9 years ago
Anton Khirnov
52ec149fbe
h2645_parse: change the AVCodecContext* parameter to void*
...
This should make it more clear that it is not supposed to be used for
anything except logging.
9 years ago
Anton Khirnov
8229eff4b7
h2645_parse: add a function for uninitializing the packet
9 years ago
Anton Khirnov
fa936a307f
hevc_parse: rename into h2645_parse
...
This code will be shared with h264.
9 years ago
Michael Niedermayer
8f2a1990c0
avcodec/diracdec: check bitstream size related fields for overflows
...
Fixes segfault
Fixes Ticket5333
Regression since bfc8a4dabe
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timo Rothenpieler
665c05f7cb
configure: Fail if CUDA enabled but not found
...
Without this patch, configure still passes and enables CUDA, no matter
if it was actually found, breaking the build in case it was not.
9 years ago
Paul B Mahol
48be92e5b6
avfilter/vf_waveform: optimize lowpass 8bit filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
0b9957c301
avfilter/vf_waveform: move mirror variable into function argument
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Kieran Kunhya
e259dc86a8
avcodec: Remove libdcadec, we already have it merged internally
9 years ago
Michael Niedermayer
c50be7a52b
avcodec/h264_slice: Check PPS more extensively when its not copied
...
Fixes Ticket5371
Fixes null pointer dereference
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Marton Balint
8ff0f6ae82
avformat/segment: set format options for all segments
...
Fixes ticket #5318 .
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Martin Storsjö
cdb1665f70
aarch64: Make transpose_4x4H do a regular transpose
...
Previously, ff_h264_idct_add_neon (originally in the arm version) used
a non-regular transpose in order to be able to use more instructions
that deal with registers as 128 bit register pairs. The aarch64
translation doesn't do it to the same extent, but brought along the
same structure since it was a straight translation.
This reshuffles ff_h264_idct_add_neon, bringing it closer to
the C implementation, making the transpose_4x4H macro do a regular
transpose, usable for other algorithms as well.
Previously, the third and fourth output from transpose_4x4H were
swapped, and prior to cc29d96d5a
, the same inputs as well. In
addition to just swapping the outputs, also renumber the intermediate
registers for better readability (making the register order match
transpose_4x8B).
This runs with the same number of cycles as before.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Michael Niedermayer
5a19506088
fate: Remove vsync drop from some h264 tests
...
Note some tests need vsync drop to produce exact timestamps, these seem not to
need it. quite likely many more dont need it either, ive not checked beyond finding
one that needs it and the ones which have it removed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
d4424d7de2
fate: Modify a random h264 test to also test the -framerate option
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Dan Dennedy
28688d7c2b
avcodec/audiotoolboxenc: Fix compile error on OS X 10.8.
...
Fixes error "libavcodec/audiotoolboxenc.c:294:50: error: use of undeclared
identifier 'kAudioCodecPropertyPacketSizeLimitForVBR'."
That was added to 10.9:
https://developer.apple.com/library/mac/releasenotes/General/APIDiffsMacOSX10_9/AudioUnit.html
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
de1a0d4359
lavc/flicvideo: Implement padding in COPY chunks.
...
Reviewed-by: Reimar
9 years ago
Michael Niedermayer
c06bdc60c9
avformat/rtpdec: Remove stray debug av_log()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Martin Vignali
495f08edb4
avcodec/exr: add support for B44 and B44A compression
9 years ago
Ico Doornekamp
edf54887e2
rtpdec_jpeg: fix low contrast image on low quality setting
...
The problem is that the argument 'q' is of the type uint8_t.
According to the JPEG standard, if 1 <= q <= 50, the scale factor
'S' should be 5000 / Q. Because the create_default_qtables() reuses
the variable 'q' to store the result of this calculation, for small
values of q < 19, q wil subsequently overflow and give wrong results
in the calculated quantization tables.
Instead, use a new variable 'S' (same name as in RFC2435) with the
proper range to store the result of the division.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Paul B Mahol
585cfabb79
avcodec/jpeg2000dec: add slice threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
e2298b3fcc
avcodec/jpeg2000dec: account two last bytes from end of bytestream as EOC marker
...
This silences missing EOC marker when decoding j2k files with Psot set to 0.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Vittorio Giovara
159323897f
intrax8: Add a local BlockDSPContext and initialize it
...
Helps in decoupling this code from mpegvideo.
9 years ago
Vittorio Giovara
1eaae7abb8
intrax8: Reference the current AVCodecContext
...
It will be needed to initialize BlockDSP in the next commit.
9 years ago
Vittorio Giovara
8072345e9f
intrax8: Keep a reference to the GetBitContext reader
...
Helps in decoupling this code from mpegvideo.
9 years ago
Vittorio Giovara
65f14128c4
intrax8: Use a constant buffer instead of a ScratchpadContext
...
The size of the block is fixed (8x8 plus padding).
9 years ago
Vittorio Giovara
eaeba6f241
intrax8: Pass the output frame to the decoding function
...
Helps in decoupling this code from mpegvideo.
9 years ago
Vittorio Giovara
577393321c
intrax8: Carry over the loopfilter value in ff_intrax8_decode_picture
...
Helps in decoupling this code from mpegvideo.
9 years ago
Vittorio Giovara
68127e1bf8
intrax8: Keep a reference to the context idctdsp
...
Use it instead of the embedded mpegvideo one. Update init function
signature to load it directly from the callers.
9 years ago
Vittorio Giovara
65127450ad
intrax8: Make x8_init_block_index not use mpegvideo fields
9 years ago
Vittorio Giovara
922b7e6d86
intrax8: Use local destination buffers
...
These buffers are just a way to store frame pointers and be able to
modify them without touching the original ones.
The two dependent decoders (WMV2 and VC1) do not need special care for
these fields: the former does not seem to use the dest buffers, while
the latter reinits them every time to the current frame data buffers.
So only keep a local copy rather than the one from mpegvideo.
9 years ago
Thilo Borgmann
4d251723c0
lavfi: Add coreimage filter for GPU based image filtering on OSX.
9 years ago
Thilo Borgmann
4ebf0b109c
lavu/dict: Add new flag to allow multiple equal keys.
9 years ago
Clément Bœsch
277408b7f1
sws/aarch64/yuv2rgb: save a few mul and add
...
27ms to 26ms with UHD 2160 input.
9 years ago
Diego Biurrun
a7da517f6a
h264data: Move all data tables from a header to a .c file
9 years ago
Diego Biurrun
f4d581cda3
lavc: Deduplicate zigzag_scan table
9 years ago
Diego Biurrun
02cd8bb9cb
h264: Clean up #includes
9 years ago
Anton Khirnov
704a397697
rtmpdh: add an stdio.h include
...
The test uses printf.
9 years ago
Anton Khirnov
e3dfef8e3c
qsvdec_h2645: switch to the new BSF API
9 years ago
Anton Khirnov
a638e9184d
vf_fade: make sure the slice end is always in the frame
...
CC: libav-stable@libav.org
9 years ago
James Almer
99388eb091
avcodec/libopenjpegenc: fix mixed declarations and code
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
21cd0228be
avcodec/libopenjpegdec: fix mixed declarations and code
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
0cd9ff4e3a
avcodec/libutvideodec: copy frame so it has reference counters when refcounted_frames is set
...
Reviewed-by: maintainer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
3b08d9d932
testprogs: K&R formatting cosmetics
9 years ago