James Almer
8ae7447941
x86/dcadec: add ff_lfe_fir0_float_{sse,sse2,avx,fma3}
...
Up to ~4 times faster on x86_64, ~8 times on x86_32 if compiling using x87 fp math.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
3e9b8ffc9b
avcodec/dcadsp: rename lfe_fir_float functions
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Timothy Gu
9fd6ea933f
dirac_dwt: Make x86 files/functions names consistent
9 years ago
Timothy Gu
17ab8f7e68
diracdsp: Make x86 files/functions names consistent
9 years ago
Michael Bradshaw
1c40bccc09
lavc/dirac_dwt: fix building without asm
...
clang needs HAVE_MMX to be first in order to avoid an undefined
reference error.
9 years ago
Henrik Gramner
aa751573fe
avcodec/h264: Fix segfault in 4:2:2 chroma deblock with 32-bit msvc
...
Using rNm and x86inc's stack allocation with a negative value at the same
time isn't supported, and caused the original stack pointer to be clobbered
when using a compiler that doesn't support stack alignment.
9 years ago
James Darnley
7042a55c55
avcodec/h264: mmxext 4:2:2 chroma deblock/loop filter
...
2.6 times faster (366 vs. 142 cycles)
9 years ago
Mats Peterson
9556446623
lavc/rawdec: Use 16-byte line alignment for B1W0 and B0W1 video in nut
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
16af350ac5
avcodec/dcadsp: replace intptr_t with ptrdiff_t
...
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Hendrik Leppkes
a969a914f5
dca_parser: ensure frame duration matches the actual sample rate
...
The parser only parses the core, and thus has a duration relative
to the core sample rate only, not the actual stream sample rate.
FATE references changed due to now correct timestamps.
9 years ago
Michael Niedermayer
37db3e8931
avcodec/libutvideoenc: Add NULL termintor to options
...
Fixes segfaults
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Derek Buitenhuis
c4ef6c883b
mjpegenc: Remove duplicate initializer
...
This was causing c99conv to crash.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
0ea716f70b
libutvideo: Unbreak
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Rostislav Pehlivanov
f021030365
diradec: split tables away to a separate diractab file
...
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Rostislav Pehlivanov
3bbe7862ec
diracdec: move the MAX_DWT_LEVELS macro to dirac.h
...
Used by the VC-2 encoder.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Michael Niedermayer
edc34c937b
avcodec/utils: Check the return code of av_image_fill_linesizes()
...
Fixes CID1271741
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timothy Gu
0ab25dac2f
cinepakenc: Stop using AVPicture
9 years ago
Andreas Cadhalpun
916da13d6d
cfhd: fix off-by-one error in level check
...
This fixes out-of-bounds writes causing segmentation faults.
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Reviewed-by: Kieran Kunhya <kierank@obe.tv>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
9 years ago
Hendrik Leppkes
5fc310f7ca
dca: add emms_c after usage of AV_COPY128
...
Similar to AV_ZERO128, AV_COPY128 can use MMX instructions in x86
9 years ago
Hendrik Leppkes
0b1972d409
dca: add emms_c after AV_ZERO128 macros
...
AV_ZERO64/128 can use MMX on x86.
Reviewed-By: James Almer <jamrial@gmail.com>
9 years ago
Timothy Gu
dd57b316c1
diracdsp_mmx: Fix some more indentations
9 years ago
Timothy Gu
f5e2b8de55
diracdsp_mmx: Fix indentation
9 years ago
Timothy Gu
838abfc1d7
x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format
9 years ago
Derek Buitenhuis
792a5cefbe
mpeg12dec: Export GOP timecodes as side data
...
The codec context field was rightly deprecated, and the data
may change per-frame.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
James Almer
77b5b95247
avcodec/dca_core: rename get_vlc function
...
Fixes compilation with TRACE enabled
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Kieran Kunhya
bdd8e02b72
avcodec/cfhd: Make sure we have an end of header tag before allocating a frame.
...
Fixes tickets #5208 and #5209
9 years ago
Hendrik Leppkes
f85cc3bf12
hevc: set profile based on the profile compatibility flags if needed
...
This fixes retrieving a valid profile for many of the FATE conformance samples,
allowing them to be properly decoded by the HWAccel after adding a profile check.
9 years ago
Stephen Hutchinson
70742e599b
libx265: Enable 12-bit encoding
...
The configure detection is bumped to X265_BUILD >= 68,
since API version 68 corresponds with the x265 1.8
release tarball. The warnings inside x265 about
12-bit being experimental were removed prior to API
version 72 a short time later. At this time of
writing, X265_BUILD is at version 80.
12-bit support in the HEVC standard was approved in
October 2014 as part of HEVC Version 2 and published
in January 2015:
http://www.itu.int/ITU-T/recommendations/rec.aspx?rec=12296
http://www.itu.int/rec/T-REC-H.265-201410-S
https://hevc.hhi.fraunhofer.de/rext
Reveiwed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timothy Gu
180f9a0958
all: Make header guard names consistent
9 years ago
Michael Niedermayer
3c8e95ab5d
avcodec/flacenc: Fix prediction_order parameter
...
Fixes regression
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Derek Buitenhuis
e9eb8b3ba2
flacenc: Restore defaults and range for {min,max}_prediction_order
...
This was broken in 243df1351d
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
foo86
ae5b2c5250
avcodec/dca: add new decoder based on libdcadec
9 years ago
foo86
0930b2dd1f
avcodec/dca: add generic defines
9 years ago
foo86
5b1b536e2b
avcodec/synth_filter: add more filters
9 years ago
foo86
8984806a51
avcodec/synth_filter: fix whitespace
9 years ago
foo86
4a53b83691
avcodec/dca: add math helpers and fixed point DCT
9 years ago
foo86
9a0a3bbeaa
avcodec/dca: add more tables
9 years ago
foo86
64f6d17b40
avcodec/dca: add REV1AUX sync word
9 years ago
foo86
4608996772
avcodec/dca: remove old decoder
...
Remove all files and functions which are not going to be reused,
and disable all functions and FATE tests temporarily which will be.
9 years ago
Paul B Mahol
b4af7d68fe
avcodec/fraps: remove superfluous "Fraps:" from av_log
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
6ffac5d33d
avcodec/rawdec: Switch to monowhite if there is no palette & bpp=1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Kieran Kunhya
32bf4a72e3
avcodec: Add forgotten minor bump, add Changelog and add Cineform to general.texi
9 years ago
Kieran Kunhya
3485332bf9
avcodec: Cineform HD Decoder
...
Decodes YUV 4:2:2 10-bit and RGB 12-bit files.
Older files with more subbands, skips, Bayer, alpha not supported.
Alpha requires addition of GBRAP12 pixel format.
9 years ago
Carl Eugen Hoyos
31f5fa21b0
lavc/exr: Move setting SAR down.
...
Fixes a theoretical issue if the resolution attribute is written
behind the aspect attribute.
9 years ago
Carl Eugen Hoyos
d391feff54
lavc/v210dec: Allow odd width.
...
The rightmost column is not decoded correctly.
Fixes a part of ticket #5195 .
9 years ago
Clément Bœsch
54ab90c05b
lavc/utils: fix instanciate/instantiate typo
9 years ago
Stephen Hutchinson
0dd201d947
libx265: Remove experimental flag when encoding 4:2:2 and 4:4:4
...
4:2:2 and 4:4:4 support in the HEVC standard was approved in
October 2014 as part of HEVC Version 2 and published in
January 2015:
http://www.itu.int/ITU-T/recommendations/rec.aspx?rec=12296
http://www.itu.int/rec/T-REC-H.265-201410-S
https://hevc.hhi.fraunhofer.de/rext
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Kieran Kunhya
e07e88cd82
avcodec: Remove libvo-aacenc support.
...
The internal encoder is superior to libvo-aacenc.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
9 years ago
Timothy Gu
9ba54c1b82
avcodec: Remove libaacplus
...
TODO: bump minor
It's inferior in quality to fdk-aac and has an arguably more problematic
license.
As early as 2012, a HydrogenAudio user reported:
> It has however one huge advantage: much better quality at low bitrates than
> faac and libaacplus.
(https://hydrogenaud.io/index.php?PHPSESSID=ckiq394pdglka0kj2fin6ij8t7&topic=95989.msg804633#msg804633 )
I myself have made a few spectrograms for a comparison of the two
encoders as well. The FDK output is consistently better than the
libaacplus one, in all bitrates I tested.
libaacplus license is 3GPP + LGPLv2. 3GPP copyright notice is completely
proprietory, as follows:
> No part may be reproduced except as authorized by written permission.
>
> The copyright and the foregoing restriction extend to reproduction in
> all media.
>
> © 2008, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC).
>
> All rights reserved.
(The latest 26410-d00 zip from 3GPP has the same notice, but the copyright
year is changed to 2015)
The copyright part of the FDK AAC license (section 2) is a copyleft
license that permits redistribution under certain conditions (and
therefore the LGPL + libfdk-aac combination is not prohibited by
configure):
> Redistribution and use in source and binary forms, with or without
> modification, are permitted without payment of copyright license fees
> provided that you satisfy the following conditions:
>
> You must retain the complete text of this software license in
> redistributions of the FDK AAC Codec or your modifications thereto in
> source code form.
>
> You must retain the complete text of this software license in the
> documentation and/or other materials provided with redistributions of
> the FDK AAC Codec or your modifications thereto in binary form.
>
> You must make available free of charge copies of the complete source
> code of the FDK AAC Codec and your modifications thereto to recipients
> of copies in binary form.
>
> The name of Fraunhofer may not be used to endorse or promote products
> derived from this library without prior written permission.
>
> You may not charge copyright license fees for anyone to use, copy or
> distribute the FDK AAC Codec software or your modifications thereto.
>
> Your modified versions of the FDK AAC Codec must carry prominent
> notices stating that you changed the software and the date of any
> change. For modified versions of the FDK AAC Codec, the term
> "Fraunhofer FDK AAC Codec Library for Android" must be replaced by the
> term "Third-Party Modified Version of the Fraunhofer FDK AAC Codec
> Library for Android."
9 years ago
James Almer
5893e87537
avcodec/proresdec_lgpl: use av_mod_uintp2
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago