Files
ffmpeg/libavcodec
Linjie Fu 2847c5c6f9 lavc/vaapi_encode_h265: fix conf_win_xxx_offset for 4:2:2/4:4:4 encoding
Use desc->log2_chroma_w/h to calculate the sps->conf_win_right/bottom_offset.

Based on Table 6-1, SubWidthC and SubHeightC depend on chroma format(log2_chroma_w/h).

Based on D-28 and D-29, set the correct cropped width/height.

croppedWidth  = pic_width_in_luma_samples −
                SubWidthC * ( conf_win_right_offset + conf_win_left_offset );

croppedHeight = pic_height_in_luma_samples −
                SubHeightC * ( conf_win_bottom_offset + conf_win_top_offset );

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
2020-03-09 23:44:04 +00:00
..
2019-12-12 19:25:33 +01:00
2020-02-07 13:36:57 -03:00
2020-02-07 13:36:57 -03:00
2020-02-19 20:48:49 +11:00
2019-12-26 22:22:33 +01:00
2018-08-08 00:13:13 +05:30
2019-06-26 21:25:10 +02:00
2019-12-26 16:06:25 +01:00
2018-07-18 13:59:25 +02:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2019-08-11 19:13:21 +02:00
2019-11-13 09:08:43 -08:00
2020-02-22 00:15:43 +01:00
2018-04-25 23:09:47 +02:00
2019-05-06 23:58:34 +02:00
2019-12-05 20:20:05 +01:00
2018-12-23 15:30:13 +01:00
2018-12-10 11:19:36 +01:00
2020-01-22 21:50:49 +01:00
2018-09-23 15:25:50 +02:00
2019-08-29 21:04:54 +02:00
2017-12-10 14:43:01 +01:00
2018-02-24 17:06:31 +01:00
2019-11-28 10:21:20 -03:00
2017-12-11 00:42:26 -03:00
2019-01-16 01:29:18 +01:00
2019-06-29 19:22:19 +02:00
2020-02-04 11:35:02 +01:00
2019-08-11 19:13:21 +02:00
2019-12-10 16:09:14 +01:00
2020-01-11 23:31:18 +01:00
2019-11-25 00:07:07 +01:00
2019-09-02 13:46:11 -07:00
2019-03-31 23:35:00 +02:00
2018-12-23 15:30:13 +01:00
2018-12-01 19:41:48 +01:00
2020-02-03 23:59:07 +01:00
2019-12-14 09:49:58 +01:00
2019-10-22 10:51:42 +08:00
2020-02-19 22:37:30 +01:00
2018-12-03 23:34:05 +01:00
2020-01-30 19:57:25 +01:00
2019-08-23 22:24:07 +02:00
2018-03-07 22:26:53 +01:00
2018-11-18 22:59:29 +01:00
2020-03-04 23:20:32 +01:00
2019-12-31 18:43:50 +01:00
2019-09-20 23:26:34 +02:00
2020-01-13 23:26:25 +00:00
2020-01-13 23:26:25 +00:00
2019-09-16 21:30:19 +02:00
2019-11-09 17:59:03 +01:00
2020-02-01 21:39:05 +00:00
2019-07-28 22:34:26 +01:00
2018-02-21 23:38:30 +00:00
2020-01-11 23:31:18 +01:00
2018-04-25 22:07:20 +02:00
2019-06-12 20:06:20 +10:00
2019-10-25 00:22:33 +02:00
2019-08-22 18:35:44 +02:00
2017-12-19 23:21:59 +00:00
2019-09-05 19:45:53 +02:00
2020-01-11 23:25:21 +01:00
2019-05-02 15:36:16 +02:00