Peter Ross
d8ebfd1bdf
avcodec/vp6: select idct based (loosely) on number of coefficients decoded
...
The VP3/4/5/6 reference decoders all use three IDCT versions: one for the
DC-only case, another for blocks with more than 10 coefficients, and an
optimised one for blocks with up to 10 AC coefficents. VP6 relies on the
sparse 10 coefficient version, and without it, IDCT drift occurs.
Fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
2019-01-26 23:49:09 +11:00
Peter Ross
160ebe0a8d
avcodec/vp6: use ff_vp3dsp_[hv]_loop_filter_12
...
Partially fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
2019-01-26 23:49:04 +11:00
Peter Ross
10a57f55e6
avcodec/vp6: use rounded shift for chroma motion vector calculation
...
Partially fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
2019-01-26 23:48:59 +11:00
Jun Zhao
90c4534206
lavc/options_table: Change some options location in opt table.
...
Change the some options location in avcodec_options to make code more
readable. And update the fate test with this change.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-12-20 18:40:41 +08:00
Paul B Mahol
6f058b5cef
avformat/nut: add support for yuva444/422p12 pixel format
2018-12-14 11:26:30 +01:00
Paul B Mahol
ec8502f9cb
avcodec/gif: use avctx->frame_number
2018-12-13 19:30:39 +01:00
Paul B Mahol
faca28c264
avcodec: rewrite gif muxing and encoding
...
Now "-c copy" works.
Update FATE files.
Demuxer only split file into packets, no data is trimmed.
Encoder & muxer currently expect completely another format
where muxer writes stuff like disposal method which should
be really encoder job.
With this patch muxer only modifies delay between two packets.
Codec copy need to have same behavior between demuxer and
muxer to work correctly.
Fixes #6640 .
2018-12-13 18:58:48 +01:00
Carl Eugen Hoyos
3c7a2a0b92
tests/ref/fate/vc1test_smm0005: Add a newline.
...
Fixes fate-pixelutils on aix.
2018-12-02 14:17:53 +01:00
Martin Vignali
ffafa53dbf
avcodec/proresdec : add 12b decoding
...
based on patch by Kieran Kunhya
ticket 7163
2018-12-02 12:55:57 +01:00
Peter Ross
dea1224754
additional math.h functions for djgpp
2018-11-28 22:16:07 +11:00
Martin Vignali
e488d7b4f5
fate/prores-metadata : make output bit exact
2018-11-25 22:21:20 +01:00
Martin Vignali
86e6f0dbc7
swscale : add support for YUVA444P12 and YUVA422P12
2018-11-24 16:24:47 +01:00
Martin Vignali
80b0624099
avutil : add YUVA444P12 and YUVA422P12
2018-11-24 16:24:43 +01:00
Paul B Mahol
97d1ee437b
avformat/movenc: get number of written bytes from bitstream writer
...
Update fate test.
2018-11-22 21:32:41 +01:00
Philip Langdale
420ab946ac
avutil/cuda_check: Make sure this passes make fate-source
...
The header guards were unnecessarily non-standard and the c file
inclusion trick means the files dont't have standard licence
headers.
Based on a patch by: Martin Vignali <martin.vignali@gmail.com>
2018-11-17 08:18:51 -08:00
Jun Zhao
991cd79155
fate: Add test for vc1test demuxer
...
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-11-12 19:13:36 +08:00
Martin Vignali
752bf1f64c
fate/prores_metadata : fix md5 value
2018-11-11 21:43:50 +01:00
Martin Vignali
679ad31469
fate/prores_metadata_bsf : add test for setting color property
2018-11-11 21:06:38 +01:00
Mark Thompson
252e79663d
cbs_h265: Add PTL parsing for sublayers
...
With fate test using the SLPPLP_A_VIDYO_2 conformance file, which contains
two sublayers with full PTL information.
2018-11-11 17:22:09 +00:00
Carl Eugen Hoyos
f149a4a5fc
swscale: Add GRAY10
...
Based on ab839054 by Luca Barbato.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-11-06 12:39:15 -03:00
Michael Niedermayer
cd34c6a57e
avfilter/vf_pixdesctest: Use 32bit read/write
...
This is needed for processing 32bit floats
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-27 22:39:27 +02:00
Michael Niedermayer
718044dc19
avutil/pixdesc: Add av_write_image_line2(), av_read_image_line2()
...
This is needed because of 32bit float formats (which are difficult to
store in 16bits)
This also fixes undefined behavior found by fate
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-27 22:39:27 +02:00
Josh de Kock
fb7925ba2f
fate: add api-h264-slice test
...
This test ensures that you are able to send N number of slice NALUs in slice threaded mode to be decoded simultaneously
2018-10-26 11:51:04 +01:00
Josh de Kock
3f2103ec73
fate: add h264 timecode test
2018-10-23 15:46:30 +01:00
Martin Vignali
db4771af81
swscale : add YA16 LE/BE output
2018-10-18 21:43:24 +02:00
Michael Niedermayer
fa7289e718
fate: Update checksums for recent mxf changes
...
References: bb89109a0a29d51cb207352834f6b92784c1700d, 84e8a87ca082f5a882e83fcb34a970f8b720cc25, ea55a11ced5ef73bc7173ae2d3e268e26b351350, 3d38e45eb85c7a2420cb48a9cd45625c28644b2e
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-14 13:06:32 +02:00
Marton Balint
416804fe41
avutil/tests/parseutils: add some big duration tests
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-10-07 20:26:29 +02:00
Paul B Mahol
d6e50e0716
avfilter/vf_curves: add planar rgb support
2018-09-25 16:35:29 +02:00
Paul B Mahol
009597ca33
avcodec: add native iLBC decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-09-23 15:25:50 +02:00
Paul B Mahol
df05fd3131
avcodec/loco: switch to planar rgb format
...
Remove now unused step variable.
2018-09-10 15:16:07 +02:00
Paul B Mahol
404d21f486
tests/fate: fix lut hash for gray14
2018-09-09 22:58:26 +02:00
Paul B Mahol
b2ffecbd0c
avcodec/lagarith: switch to planar rgb
...
Speed goes from 363 fps to 428 fps for 640x480 video.
2018-09-09 22:58:26 +02:00
Derek Buitenhuis
f55d987bad
Add FATE test for QT format audio descriptors in MP4
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2018-09-09 19:55:08 +01:00
Paul B Mahol
bd6c57d532
avfilter: add support for gray14 format
2018-09-09 19:10:44 +02:00
James Almer
70a708713a
fate: fix hapqa-extract-nosnappy tests on small builds
...
Fixes ticket #7324
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-06 19:24:14 -03:00
Tobias Rapp
56f68a099c
fate: add 10-bit test for hue video filter
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2018-08-31 13:57:49 +02:00
Carl Eugen Hoyos
cffbeda462
tests/ref/fate/pixelutils: Add a newline.
...
Fixes fate-pixelutils on aix.
2018-08-31 00:45:36 +02:00
Jan Ekström
1931761f18
avformat/movenc: implicitly enable negative CTS offsets for ismv
...
ISMV lacks any sort of edit list support, as well as tfxd is
effectively the PTS of the fragment for most intents and purposes.
Thus, if b-frames are requested without negative CTS offsets you
end up with N frames' worth of delay (tfxd PTS plus the CTS offset
of the first sample). Negative CTS offsets enable the first sample
to have CTS=DTS, and thus a/v desync due to b-frame reorder delay
is avoided.
2018-08-24 21:00:05 +03:00
Zhao Zhili
70d2bab80b
lavc/hevc_ps: fix crop info for monochrome
...
The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The
current code use the value of 2.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-08-22 14:01:12 -03:00
Sergey Lavrushkin
582bc5a348
libswscale: Adds conversions from/to float gray format.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-08-14 18:22:39 +02:00
Sergey Lavrushkin
00ae3498bf
libavutil: Adds gray floating-point pixel formats.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-08-11 02:37:42 +02:00
Sasi Inguva
12673bb253
lavf/mov.c: Set start_time for all streams (in case of edit lists).
...
Fixes vorbis mp4 audio files, with edit list specified. Since
st->skip_samples is not set in case of vorbis , ffmpeg computes the
start_time as negative.
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-08-11 02:37:42 +02:00
Jun Zhao
b8bf7408dc
lavutil/pixelutils: add sad_32x32 in pixelutils API.
...
add sad_32x32 in pixelutils API, and update the fate.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-07-31 19:09:35 +08:00
Tobias Rapp
ec517ad9f9
fate: add tests for audio channel up-/downmixing with pan filter
...
Add tests for upmixing and downmixing with audio channel counts that
have a corresponding default layout and also tests where there is no
default layout.
Update the existing "stereo4" test so it actually outputs stereo like
the other stereo tests. Rename the previous "stereo4" test into
"upmix1".
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2018-07-30 10:46:19 +02:00
James Almer
7ca892b7e5
fate: remove unnecessary reference file for fate-encryption-info
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-07-27 13:06:29 -03:00
Michael Niedermayer
d2015e6b86
avcodec/tscc: Do not duplicate images
...
This improves speed
Fixes: Timeout
Fixes: 9010/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TSCC_fuzzer-6042614817095680
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-07-23 02:58:38 +02:00
Gyan Doshi
8aa6d9a8d3
avformat/mov: only set handler_name from mdia->hdlr
...
6 FATE references updated.
Fixes #7104
2018-07-16 21:33:01 +05:30
Michael Niedermayer
bcc0ae5d5a
tests/fate/demux: Add test for d25c945247979a88fac6bb3b7a26370262b96ef1
...
Sample provided by Thierry for fate
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-07-07 12:09:34 +02:00
Jacob Trimble
69bd73b3ff
libavutil/encryption_info: Add unit tests.
...
Signed-off-by: Jacob Trimble <modmaker@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-06-27 13:43:39 +02:00
Steven Liu
387464bea5
from RTCTIME to N*23, step is 23
...
fix ticket: 7225
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-06-25 14:06:45 +08:00