Rick Kern
645df43144
lavc/videotoolboxenc: Add entropy setting
...
Add an entropy setting to choose between CAVLC and CABAC.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04 18:40:40 +02:00
Rick Kern
fbe0cf8ca7
lavc/videotoolboxenc: Require hardware encoding
...
Software encoding can be allowed by setting allow_sw to 1.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04 18:40:40 +02:00
Rick Kern
0d4bf3074d
lavc/videotoolboxenc: Handle hwaccel format as input
...
Handle AV_PIX_FMT_VIDEOTOOLBOX.
This results in better energy usage and faster encoding, especially on iOS.
When the buffer comes from the media server, no memcpy's are needed.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04 18:40:40 +02:00
Rick Kern
d7cf3610c2
lavc/videotoolboxenc: Use shared pixel buffer pool
...
This reduces the chance of a memcpy in the media server.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04 18:40:40 +02:00
Paul B Mahol
66eb5b809a
avcodec/adpcm: fix decoding of stereo non 4-bit ADPCM IMA WAV
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-04 11:33:34 +02:00
Paul B Mahol
3395ad48fa
avcodec/adpcm: replace char/short/long with int8_t/int16_t/int
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-04 00:36:02 +02:00
foo86
b7d267399b
avcodec/dca: convert to AVCRC
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-05-03 16:40:43 -03:00
smallishzulu
77a7ff8f05
lavf/mpegtsenc: Define service_type "HEVC digital television service".
...
Fixes ticket #5455 .
2016-05-03 21:35:21 +02:00
Thomas Volkert
f591b7b526
rtpenc: packetizer for VC-2 HQ RTP payload format (draft v1)
2016-05-03 19:07:37 +02:00
Michael Niedermayer
1ef267b83f
avcodec/h264: Put the removed SPS handling code back
...
reverts one hunk from 7966ddfc0b
The new code from 7966ddfc0b
only covers extradata based SPS
Fixes: ffplay -ss 13 58af5798-fa2c-42a2-997d-dc8e49de2d8a.flv
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-03 15:56:57 +02:00
Derek Buitenhuis
7966ddfc0b
Merge commit 'a7829a2a3f8e6ec0b9f2673c11f56916800aeb33'
...
* commit 'a7829a2a3f8e6ec0b9f2673c11f56916800aeb33':
h264: reimplement 3aa661ec5
in a more explicit way
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 13:42:38 +01:00
Carl Eugen Hoyos
fd0f1442eb
lavf/mpegtsenc: Fix stream_type for low sample rate MP2/MP3.
2016-05-03 14:15:14 +02:00
Derek Buitenhuis
a454ad670c
Merge commit 'add1467e5e447b79e8743a0b05c54dcf58c61dfe'
...
* commit 'add1467e5e447b79e8743a0b05c54dcf58c61dfe':
svq3: drop the build dependency on the h264 decoder
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:57:36 +01:00
Derek Buitenhuis
43b7e5aa32
Merge commit 'a4d126dc59c39bb03e5e444432d1b27af26a45b4'
...
* commit 'a4d126dc59c39bb03e5e444432d1b27af26a45b4':
svq3: eliminate remaining H264Context usage.
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:52:14 +01:00
Derek Buitenhuis
2a018be10f
Merge commit '7bbdae81e895a49125dba58bad01b98389966c39'
...
* commit '7bbdae81e895a49125dba58bad01b98389966c39':
svq3: move block_offset to SVQ3Context
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:27:55 +01:00
Derek Buitenhuis
f32a23c849
Merge commit '1848a154a49d18c1f31f54ee75c7445dc49a7ecc'
...
* commit '1848a154a49d18c1f31f54ee75c7445dc49a7ecc':
svq3: stop using H264Context.gb
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:27:24 +01:00
Derek Buitenhuis
8bba752ae9
Merge commit 'ea6ab02a174bcc11f3eaa1b840c9a4c895968690'
...
* commit 'ea6ab02a174bcc11f3eaa1b840c9a4c895968690':
svq3: move the frame num variables to the SVQ3Context
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:24:33 +01:00
Derek Buitenhuis
014fb816d1
Merge commit '21b746932241246be846a133abb3c5f91b1cab85'
...
* commit '21b746932241246be846a133abb3c5f91b1cab85':
svq3: eliminate H264Context.cur_pic usage
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:24:08 +01:00
Derek Buitenhuis
2d3cc682c4
Merge commit '939b388383db8d0db5b2ff483e3a197c27b79791'
...
* commit '939b388383db8d0db5b2ff483e3a197c27b79791':
svq3: eliminate remaining H264SliceContext usage
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:23:23 +01:00
Derek Buitenhuis
5db920bcb6
Merge commit '5a5db90edf71ef4c60db8ad7b0ebaa9a810c2d9e'
...
* commit '5a5db90edf71ef4c60db8ad7b0ebaa9a810c2d9e':
svq3: move pict_type to the SVQ3Context
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:17:34 +01:00
Derek Buitenhuis
1bfbdb8f0b
Merge commit '12f13ecb2dcddfa3ee930167395370d3c6fff90c'
...
* commit '12f13ecb2dcddfa3ee930167395370d3c6fff90c':
svq3: move mb strides/sizes to the SVQ3Context
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:15:54 +01:00
Derek Buitenhuis
297e2768da
Merge commit 'ad9d3384de08f02967d6eb11196ee8c78e8b2dba'
...
* commit 'ad9d3384de08f02967d6eb11196ee8c78e8b2dba':
svq3: move the dequant buffer to SVQ3Context
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-03 10:15:22 +01:00
Carl Eugen Hoyos
80d14de52d
lavf/mpegts: Add E-AC3 registered stream specifier "EAC3".
...
Related to ticket #5501 .
2016-05-03 10:51:35 +02:00
Christophe Gisquet
7d453aaf65
wmalossless: allow calling madd_int16
...
This is done by actually handling the "prev_values" in the cascaded LMS data
as if it were int16_t, thus requiring switching at various locations the
computations.
2016-05-03 09:18:54 +02:00
Michael Niedermayer
dc34fa6a9e
avformat/riff: add M702
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-03 01:07:31 +02:00
Michael Niedermayer
df820af2c5
avcodec/error_resilience: Improve missing slice handling for mpeg2
...
Fixes: m702_2.avi
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-03 01:07:24 +02:00
foo86
ce2f9fdb0a
avcodec/dca: fix sync word search error condition
...
This didn't actually check if sync word was found and always errored out
with "-err_detect explode" option enabled.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-02 23:26:44 +02:00
Michael Niedermayer
9fcb59c9bc
avcodec/options_table: fix strict compliance constant flags to match the strict field
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-02 22:16:57 +02:00
Michael Niedermayer
11db7eee9b
avformat/options_table: Add missing identifier for very strict compliance
...
Fixes Ticket5443
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-02 22:16:40 +02:00
Christophe Gisquet
79e86640ff
fate: wma: add lossless 24bits tests
...
Should evaluate coefficients and raw pcm tiles.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-02 21:50:10 +02:00
Michael Niedermayer
deaf58abf2
avcodec/mjpegdec: Do not try to detect last scan but apply idct after all scans for progressive jpeg
...
Fixes: IMG-20160418-WA0002.jpg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-02 12:45:14 +02:00
Jan Sebechlebsky
0ff3489534
avcodec/mjpeg2jpeg_bsf: Check ff_bsf_get_packet success
...
This fixes ticket #5487 - mjpeg2jpeg bitstream filter causes
segmentation fault with header-less mjpeg.
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-02 04:10:03 +02:00
foo86
1fee770a1c
avcodec/dca: move channel counter utility into dca.h
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-05-01 16:50:32 -03:00
foo86
2df7d4fa45
avcodec/dca: move huffman data into separate object file
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-05-01 16:50:29 -03:00
Paul B Mahol
bc2fe36228
avcodec/noise_bsf: set correct size of .priv_data_size field
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-01 22:23:48 +02:00
Michael Niedermayer
3187277ebb
avcodec/wmalosslessdec: Fix memset sizeof
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-01 18:44:06 +02:00
Michael Niedermayer
52623ef785
avcodec/smc: Mark pixel pointer as const
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-01 17:47:55 +02:00
Paul B Mahol
25482d5c42
avformat/wsddec: set bit_rate, fixes duration estimation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-01 16:25:57 +02:00
Paul B Mahol
423a6a0993
avformat/dsfdec: set bit_rate, fixes duration estimation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-01 16:16:39 +02:00
Carl Eugen Hoyos
88a849c714
lavf/mpegts: Return small probe score for very short transport streams.
...
Fixes Debian bug 823098.
2016-05-01 15:39:13 +02:00
Carl Eugen Hoyos
00ffbdfb68
lavc/fic: Do not warn about empty cursor.
...
Fixes ticket #5174 .
2016-05-01 15:30:22 +02:00
Carl Eugen Hoyos
47a11ff457
lavc/fic: Be less verbose for invisible cursor outside of video.
2016-05-01 15:28:59 +02:00
Clément Bœsch
9f3dd53050
lavc/srtenc: do not emit any subrip tags with text codec
...
Fixes presence of opening tags when running
ffmpeg -i x.ass -c text x.srt
Reported-by: Jean First <jeanfirst@gmail.com>
2016-05-01 15:16:50 +02:00
Clément Bœsch
bbf02f7d28
lavc: override decode return value only in case of error
...
Fixes Ticket #5350
Regression since 2941282124
.
2016-05-01 14:53:53 +02:00
Christophe Gisquet
532e937083
avcodec/wmalosslessdec: silence a sample request
...
16bits samples with CDLMS orders of 8 are currently unsupported, but have never
been encountered before.
However, 8 seems to be the most frequent, if not the only order used for 24bits.
In that case, the dsp functions are fine with handling order that are multiples
of 8, so silence the warning.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-01 11:18:09 +02:00
Paul B Mahol
8f4358888f
avcodec/wmalosslessdec: fix type for coeffs and lms_updates in cdlms struct
...
They should really be int16_t.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-01 10:49:12 +02:00
foo86
b286ff69c0
avcodec/dcaenc: move channel reordering tables to dcaenc.h
...
DCA core decoder no longer uses fixed tables for channel reordering.
Move them into private encoder header (and drop ff_dca_ prefix).
Signed-off-by: James Almer <jamrial@gmail.com>
2016-05-01 00:13:41 -03:00
foo86
de28e73cce
avcodec/dcaenc: reuse shared quant levels table
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-05-01 00:13:37 -03:00
Michael Niedermayer
9a499e0ae7
avformat/riff: add m704
...
(Ticket 2616)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-01 01:43:06 +02:00
Michael Niedermayer
cb84c12fa2
avcodec/mpeg12dec: Print position in end mismatch error
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-01 01:43:06 +02:00