Timothy Gu
58c7bf789f
doxygen: Standardize root-level modules
8 years ago
Timothy Gu
a4d7a6d1dd
mathematics: Extend and edit Doxygen
8 years ago
Timothy Gu
952c4cf7d0
rational: Extend Doxygen
8 years ago
Timothy Gu
f29ffbc87d
avutil/hash: Add more detailed Doxygen documentation
8 years ago
Timothy Gu
ec234ccea4
mem: Order function prototypes semantically
8 years ago
Timothy Gu
1fcf243216
mathematics: Make function prototypes identical to definitions
...
Doxygen gets confused by this.
8 years ago
Carl Eugen Hoyos
5aede05120
lavu/hwcontext_vaapi: Fix compilation if VA_FOURCC_ABGR is not defined.
...
Fixes ticket #5484 .
8 years ago
Timothy Gu
39211cb9aa
murmur3: Add Doxygen documentation
...
The interface has been stable for some time now.
8 years ago
Timothy Gu
0a7a4e33f3
avutil: Add detailed Doxygen description to a few hashes
8 years ago
Timothy Gu
19d7098c9e
avutil: Group hash functions separately in Doxygen
8 years ago
Timothy Gu
04da20e58f
dynarray: Change AV_ to FF_ for AV_DYNARRAY_ADD
...
The header is not installed and the macro isn't used outside libavutil,
so it is obviously privat to libavutil. Make the name reflect that.
8 years ago
Timothy Gu
22df70e9ed
doxygen: Add a note on libavutil's modular nature
8 years ago
Zhao Zhili
65b2feb890
avutil/mem: fix memleak
...
The original code assumes av_realloc() will free ptr if size is zero.
The assumes is incorrect now.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
fb91850fe1
avutil/frame: access avframe fields directly in get_frame_defaults()
...
The accessors are needed only from outside libavutil.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Kacper Michajłow
69630f4d30
libavutil/opt: Small bugfix in example.
...
Fix const corectness and zero init the struct. This example code would actually crash when initializing string.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Zhao Zhili
450cf400fc
avutil/mem: fix wrong comment
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Ronald S. Bultje
f0a2b6249b
vp9: add 16x16 idct avx2 (8-bit).
...
checkasm --bench, 10k runs, for *_add_${bpc}_${sub_idct}_${opt}, shows
that it's about 1.65x as fast as the AVX version for the full IDCT, and
similar speedups for the sub-IDCTs:
nop: 24.6
vp9_inv_dct_dct_16x16_add_8_1_c: 6444.8
vp9_inv_dct_dct_16x16_add_8_1_sse2: 638.6
vp9_inv_dct_dct_16x16_add_8_1_ssse3: 484.4
vp9_inv_dct_dct_16x16_add_8_1_avx: 661.2
vp9_inv_dct_dct_16x16_add_8_1_avx2: 311.5
vp9_inv_dct_dct_16x16_add_8_2_c: 6665.7
vp9_inv_dct_dct_16x16_add_8_2_sse2: 646.9
vp9_inv_dct_dct_16x16_add_8_2_ssse3: 455.2
vp9_inv_dct_dct_16x16_add_8_2_avx: 521.9
vp9_inv_dct_dct_16x16_add_8_2_avx2: 304.3
vp9_inv_dct_dct_16x16_add_8_4_c: 7022.7
vp9_inv_dct_dct_16x16_add_8_4_sse2: 647.4
vp9_inv_dct_dct_16x16_add_8_4_ssse3: 467.1
vp9_inv_dct_dct_16x16_add_8_4_avx: 446.1
vp9_inv_dct_dct_16x16_add_8_4_avx2: 297.0
vp9_inv_dct_dct_16x16_add_8_8_c: 6800.4
vp9_inv_dct_dct_16x16_add_8_8_sse2: 598.6
vp9_inv_dct_dct_16x16_add_8_8_ssse3: 465.7
vp9_inv_dct_dct_16x16_add_8_8_avx: 440.9
vp9_inv_dct_dct_16x16_add_8_8_avx2: 290.2
vp9_inv_dct_dct_16x16_add_8_16_c: 6626.6
vp9_inv_dct_dct_16x16_add_8_16_sse2: 599.5
vp9_inv_dct_dct_16x16_add_8_16_ssse3: 475.0
vp9_inv_dct_dct_16x16_add_8_16_avx: 469.9
vp9_inv_dct_dct_16x16_add_8_16_avx2: 286.4
8 years ago
Marton Balint
593987810e
avutil/parseutils: dont assume standard time when parsing a timestamp
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Matthieu Bouron
0f2654c9a3
lavc: add mediacodec hwaccel support
8 years ago
Michael Niedermayer
042fb69deb
avutil/frame: Move new field to the end of AVFrame
...
This fixes part of Ticket5676
This fixes kodi, mpv, chromium and ffplay build against 3.0 and linked to 3.1
This is a similar ABI fix to 1eb43af1a0
Approved-by: BBB
Approved-by: jamrial
Approved-by: BtbN
Approved-by: nevcairiel
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Matthieu Bouron
9eb3da2f99
asm: FF_-prefix internal macros used in inline assembly
...
See merge commit '39d6d3618d48625decaff7d9bdbb45b44ef2a805'.
9 years ago
Hendrik Leppkes
06a0e18435
hwcontext_dxva2: Use GetDesktopWindow instead of GetShellWindow
...
Improves compatibility with some MinGW variants,
see 771537edcf
9 years ago
Hendrik Leppkes
0c312a4562
hwcontext_dxva2: support P010 10-bit surfaces
9 years ago
Jan Sebechlebsky
f5273197dc
avutil/threadmessage.h: Fix swapped comments
...
Fix swapped descriptions of av_thread_message_queue_set_err_send
and av_thread_message_queue_set_err_recv.
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Vittorio Giovara
bcc07e2576
pixdesc: Use C99 array to list color properties names
9 years ago
Matt Oliver
5ca44ebd99
lavu/intmath.h: fix compilation with msvc10.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
9 years ago
Carl Eugen Hoyos
4c9d1c6f9a
lavu/file_open: Use current directory for temporary files also on Android.
...
Fixes ticket #5620 .
9 years ago
Paul B Mahol
8100426fe4
avutil: add 10-bit planar RGB with alpha
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
37bb600405
avutil/opt: Fix max/min checking in av_opt_set() for AV_OPT_TYPE_VIDEO_RATE
...
Fixes Ticket5618
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
172af20852
x86/showcqt: use three operand format for some instructions
...
Fixes failures with yasm 1.1.0 and older
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
99b899483e
avutil/x86util: move haddps sse emulation from showcqt
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
13aae86a2b
avutil/frame: Assert that width/height/channels is 0 for the destination of av_frame*_ref()
...
This should detect caes where these functions are called in unclean destinations
9 years ago
Jan Sebechlebsky
0e84eee719
libavutil/fifo: Fix fifo grow step
...
Fifo was reallocating always to twice of the requested size.
This fixes it to reallocate to requested size, or twice of the
original size - whichever is greater.
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Mark Thompson
7e0623b70b
vaapi: Enable more libva surface formats
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
003a9e4854
avutil/frame: Document avcodec_get_frame_class() and the option naming system
...
Missing docs found by: nevcairiel
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Neil Birkbeck
785038c92c
lavu: Adding ARIB STD-B67 (hybrid log-gamma) enum value and transfer function.
...
Adding hybrid log-gamma (https://en.wikipedia.org/wiki/Hybrid_Log-Gamma )
based on the standardization in ARIB STD-B67:
http://www.arib.or.jp/english/html/overview/doc/2-STD-B67v1_0.pdf
The choice of enum value of 18 is consistent with HEVC:
http://phenix.it-sudparis.eu/jct/doc_end_user/current_document.php?id=10481
And also with latest proposal for color format in mkv:
https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&q=Colour+Format+proposal
The implementation assumes a nominal input range of [0, 1], which is
consistent with HEVC.
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
535a742c26
build: Change structure of the linker version script templates
...
Split version files into one line per symbol/directive to allow compatibility
with the Solaris linker without preprocessing and eliminate $ from version file
templates to simplify the postprocessing shell command.
9 years ago
Michael Niedermayer
52ca24bdd2
avutil/softfloat: Improve doxy for av_sub_sf() and av_sf2int()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
1e9c5bf4c1
asm: FF_-prefix internal macros used in inline assembly
...
These warnings conflict with system macros on Solaris, producing
truckloads of warnings about macro redefinition.
9 years ago
Michael Niedermayer
d1520a6cfd
avutil/softfloat: Document public constants and a few public functions
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Anton Khirnov
b8bf9194af
hwcontext_vaapi: implement device creation
9 years ago
Anton Khirnov
8e70385a8e
hwcontext_dxva2: implement device creation
9 years ago
Anton Khirnov
2e219b491b
hwcontext_cuda: implement device creation
9 years ago
Anton Khirnov
38392b2af8
hwcontext_vdpau: implement device creation
9 years ago
Anton Khirnov
1c9e8616c5
hwcontext: add a function for opening devices
9 years ago
dsmudhar
6b852a3fd9
libavutil/opencl: fixed uninitialized var warning
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
b50bd69516
avutil/eval-test: Check av_expr_parse_and_eval() for failure and also check it in the fate test
...
Fixes CID1361940
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
ded4a6543d
xtea-test: Use struct allocation functions from the API
9 years ago
Diego Biurrun
8131bd4c22
blowfish-test: Use struct allocation functions from the API
9 years ago
Diego Biurrun
a86ef80494
blowfish-test: Return different values for different errors
9 years ago