Files
FFmpeg/libavcodec
Michael Fabian 'Xaymar' Dirks fb4dd4b6f4 avcodec/amfenc: Fixes the color information in the output.
added 10 bit support for amf hevc.

before:

command - ffmpeg.exe -hide_banner -y -hwaccel d3d11va -hwaccel_output_format d3d11 -i test_10bit_file.mkv -an -c:v h264_amf res.dx11_hw_h264.mkv
output -  Format of input frames context (p010le) is not supported by AMF.
command - ffmpeg.exe -hide_banner -y -hwaccel d3d11va -hwaccel_output_format d3d11 -i test_10bit_file -an -c:v hevc_amf res.dx11_hw_hevc.mkv
output -  Format of input frames context (p010le) is not supported by AMF.

after:

command - ffmpeg.exe -hide_banner -y -hwaccel d3d11va -hwaccel_output_format d3d11 -i test_10bit_file -an -c:v h264_amf res.dx11_hw_h264.mkv
output -  10-bit input video is not supported by AMF H264 encoder
command - ffmpeg.exe -hide_banner -y -hwaccel d3d11va -hwaccel_output_format d3d11 -i test_10bit_file -an -c:v hevc_amf res.dx11_hw_hevc.mkv
output -  10bit file

v2 - lost line returned in ff_amf_pix_fmts
v3 - fixes after review
v4 - extract duplicated code, fix incorrect processing of 10-bit input for h264
v5 - non-functional changes after review

Co-authored-by: Evgeny Pavlov <lucenticus@gmail.com>
Co-authored-by: Araz Iusubov <Primeadvice@gmail.com>
Signed-off-by: Dmitrii Ovchinnikov <ovchinnikov.dmitrii@gmail.com>
2024-09-04 13:18:09 +02:00
..
2024-09-02 11:56:53 +02:00
2024-09-02 11:56:53 +02:00
2024-09-02 11:56:53 +02:00
2024-02-27 00:11:21 +01:00
2024-06-08 00:22:40 +02:00
2024-06-08 00:22:40 +02:00
2024-08-14 18:21:01 +02:00
2024-04-06 09:26:30 +02:00
2022-10-05 08:26:19 +02:00
2024-07-12 22:42:18 +02:00
2022-01-04 13:16:49 +01:00
2022-11-06 14:39:36 +01:00
2023-09-11 00:27:45 +02:00
2024-06-08 00:22:35 +02:00
2016-07-11 23:30:11 +01:00
2024-04-04 23:58:57 +02:00
2024-07-12 22:42:20 +02:00
2024-05-13 03:40:19 +02:00
2024-06-13 20:36:09 -03:00
2024-03-31 00:08:43 +01:00
2024-07-23 23:21:17 +02:00
2024-07-12 22:42:28 +02:00
2024-06-07 21:42:24 +02:00
2024-03-31 00:08:43 +01:00
2024-07-12 22:42:31 +02:00
2012-05-18 23:34:11 +02:00
2024-07-05 18:05:10 +08:00
2024-05-31 13:36:02 -03:00
2022-09-29 00:05:32 +02:00
2024-09-02 11:56:53 +02:00
2024-06-14 21:28:10 +03:00
2024-07-12 22:42:40 +02:00
2024-07-12 22:42:42 +02:00
2024-03-31 00:08:43 +01:00
2024-06-08 00:22:35 +02:00
2024-06-08 00:22:35 +02:00
2014-02-21 16:57:26 -03:00
2024-08-09 13:40:26 +08:00
2024-06-04 11:46:27 +02:00
2024-03-31 00:08:43 +01:00
2024-06-20 18:58:39 +02:00
2014-08-31 10:25:36 +02:00
2024-06-03 14:13:34 +02:00
2017-10-04 23:14:37 +01:00
2024-06-12 12:07:49 +02:00
2024-06-20 18:58:38 +02:00
2024-07-30 13:40:21 +08:00
2024-05-19 22:12:54 +02:00
2024-06-07 21:42:24 +02:00
2010-04-21 18:01:34 +00:00
2024-03-31 00:08:43 +01:00