FFmpeg/libavutil
Jan Ekström cba830c463 pgssubdec: fix subpicture output colorspace and range
Functionality used before didn't widen the values from limited to
full range. Additionally, now the decoder uses BT.709 where it
should be used according to the video resolution.

Default for not yet set colorimetry is BT.709 due to most observed
HDMV content being HD.

BT.709 coefficients were gathered from the first two parts of BT.709
to BT.2020 conversion guide in ARIB STD-B62 (Pt. 1, Chapter 6.2.2).
They were additionally confirmed by manually calculating values.

Fixes #4637
(cherry picked from commit 9779b62624)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-01 05:00:45 +02:00
..
aarch64 Merge commit 'a238b83b13' 2014-08-04 04:06:34 +02:00
arm arm: only enable setend on ARMv6 2015-07-28 02:33:56 +02:00
avr32
bfin Merge commit '880e2aa236' 2014-06-02 19:38:01 +02:00
mips
ppc avutil/ppc/util_altivec: add () to VEC_SPLAT16 macro 2014-11-29 13:40:33 +01:00
sh4
tomi
x86 x86/float_dsp: zero extend offset from ff_scalarproduct_float_sse 2016-01-08 14:03:10 -03:00
adler32.c adler32: Fix doxy group definition 2014-04-07 01:31:02 +02:00
adler32.h adler32: Fix doxy group definition 2014-04-07 01:31:02 +02:00
aes.c Merge commit 'fb0c9d41d6' 2014-01-26 01:54:55 +01:00
aes.h
atomic.c Merge commit '874c751cc5' 2014-02-19 21:53:58 +01:00
atomic.h Merge remote-tracking branch 'qatar/master' 2013-12-20 13:16:56 +01:00
atomic_gcc.h lavu/atomic: add support for the new memory model aware gcc built-ins 2014-10-29 14:09:58 -03:00
atomic_suncc.h atomic: Add include guards to the implementation headers 2013-03-08 20:54:40 +01:00
atomic_win32.h msvc: Fix compilation errors due to header include order. 2014-11-27 12:40:18 +01:00
attributes.h Merge commit '5858a67f13' 2013-11-03 12:38:13 +01:00
audio_fifo.c avutil/audio_fifo: Use av_mallocz_array() 2014-05-05 18:59:56 +02:00
audio_fifo.h Merge commit 'a7985cfd4c' 2014-07-07 00:55:52 +02:00
audioconvert.h
avassert.h
avstring.c avutil/avstring: Use size_t in av_strlcatf() 2015-05-21 20:43:38 +02:00
avstring.h Merge commit '4981baf9b8' 2014-11-07 22:33:09 +01:00
avutil.h avutil: fix version macros doxygen module 2014-07-04 20:54:19 +02:00
avutilres.rc Add Windows resource file support for shared libraries 2013-12-05 23:42:07 +01:00
base64.c Merge commit 'fb0c9d41d6' 2014-01-26 01:54:55 +01:00
base64.h
blowfish.c Merge remote-tracking branch 'qatar/master' 2013-09-11 12:51:01 +02:00
blowfish.h
bprint.c avutil & avdevice: remove av_bprint_fd_contents() 2014-07-15 21:49:56 +02:00
bprint.h avutil/bprint: C++ compatible AVBPrint definition. 2014-11-29 03:51:35 +01:00
bswap.h Fix compile error on bfin. 2014-08-05 01:54:47 +02:00
buffer.c avutil/buffer: Move USE_ATOMICS to thread.h to avoid it becoming out of sync with it 2014-11-29 12:26:22 +01:00
buffer.h Revert "lavu/buffer: add release function" 2014-03-06 03:23:40 +01:00
buffer_internal.h Merge commit 'fbd6c97f9c' 2014-11-27 23:42:16 +01:00
cast5.c avutil/cast5: Fix off by one error 2014-10-20 05:41:26 +02:00
cast5.h libavutil: Add CAST128 symmetric block cipher 2014-10-18 01:33:45 +02:00
channel_layout.c avutil/channel_layout: AV_CH_LAYOUT_6POINT1_BACK not reachable in parsing 2016-05-01 05:00:44 +02:00
channel_layout.h channel_layout: doxy: merge functions with macros 2014-07-04 22:06:49 +02:00
colorspace.h pgssubdec: fix subpicture output colorspace and range 2016-05-01 05:00:45 +02:00
common.h avutil/common: Add FFNABS() 2015-11-26 16:58:32 +01:00
cpu.c avutil/cpu: add missing check for mmxext to av_force_cpu_flags 2015-03-28 22:10:50 -03:00
cpu.h avutil: turn arm setend into a cpuflag 2014-08-13 14:50:15 +02:00
cpu_internal.h Merge commit 'b7b17ed66e' 2014-01-15 14:42:49 +01:00
crc.c Merge commit '0983d48111' 2014-04-17 22:38:51 +02:00
crc.h Merge commit '0983d48111' 2014-04-17 22:38:51 +02:00
des.c Merge remote-tracking branch 'qatar/master' 2013-09-11 12:51:01 +02:00
des.h
dict.c avutil/dict: Use size_t for appending strings 2015-05-21 20:43:38 +02:00
dict.h avutil: remove FF_CONST_AVUTIL53, its no longer needed 2014-11-24 02:22:19 +01:00
display.c Merge commit 'a54f03bf07' 2014-07-09 23:57:20 +02:00
display.h Merge commit 'a54f03bf07' 2014-07-09 23:57:20 +02:00
downmix_info.c Merge commit 'c98f3169bf' 2014-02-16 02:05:29 +01:00
downmix_info.h fix spelling errors 2014-07-12 22:33:27 +02:00
dynarray.h fix spelling errors 2014-07-12 22:33:27 +02:00
error.c avutil/error: Introduce new error codes for 4XX and 5XX replies from remote servers 2014-10-19 22:32:14 +02:00
error.h avutil/error: Introduce new error codes for 4XX and 5XX replies from remote servers 2014-10-19 22:32:14 +02:00
eval.c Merge commit 'f929ab0569' 2014-08-15 21:00:50 +02:00
eval.h Do not leave positive values undefined when negative are defined as error 2013-10-19 16:42:57 +02:00
fifo.c avutil/fifo: Fix the case where func() returns less bytes than requested in av_fifo_generic_write() 2015-07-28 02:42:16 +02:00
fifo.h avutil: remove FF_CONST_AVUTIL53, its no longer needed 2014-11-24 02:22:19 +01:00
file.c Merge commit '0a02426826' 2014-08-26 21:45:39 +02:00
file.h avutil/file: fix av_tempfile() documentation 2014-11-24 04:59:02 +01:00
file_open.c avutil/file_open: avoid file handle inheritance on Windows 2015-11-26 16:58:32 +01:00
fixed_dsp.c avutil/fixed_dsp: remove redundant cast 2014-04-01 17:57:30 +02:00
fixed_dsp.h libavutil: Add fixed_dsp 2014-04-01 17:36:33 +02:00
float_dsp.c avutil/float_dsp: add avpriv_float_dsp_alloc() 2014-11-18 11:43:01 +01:00
float_dsp.h avutil/float_dsp: add avpriv_float_dsp_alloc() 2014-11-18 11:43:01 +01:00
frame.c lavu/frame: fix malloc error path in av_frame_copy_props() 2014-12-15 05:32:36 +01:00
frame.h avcodec, avutil: allow more control about how samples are skipped 2014-10-02 20:21:00 +02:00
hash.c lavu/hash.c: Add missing "static const". 2014-08-31 10:33:02 +02:00
hash.h lavu/hash: add hash_final helpers. 2014-04-29 13:24:11 +02:00
hmac.c avutil/hmac: make const tables static const 2013-08-06 20:30:55 +02:00
hmac.h lavu/hmac: Add support for SHA-2 2013-06-12 01:47:42 +02:00
imgutils.c avutil/imgutils: correctly check for negative SAR components 2015-03-21 01:52:51 +01:00
imgutils.h Merge commit 'f929ab0569' 2014-08-15 21:00:50 +02:00
integer.c avutil/integer: Fix av_mod_i() with negative dividend 2015-12-06 02:08:25 +01:00
integer.h
internal.h Merge commit '277ff7f5dc' 2014-11-24 12:45:07 +01:00
intfloat.h Reinstate proper FFmpeg license for all files. 2013-08-30 15:47:38 +00:00
intmath.c
intmath.h avutil/intmath: enable builtin intrinsics for icl and msvc. 2014-10-26 17:20:55 +01:00
intreadwrite.h libavutil: document side effects of macros 2014-07-19 14:55:46 +02:00
lfg.c
lfg.h
libavutil.v lavu: stop exporting internal functions 2014-08-12 04:35:52 +02:00
libm.h Remove fminf() emulation. 2014-11-08 11:31:11 +01:00
lls.c avutil/lls: Make unchanged function arguments const 2014-09-28 19:32:07 +02:00
lls.h avutil/lls: Make unchanged function arguments const 2014-09-28 19:32:07 +02:00
log.c log: Unbreak no-tty support on 256color terminals 2014-09-26 20:56:16 +02:00
log.h lavu/log: add device category macros 2014-08-18 22:37:03 +02:00
log2_tab.c
lzo.c avutil/lzo: fix resource leak 2014-10-11 12:15:26 +02:00
lzo.h
macros.h Merge remote-tracking branch 'qatar/master' 2013-12-30 11:23:32 +01:00
Makefile lavu/dict: add av_dict_get_string 2014-11-21 01:25:54 +01:00
mathematics.c avutil/mathematics: Fix division by 0 2016-01-15 17:39:04 +01:00
mathematics.h fix various typos 2014-06-03 10:58:19 -08:00
md5.c avutil/md5: workaround clang 3.5 #20849 2014-09-05 00:43:48 +02:00
md5.h lavu/md5: Add doxy 2013-06-15 02:22:39 +02:00
mem.c libavutil/mem: use size_t for the length in av_strdup() 2015-05-21 20:43:37 +02:00
mem.h Merge commit '8ddc32629a' 2014-08-14 00:29:06 +02:00
motion_vector.h avutil/motion_vector.h: fix coordinate types 2014-08-21 12:27:34 +02:00
murmur3.c murmur3: fix memleak 2013-05-15 12:10:09 +02:00
murmur3.h Add 128 bit murmur3 hash function. 2013-05-13 21:42:37 +02:00
old_pix_fmts.h Merge remote-tracking branch 'qatar/master' 2013-11-14 03:26:35 +01:00
opencl.c Revert "avutil/opencl: is_compiled flag not being cleared in av_opencl_uninit" 2015-03-09 14:32:13 -03:00
opencl.h avutil/opencl: don't include config.h 2015-02-12 15:43:47 -03:00
opencl_internal.c lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter() 2014-08-12 03:49:45 +02:00
opencl_internal.h lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter() 2014-08-12 03:49:45 +02:00
opt.c avutil/opt: check for and handle errors in av_opt_set_dict2() 2016-01-31 00:24:52 +01:00
opt.h lavu/opt: add escaping to av_opt_serialize 2014-11-29 00:58:42 +01:00
parseutils.c Merge commit '82ee7d0dda' 2014-10-26 02:38:26 +01:00
parseutils.h lavu/parseutils: add av_get_known_color_name() 2013-10-27 09:16:05 +01:00
pca.c avutil/pca: Check for av_malloc* failures 2015-04-17 15:20:29 +02:00
pca.h avutil/pca: Make argument of ff_pca_add() const 2014-09-28 16:17:18 +02:00
pixdesc.c avutil/pixdesc: Make get_color_type() aware of CIE XYZ formats 2016-05-01 05:00:44 +02:00
pixdesc.h Merge commit '5a419b2dd1' 2014-10-08 22:53:48 +02:00
pixelutils.c avutil/pixelutils: add small buffers tests 2014-09-02 07:29:41 +02:00
pixelutils.h avutil: add pixelutils API 2014-08-05 21:05:52 +02:00
pixfmt.h Merge commit '04ccd584a7' 2014-10-08 22:37:59 +02:00
qsort.h
random_seed.c avutil/random_seed: Add the runtime in cycles of the main loop to the entropy pool 2016-05-01 05:00:44 +02:00
random_seed.h
rational.c avutil/rational: av_add_stable() test code 2014-01-04 15:10:14 +01:00
rational.h lavu/rational: add syntactic sugar. 2014-01-19 17:12:22 +01:00
rc4.c
rc4.h
replaygain.h Merge commit '8542f9c4f1' 2014-04-04 22:52:12 +02:00
ripemd.c lavu/ripemd: Add a size optimized version of the transform functions 2013-09-09 11:18:48 +02:00
ripemd.h lavu: Add RIPEMD hashing 2013-06-15 18:54:01 -03:00
samplefmt.c avutil: remove obsolete FF_API_SAMPLES_UTILS_RETURN_ZERO cruft 2014-10-05 17:09:56 -03:00
samplefmt.h avutil: remove obsolete FF_API_GET_BITS_PER_SAMPLE_FMT cruft 2014-10-05 17:09:49 -03:00
sha.c lavu/sha: Fully unroll the transform function loops 2013-09-11 21:55:59 +02:00
sha.h
sha512.c lavu/sha512: Fully unroll the transform function loops 2013-09-11 21:55:59 +02:00
sha512.h lavu: Add SHA-2 512 hashing 2013-06-02 11:27:19 +02:00
softfloat.c avutil/softfloat: remove unneeded include assert.h 2013-07-19 18:56:33 +02:00
softfloat.h libavutil/softfloat: Fix av_normalize1_sf bias. 2015-07-28 02:33:56 +02:00
stereo3d.c Merge commit '159a06dfc8' 2014-08-14 00:17:47 +02:00
stereo3d.h Merge commit '440842c4eb' 2014-06-19 23:47:10 +02:00
thread.h avutil/buffer: Move USE_ATOMICS to thread.h to avoid it becoming out of sync with it 2014-11-29 12:26:22 +01:00
threadmessage.c lavu: add thread message API. 2014-05-26 11:40:15 +02:00
threadmessage.h lavu: add thread message API. 2014-05-26 11:40:15 +02:00
time.c Merge commit '1bd0bdcdc2' 2014-10-24 11:06:56 +02:00
time.h Merge commit '1bd0bdcdc2' 2014-10-24 11:06:56 +02:00
time_internal.h avutil/time_internal: do not attempt to override *time_r() macros 2014-11-05 18:44:15 +01:00
timecode.c avutil/timecode: Fix fps check 2015-12-06 02:08:26 +01:00
timecode.h
timer.h Fix compile error on bfin. 2014-08-05 01:54:47 +02:00
timestamp.h avutil/timestamp: Warn about missing __STDC_FORMAT_MACROS for C++ use 2014-03-13 17:32:15 +01:00
tree.c tree-test: Don't return restricted exit codes 2013-10-24 10:59:26 +01:00
tree.h Merge commit 'a9b04b2c43' 2013-08-01 10:41:06 +02:00
utf8.c avutil/utf8: put under #ifdef TEST 2013-11-22 17:16:11 +01:00
utils.c Add FFMPEG_VERSION into the binary libs 2014-12-22 03:17:56 +01:00
version.h lavu/opt: add consts where possible 2014-11-27 23:27:14 +01:00
wchar_filename.h Merge commit '9326d64ed1' 2014-11-27 11:10:26 +01:00
x86_cpu.h
xga_font_data.c
xga_font_data.h
xtea.c xtea: Add Doxy @file and group 2014-04-07 01:31:36 +02:00
xtea.h xtea: Add Doxy @file and group 2014-04-07 01:31:36 +02:00