Matthieu Bouron
12f47539ca
lavc/mediacodecdec_h264: rename input_ref to input_pkt
9 years ago
Matthieu Bouron
15432a903e
lavc/mediacodecdec_h264: switch to new BSF API
9 years ago
Matthieu Bouron
e0df56f25d
lavc/vaapi_encoder_{h264,h265}: fix bad format warning
9 years ago
Michael Niedermayer
79b6c9acd5
fate/prores: use aac fixed for audio to fix fate failures on arm
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
e78515f2ae
tests/fate/h264: Add test for xavc and somewhat odd pps/sps
...
(Ticket 4389)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Lars Kiesow
e9bb80d3dc
doc/filters: Remove duplicated setdar example
...
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years ago
Paul B Mahol
e8a236add8
avcodec/magicyuv: set correct size of last slice for each plane
...
Fixes invalid read.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Derek Buitenhuis
cc4ab320cf
MAINTAINERS: Remove myself
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Michael Niedermayer
ad72d7d299
avformat: Copy properties from internal context
...
Fixes Ticket5467 "Lossless j2k information no longer shown"
Based on suggestion by Hendrik Leppkes
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
3402871f36
avcodec/h264_refs: Fix pps_ref_count with multiple PPS
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
a8289d2407
avcodec/h264_refs: Remove unused pps_count
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4865252c08
avformat/udp: Protect write to circular_buffer_error by mutex
...
This isnt really needed on most platforms but
fixes CID1362183
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Muhammad Faiz
1b05521bb7
avfilter/avf_showcqt: full chroma blending on draw_axis_yuv
...
improve quality on axis drawing with yuv422p and yuv420p format
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Paul B Mahol
a3c2a9c736
avcodec/magicyuv: fix decoding of raw slices
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Mark Thompson
7e0623b70b
vaapi: Enable more libva surface formats
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Andriy Lysnevych
2fe04630e7
avcodec/avpacket: Respect payload offset in av_grow_packet
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
d1efdd54f2
avformat: Document where the AVOption names can be found for the fields of AVFormatContext
...
Missing docs found by: nevcairiel
RFC: should we add support so that the C field names always work as av option names/keys ?
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
b8426b865e
avcodec: Document where the AVOption names can be found for the fields of AVCodecContext
...
Missing docs found by: nevcairiel
RFC: should we add support so that the C field names always work as av option names/keys ?
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
Michael Niedermayer
77ba4a7843
library.mak: Put -Umain back for tests
...
Fixes build on mingw32 with SDL
reverts one line from 96d616052b
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
Piotr Bandurski
4c7d3e827c
avformat/isom: add MagicYUV FourCCs
9 years ago
Paul B Mahol
77f9c4b7aa
avocdec: add MagicYUV decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
d0388bd32e
avcodec/bmp_parser: Fix state
...
Fixes Ticket5598
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timo Rothenpieler
e5babccfbc
avcodec/nvenc: Refactor timestamp generation logic
...
Directly adapted from libav
9 years ago
Timo Rothenpieler
69c25c0ad7
avcodec/nvenc: forward frame duration
9 years ago
Timo Rothenpieler
971351b664
avcodec/nvenc: Handle minqp-only case in set_vbr
9 years ago
Timo Rothenpieler
eae4eba9cb
avcodec/nvenc: twopass mode works in all modes
9 years ago
Timo Rothenpieler
1330a0f31f
avcodec/nvenc: Fix forcing constqp rc mode
...
The CONSTQP enum value is 0, so this check failed for it.
9 years ago
Andrey Turkin
58c6dcb4b7
avcodec/nvenc: don't enqueue timestamps until a frame was accepted
...
Otherwise timestamps/pending FIFOs would go out of sync if nvEncodePicture ever fails.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
2f53b5b74b
avcodec/nvenc: refactor encode_frame a bit
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
foo86
214e63f851
avcodec/dca_parser: skip initial padding
...
Padding before the first sync word can be very large for DTS-in-WAV
streams. There is no reason to include this padding in parsed packet.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
foo86
1f7b67a1ca
avcodec/dca_parser: simplify state machine
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
foo86
054a2c9fdf
avcodec/dca: support EXSS marker in avpriv_dca_convert_bitstream()
...
This is now required by dcadec_decode_frame(). All remaining users of
avpriv_dca_convert_bitstream() have been updated to expect EXSS marker.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
foo86
d1f558b362
avcodec/dca: require checked bitstream reader
...
Remove half-working attempt at supporting unchecked bitstream reader by
always copying input data into intermediate buffer with large amount of
padding at the end.
Convert LBR decoder to checked bitstream reader. Convert
dcadec_decode_frame() to parse input data directly if possible.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Andrey Turkin
d3463912c1
avcodec/nvenc: extract timestamp calculations into separate function
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
0d021cc8b3
avcodec/nvenc: rework library load and GPU selection
...
Use explicit nvenc capability checks instead to determine usable devices
instead of SM versions.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
f052ef30ef
avcodec/nvenc: allow configuring number of surfaces
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
b69335304d
avcodec/nvenc: use INIT_CLEANUP to deal with init failures
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
f84dfbc74a
avcodec/nvenc: add rate control option
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
40df468ab1
avcodec/nvenc: convert tier to AVOptions
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
b0172873a8
avcodec/nvenc: convert levels to AVOptions
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
9824321b32
avcodec/nvenc: convert profile parsing to AVOptions
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Andrey Turkin
faffff88c2
avcodec/nvenc: use AVOptions to select presets
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Michael Niedermayer
e1de62c5be
doc: Add color_trc values
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Andrey Turkin
7aa16d59bf
avcodec/nvenc: split H264/HEVC encoder definitions into separate files
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years ago
Rostislav Pehlivanov
a1953d4cec
aacpsy: remove dead code
...
This code wasn't removed when the functionality was moved inside
aacenc.c with commit 8005b6de4f
Fixes CID1361962
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Marton Balint
0d0b9397d6
avformat/movenc: remove useless if and reindent
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
15005701b5
avformat/movenc: propagate shift_data errors properly
...
The second one is not explicitly needed, as res is not reset, but it is there
for consistency.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
37d201aad9
ffplay: simplify display code
...
And get rid of frame_queue_prev.
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago