1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-03 05:10:03 +02:00
FFmpeg/libavutil
Jan Ekström 3003277103 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-04-27 04:40:12 +02:00
..
aarch64
arm avutil/arm/intmath: return int for uint8 / uint16 clip 2015-07-20 17:20:16 +02:00
avr32
bfin
mips avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP9 lpf functions 2015-07-23 16:52:18 +02:00
ppc avutil/ppc/cpu: add include avassert.h 2015-06-05 19:12:58 +02:00
sh4
tomi
x86 x86/float_dsp: zero extend offset from ff_scalarproduct_float_sse 2016-01-08 14:02:27 -03:00
adler32.c avutil/adler32: Fix data type in test code 2015-06-19 02:25:48 +02:00
adler32.h
aes.c avutil/aes: Fix types 2015-06-19 02:25:48 +02:00
aes.h
atomic_gcc.h
atomic_suncc.h
atomic_win32.h
atomic.c avutil/atomic: reuse ret to avoid dereferencing twice the same value. 2014-12-27 22:14:23 +01:00
atomic.h
attributes.h avutil/attributes: Add () to protect the AV_GCC_VERSION_AT_LEAST() arguments 2015-02-17 00:21:48 +01:00
audio_fifo.c avfilter: add showfreqs filter 2015-08-19 16:15:13 +00:00
audio_fifo.h avfilter: add showfreqs filter 2015-08-19 16:15:13 +00:00
audioconvert.h
avassert.h
avstring.c avutil/avstring: Do not print NULL 2015-06-19 15:57:32 +02:00
avstring.h lavu/avstring: add av_append_path_component() funcion 2015-03-31 23:50:46 +02:00
avutil.h doxygen: Remove lavu_internal group 2015-08-22 10:07:05 -07:00
avutilres.rc
base64.c
base64.h
blowfish.c avutil: undo FF_API_CRYPTO_CONTEXT deprecation for 2.8 release 2015-09-05 13:02:29 -03:00
blowfish.h avutil: undo FF_API_CRYPTO_CONTEXT deprecation for 2.8 release 2015-09-05 13:02:29 -03:00
bprint.c
bprint.h
bswap.h
buffer_internal.h
buffer.c avutil/buffer: Avoid moving the AVBufferRef to a new place in memory in av_buffer_make_writable() 2015-03-12 02:15:28 +01:00
buffer.h
camellia.c libavutil: camellia: remove unwanted memory loads 2015-02-10 17:15:36 +01:00
camellia.h avutil/camellia: fix documentation for av_camellia_crypt() 2015-01-02 21:23:45 +01:00
cast5.c avutil/cast5: Make iv array static 2015-05-02 14:37:48 +02:00
cast5.h
channel_layout.c avutil/channel_layout: AV_CH_LAYOUT_6POINT1_BACK not reachable in parsing 2016-04-27 04:40:11 +02:00
channel_layout.h Merge commit 'e23f84d9652474353d8bbc42787a56ec1991908f' 2015-08-24 10:40:24 +02:00
color_utils.c avutil: Extract gamma determination from PNG encoder for future use. Adds private avpriv_get_gamma_from_trc() function to libavutil. 2015-03-05 12:26:22 +01:00
color_utils.h avutil: Extract gamma determination from PNG encoder for future use. Adds private avpriv_get_gamma_from_trc() function to libavutil. 2015-03-05 12:26:22 +01:00
colorspace.h pgssubdec: fix subpicture output colorspace and range 2016-04-27 04:40:12 +02:00
common.h avutil/common: add FFDIFFSIGN macro 2015-11-12 00:00:57 +01:00
cpu_internal.h Merge commit 'cae39851201b7781f1262e1c23627b45e6e80bb4' 2015-05-31 23:59:48 +02:00
cpu.c x86: add AV_CPU_FLAG_AVXSLOW flag 2015-05-31 12:07:11 +02:00
cpu.h Merge commit '7d07ee5a9bd170a06d26fd967cf8de5d3b1ce331' 2015-05-31 22:47:50 +02:00
crc.c avutil/crc: Fix type of p table so its content fits without overflwoing 2015-06-19 02:25:48 +02:00
crc.h
des.c avutil: undo FF_API_CRYPTO_CONTEXT deprecation for 2.8 release 2015-09-05 13:02:29 -03:00
des.h avutil: undo FF_API_CRYPTO_CONTEXT deprecation for 2.8 release 2015-09-05 13:02:29 -03:00
dict.c avutil/dict: Use size_t for appending strings 2015-05-10 16:09:07 +02:00
dict.h
display.c Merge commit 'e4fe535d12f4f30df2dd672e30304af112a5a827' 2015-03-24 01:14:31 +01:00
display.h Merge commit 'e4fe535d12f4f30df2dd672e30304af112a5a827' 2015-03-24 01:14:31 +01:00
downmix_info.c
downmix_info.h
dynarray.h
error.c avutil/error: list most common error code in error_entries when strerror_r() is unavailable 2015-02-10 23:02:24 +01:00
error.h
eval.c avutil: add ff_reverse as av_reverse replacement 2015-08-12 00:14:14 +02:00
eval.h
fifo.c avfilter: add showfreqs filter 2015-08-19 16:15:13 +00:00
fifo.h avfilter: add showfreqs filter 2015-08-19 16:15:13 +00:00
file_open.c avutil/file_open: avoid file handle inheritance on Windows 2015-11-02 19:15:32 +01:00
file.c Merge commit 'bf704132a51f5d838365158331d4e535e1df4c8e' 2015-02-14 21:27:44 +01:00
file.h
fixed_dsp.c avutil/fixed_dsp: remove ff_ prefix from static function 2015-06-20 03:39:09 -03:00
fixed_dsp.h libavutil: Add new fixed dsp functions. 2015-06-03 22:50:53 +02:00
float_dsp.c avutil/float_dsp: Remove use of deprecated av_set_cpu_flags_mask() 2015-08-07 22:46:27 +02:00
float_dsp.h avutil/float_dsp: Fix ambiguous wording about vector products 2015-06-01 16:22:27 +02:00
frame.c avutil/frame: Free destination qp_table_buf in frame_copy_props() 2016-02-13 21:08:23 +01:00
frame.h avutil/frame: Update AVFrame docs library references 2015-07-18 10:46:36 +02:00
hash.c
hash.h
hmac.c avutil/hmac: fix API/ABI compatibility with the fork 2015-07-29 21:32:05 -03:00
hmac.h avutil/hmac: fix API/ABI compatibility with the fork 2015-07-29 21:32:05 -03:00
imgutils.c avutil/imgutils: Simplify pix_fmt validity check in av_image_get_linesize() 2015-06-12 23:23:59 +02:00
imgutils.h Replace a few leftover instances of enum PixelFormat with enum AVPixelFormat 2015-03-17 23:53:33 +02:00
integer.c avutil/integer: Fix av_mod_i() with negative dividend 2015-12-06 02:51:27 +01:00
integer.h
internal.h Move ff_dlog from lavc to lavu. 2015-08-18 09:46:49 -04:00
intfloat.h
intmath.c
intmath.h doxygen: Remove lavu_internal group 2015-08-22 10:07:05 -07:00
intreadwrite.h
lfg.c
lfg.h
libavutil.v
libm.h
lls.c
lls.h
log2_tab.c
log.c avutil/log: fix zero length gnu_printf format string warning 2015-10-08 13:15:42 +02:00
log.h avutil/log: modify AV_LOG_MAX_OFFSET for AV_LOG_TRACE 2015-06-26 14:02:35 +02:00
lzo.c
lzo.h
macros.h
Makefile avutil: add ff_reverse as av_reverse replacement 2015-08-12 00:14:14 +02:00
mathematics.c avutil/mathematics: Fix division by 0 2015-12-09 17:53:44 +01:00
mathematics.h
md5.c
md5.h
mem_internal.h avutil/mem_internal: add missing header includes 2015-07-13 21:54:15 -03:00
mem.c Factor duplicated ff_fast_malloc() out into mem_internal.h 2015-07-13 02:41:43 +02:00
mem.h
motion_vector.h
murmur3.c avutil/murmur3: Add () to protect the ROT() arguments 2015-02-17 00:18:15 +01:00
murmur3.h
old_pix_fmts.h
opencl_internal.c
opencl_internal.h
opencl.c OpenCL: Fix ABI incompatibility issues 2015-04-28 12:28:53 +02:00
opencl.h OpenCL: Fix ABI incompatibility issues 2015-04-28 12:28:53 +02:00
opt.c avutil/opt: check for and handle errors in av_opt_set_dict2() 2016-01-28 15:53:54 +01:00
opt.h Undeprecate av_opt_set_defaults2(). 2015-08-18 13:09:06 -04:00
parseutils.c Merge commit '219b39a71a5694b1c14a07b86477f665a5b6849b' 2015-07-21 16:55:39 +02:00
parseutils.h Merge commit '27f274628234c1f934b9a6a6380ed567c1b4ceae' 2015-04-07 20:46:25 +02:00
pca.c avutil/pca: Check for av_malloc* failures 2015-03-30 04:37:42 +02:00
pca.h
pixdesc.c avutil/pixdesc: Make get_color_type() aware of CIE XYZ formats 2016-02-22 03:50:51 +01:00
pixdesc.h pixelutils: indent comments in pixdesc.h to be clearer 2015-03-04 21:58:53 +01:00
pixelutils.c avutil: check pixdescs in a different place 2015-02-10 15:45:02 +01:00
pixelutils.h
pixfmt.h vaapi: define a unique pixel format for VA-API (AV_PIX_FMT_VAAPI). 2015-08-19 14:03:24 +02:00
qsort.h
random_seed.c avutil/random_seed: Add the runtime in cycles of the main loop to the entropy pool 2016-04-27 04:40:11 +02:00
random_seed.h
rational.c avutil: Add av_q2intfloat() 2015-05-26 18:31:53 +02:00
rational.h avutil: Add av_q2intfloat() 2015-05-26 18:31:53 +02:00
rc4.c avutil: undo FF_API_CRYPTO_CONTEXT deprecation for 2.8 release 2015-09-05 13:02:29 -03:00
rc4.h avutil: undo FF_API_CRYPTO_CONTEXT deprecation for 2.8 release 2015-09-05 13:02:29 -03:00
replaygain.h
reverse.c avutil: add ff_reverse as av_reverse replacement 2015-08-12 00:14:14 +02:00
ripemd.c ripemd: move ripemd{256, 320} into separate functions 2015-05-07 15:40:56 +02:00
ripemd.h
samplefmt.c
samplefmt.h
sha512.c
sha512.h
sha.c avutil/sha: Protect macro arguments with () 2015-02-18 22:50:41 +01:00
sha.h
softfloat_tables.h avutil/softfloat_tables: add missing stdint.h include 2015-04-30 17:38:41 -03:00
softfloat.c avutil/softfloat: Include negative numbers in cmp/gt tests 2015-11-12 00:00:57 +01:00
softfloat.h avutil/softfloat: use abort() instead of av_assert0(0) 2015-11-27 15:01:22 +01:00
stereo3d.c
stereo3d.h
tea.c Add support for TEA (Tiny Encryption Algorithm) 2015-07-21 23:10:44 +02:00
tea.h Add support for TEA (Tiny Encryption Algorithm) 2015-07-21 23:10:44 +02:00
thread.h
threadmessage.c
threadmessage.h
time_internal.h
time.c
time.h
timecode.c avutil/timecode: Fix fps check 2015-12-06 02:51:27 +01:00
timecode.h
timer.h avutil/timer: give each printed value of STOP_TIMER a fixed length 2015-03-27 04:44:58 +01:00
timestamp.h
tree.c
tree.h
twofish.c libavutil: optimize twofish cipher 2015-02-18 00:59:55 +01:00
twofish.h libavutil: Added twofish symmetric block cipher 2015-01-29 01:56:11 +01:00
utf8.c
utils.c lavu: disable wrong value check in get_version() upon api bump. 2015-08-18 15:57:20 -04:00
version.h avutil: undo FF_API_CRYPTO_CONTEXT deprecation for 2.8 release 2015-09-05 13:02:29 -03:00
wchar_filename.h
x86_cpu.h
xga_font_data.c
xga_font_data.h
xtea.c avutil: undo FF_API_CRYPTO_CONTEXT deprecation for 2.8 release 2015-09-05 13:02:29 -03:00
xtea.h avutil: undo FF_API_CRYPTO_CONTEXT deprecation for 2.8 release 2015-09-05 13:02:29 -03:00