Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH v2 01/13] lavc/hevc_ps: remove profile limitation of pps_range_extensions()
@ 2022-12-05  6:09 Fei Wang
  2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 02/13] lavc/avcodec: Add HEVC Screen Content Coding Extensions profile Fei Wang
                   ` (12 more replies)
  0 siblings, 13 replies; 19+ messages in thread
From: Fei Wang @ 2022-12-05  6:09 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Fei Wang

Follow spec 7.3.2.3.1.

Signed-off-by: Fei Wang <fei.w.wang@intel.com>
---
update:
1. fix uninitialized variable which may cause segment fault.

 libavcodec/hevc_ps.c                         |  2 +-
 tests/ref/fate/hevc-conformance-PS_A_VIDYO_3 | 50 ++++++++++----------
 2 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 5fe62ec35b..537a3ff99b 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -1658,7 +1658,7 @@ int ff_hevc_decode_nal_pps(GetBitContext *gb, AVCodecContext *avctx,
     if (get_bits1(gb)) { // pps_extension_present_flag
         pps->pps_range_extensions_flag = get_bits1(gb);
         skip_bits(gb, 7); // pps_extension_7bits
-        if (sps->ptl.general_ptl.profile_idc == FF_PROFILE_HEVC_REXT && pps->pps_range_extensions_flag) {
+        if (pps->pps_range_extensions_flag) {
             if ((ret = pps_range_extensions(gb, avctx, pps, sps)) < 0)
                 goto err;
         }
diff --git a/tests/ref/fate/hevc-conformance-PS_A_VIDYO_3 b/tests/ref/fate/hevc-conformance-PS_A_VIDYO_3
index 59b82b72bb..d1d86b2dc9 100644
--- a/tests/ref/fate/hevc-conformance-PS_A_VIDYO_3
+++ b/tests/ref/fate/hevc-conformance-PS_A_VIDYO_3
@@ -3,28 +3,28 @@
 #codec_id 0: rawvideo
 #dimensions 0: 416x240
 #sar 0: 0/1
-0,          0,          0,        1,   149760, 0x88619f80
-0,          1,          1,        1,   149760, 0x550bdaf0
-0,          2,          2,        1,   149760, 0x4121f7a2
-0,          3,          3,        1,   149760, 0x210b1d07
-0,          4,          4,        1,   149760, 0x731b7758
-0,          5,          5,        1,   149760, 0x17adb789
-0,          6,          6,        1,   149760, 0x98b2f080
-0,          7,          7,        1,   149760, 0xc0be1f2a
-0,          8,          8,        1,   149760, 0xc01e387a
-0,          9,          9,        1,   149760, 0xd932822b
-0,         10,         10,        1,   149760, 0x16c0a1df
-0,         11,         11,        1,   149760, 0x5aa6c005
-0,         12,         12,        1,   149760, 0xd3aab602
-0,         13,         13,        1,   149760, 0x4e6ecab1
-0,         14,         14,        1,   149760, 0x8a86f1f2
-0,         15,         15,        1,   149760, 0x2ed21e1b
-0,         16,         16,        1,   149760, 0x80892f24
-0,         17,         17,        1,   149760, 0xb8a952ef
-0,         18,         18,        1,   149760, 0x557e57fb
-0,         19,         19,        1,   149760, 0x2b825b2c
-0,         20,         20,        1,   149760, 0x30b69b5e
-0,         21,         21,        1,   149760, 0x802ebf08
-0,         22,         22,        1,   149760, 0x95aadc8e
-0,         23,         23,        1,   149760, 0x4d4c02b7
-0,         24,         24,        1,   149760, 0x3fdd1762
+0,          0,          0,        1,   149760, 0x5c4f70f4
+0,          1,          1,        1,   149760, 0xf4628e59
+0,          2,          2,        1,   149760, 0xa28e5bdc
+0,          3,          3,        1,   149760, 0xda0e53d7
+0,          4,          4,        1,   149760, 0x42dd334a
+0,          5,          5,        1,   149760, 0x25ba9dfe
+0,          6,          6,        1,   149760, 0x8854d8ca
+0,          7,          7,        1,   149760, 0xc04505d4
+0,          8,          8,        1,   149760, 0xd3fce146
+0,          9,          9,        1,   149760, 0x8bfd88bd
+0,         10,         10,        1,   149760, 0x33d965b2
+0,         11,         11,        1,   149760, 0x12746b7a
+0,         12,         12,        1,   149760, 0xb7642694
+0,         13,         13,        1,   149760, 0x32b5035f
+0,         14,         14,        1,   149760, 0x7bea0af1
+0,         15,         15,        1,   149760, 0x577d4fc8
+0,         16,         16,        1,   149760, 0x023a9c66
+0,         17,         17,        1,   149760, 0x9abe76c4
+0,         18,         18,        1,   149760, 0x2b14dba5
+0,         19,         19,        1,   149760, 0x7b8affcf
+0,         20,         20,        1,   149760, 0x21e4c323
+0,         21,         21,        1,   149760, 0xf0b7d9cd
+0,         22,         22,        1,   149760, 0x4db0c5bc
+0,         23,         23,        1,   149760, 0xf455f752
+0,         24,         24,        1,   149760, 0x569fec99
-- 
2.25.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-01-03 13:02 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-05  6:09 [FFmpeg-devel] [PATCH v2 01/13] lavc/hevc_ps: remove profile limitation of pps_range_extensions() Fei Wang
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 02/13] lavc/avcodec: Add HEVC Screen Content Coding Extensions profile Fei Wang
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 03/13] lavc/hevc_ps: Add SPS/PPS parse support for HEVC extension syntax Fei Wang
2023-01-03  6:20   ` Xiang, Haihao
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 04/13] lavc/hevcdec: Add slice parse support for HEVC SCC extension Fei Wang
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 05/13] lavc/hevcdec: Fix the parsing for use_integer_mv_flag Fei Wang
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 06/13] lavc/hevcdec: Set max_num_merge_cand to uint8_t Fei Wang
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 07/13] lavc/hevc: Update reference list for SCC Fei Wang
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 08/13] lavc/vaapi_hevc: Pass SCC parameters Through VA-API Fei Wang
2023-01-03  6:56   ` Xiang, Haihao
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 09/13] lavc/vaapi_hevc: Add vaapi profile parse support for SCC Fei Wang
2023-01-03  7:08   ` Xiang, Haihao
2023-01-03 13:01     ` Wang, Fei W
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 10/13] lavc/vaapi_hevc: Set correct rps type for scc Fei Wang
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 11/13] lavc/vaapi_hevc: Loose the restricts for SCC decoding Fei Wang
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 12/13] avcodec/hevcdec: Replace number with enum Fei Wang
2022-12-05  6:09 ` [FFmpeg-devel] [PATCH v2 13/13] lavc/vaapi_hevc: Remove duplicate code Fei Wang
2022-12-22  2:15   ` Wang, Fei W
2022-12-14  2:19 ` [FFmpeg-devel] [PATCH v2 01/13] lavc/hevc_ps: remove profile limitation of pps_range_extensions() Wang, Fei W

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git