From patchwork Wed Nov 10 14:22:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Buitenhuis X-Patchwork-Id: 31365 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:d206:0:0:0:0:0 with SMTP id q6csp504793iob; Wed, 10 Nov 2021 06:23:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaJ8nd5s71zjlQqp0dIF4rlmm+7cpe6cmCeYY1vKGO8nZIaN7CZ2GfiiHatWcgCpjz0a2+ X-Received: by 2002:a50:bf4d:: with SMTP id g13mr21776445edk.195.1636554196896; Wed, 10 Nov 2021 06:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636554196; cv=none; d=google.com; s=arc-20160816; b=XdATpgFGMRakc05XcPn/VASQ/8OjKI+tzJm3XosE+eqF81ZskGcdoZc8IEiR8W1GwJ zSCZgxLb2PZzFo3r/dtWeJiC0Cs25yWHnZzlr6LEU/JROd8iNavclqB7BghLexXA+DBx s1rPegHNVwtsIPw8WPhPALRwcQ7kSTpfLvk9aqq1XCSw8v/uPNxXl1xHZakgGRDCF+4k 04Ac6u/me9NhS0CLo4s9QwkSnr/1wOAd/22DptqjcRyblWXy8r21hpGVUGqga1U6NNM/ tv+URux+u6wHDRG0no89daOQoFgzNDOVzKyIkEPiNlLETUtFIURGNE3zUQJX484Nt1Y6 kwaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=Vdd6T/l91J1+krY7qLO6QAW/1te7NHQ7CV3+L61Bo/Q=; b=0upuSi0PTLjNvX5p3Y3TqXf0ARJRorSZ3En3dN4tDUCJ6m0Mjewq4bizYJmkbOXqad H+ZxCDAHlSmb/rRxH15wVQ9Up8gaizj7m/JmYbdZ1LC8/r+V07JRfiY3Peuh95wNMyyb PszJEAOJKdoiWQJDHYQDm4Re0dI2oJIen1OZhfrApUlzhUbV9ANTRKkEZBfAw+P6b0qf Rgf7b8ro+n1p8J+SziRXptFu0qRvPSo7r1TZ7ke5wReJiuoMjs24dDiaoh8L6BvoqrN7 KaV9sALcU2KuS/arkyJ+b0+r/Z7x+j9v/kvYJ8PhArrGNJxX2SfBF47Irr9FsVwymacM p3Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=pOmzqdtH; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id hc16si72735ejc.214.2021.11.10.06.23.09; Wed, 10 Nov 2021 06:23:16 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=pOmzqdtH; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D74D668A98A; Wed, 10 Nov 2021 16:22:55 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1BA1C68A1A7 for ; Wed, 10 Nov 2021 16:22:49 +0200 (EET) Received: by mail-wm1-f54.google.com with SMTP id i8-20020a7bc948000000b0030db7b70b6bso4775627wml.1 for ; Wed, 10 Nov 2021 06:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=BsZffGIvrjoaIWY7QwO1I2vkxhITukErYEnhgIEnTyE=; b=pOmzqdtHDfz6jjIFmI78vEJ93teeZBH/qobfdAngAxPIegflfhpAA8f3NwYGns6IA5 WmqF39Fq/RQNwI9eYd+9I4Q8tGmJloQxmw3tpXFHicCg7e7g7d9ER+dgG0j/bspfQMOl ZPZSI5EDrHSCywOoFr+5KJny/q5Cs1sK53vrlVRnt4yUEtGJfUL992pkxdgVmRQ2Ngy4 8pqpH1OHRO9RyrpYedU0jlHmUMWPloIe5TSZ7pCSehg6mlP5UoXYE8om3ZJn/r3ItO9V XGcnt+Y40tNS4B6vmIYhOLviEvNgMx2757diwUXD51mquE4IfqCrQIwAfncljyK5WwXc KOSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BsZffGIvrjoaIWY7QwO1I2vkxhITukErYEnhgIEnTyE=; b=rT59iY0jGEF09lIhZZ8bvbiSWThpS8r1pnTTBbeR1vpcCMzNYtZ2n6XGNz9gryCPgv MRES5UU0e06wV4bLB3hzUMZxdPZunaA2B3Re0koMNY+LIDrq/rMfJbzIa3y4yHJeSRdS L8Tl0aXAjfWEp6dLsQgdTllFBa9Y5y1+hrVHatev3vDGPH8fGktLqDGvr7j+HFwo1yBi e6mAGkbH44A9XSH4qrTy63ajznqE35E31GY9x0afwZqPWhYGIOzwswr4s9PNH1OiM/jC PatKV24MCe3f0gjyDAIwGVJJNKRU4jHZMuMxftHBL2RQNzCoemqp4iby/DWbKqb9juhl 5ZsA== X-Gm-Message-State: AOAM530ybbq43ABlm+xRDrwbUkzxUyvSCNe/XfKl4XzHNPgwV/9XweCi xK4lZOfKzpP+07UyeRM9QbkooBHEoBo= X-Received: by 2002:a05:600c:4e45:: with SMTP id e5mr2853857wmq.43.1636554168281; Wed, 10 Nov 2021 06:22:48 -0800 (PST) Received: from localhost.localdomain ([82.129.92.120]) by smtp.gmail.com with ESMTPSA id h27sm6644236wmc.43.2021.11.10.06.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 06:22:47 -0800 (PST) From: Derek Buitenhuis To: ffmpeg-devel@ffmpeg.org Date: Wed, 10 Nov 2021 14:22:35 +0000 Message-Id: <20211110142237.1667677-2-derek.buitenhuis@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211110142237.1667677-1-derek.buitenhuis@gmail.com> References: <20211110142237.1667677-1-derek.buitenhuis@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 1/3] avutil: Add Dolby Vision RPU side data type X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: uMRj1YYeAjAu Signed-off-by: Derek Buitenhuis --- doc/APIchanges | 3 +++ libavutil/frame.c | 1 + libavutil/frame.h | 7 +++++++ libavutil/version.h | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 99e185ee4e..86c7cae4bc 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -14,6 +14,9 @@ libavutil: 2021-04-27 API changes, most recent first: +2021-XX-XX - xxxxxxxxxx - lavf 57.8.100 - frame.h + Add AV_FRAME_DATA_DOVI_RPU_BUFFER. + 2021-10-18 - xxxxxxxxxx - lavf 59.8.100 - avio.h Introduce public bytes_{read,written} statistic fields to AVIOContext. diff --git a/libavutil/frame.c b/libavutil/frame.c index 2617cda2b5..d4d3ad6988 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @@ -728,6 +728,7 @@ const char *av_frame_side_data_name(enum AVFrameSideDataType type) case AV_FRAME_DATA_SEI_UNREGISTERED: return "H.26[45] User Data Unregistered SEI message"; case AV_FRAME_DATA_FILM_GRAIN_PARAMS: return "Film grain parameters"; case AV_FRAME_DATA_DETECTION_BBOXES: return "Bounding boxes for object detection and classification"; + case AV_FRAME_DATA_DOVI_RPU_BUFFER: return "Dolby Vision RPU Data"; } return NULL; } diff --git a/libavutil/frame.h b/libavutil/frame.h index ff2540a20f..14097f0620 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -187,6 +187,13 @@ enum AVFrameSideDataType { * as described by AVDetectionBBoxHeader. */ AV_FRAME_DATA_DETECTION_BBOXES, + + /** + * Dolby Vision RPU data, suitable for passing to x265 + * or other libraries. Array of uint8_t, with NAL emulation + * bytes intact. + */ + AV_FRAME_DATA_DOVI_RPU_BUFFER, }; enum AVActiveFormatDescription { diff --git a/libavutil/version.h b/libavutil/version.h index 896e348d80..eeb33b388c 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -79,7 +79,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 57 -#define LIBAVUTIL_VERSION_MINOR 7 +#define LIBAVUTIL_VERSION_MINOR 8 #define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ From patchwork Wed Nov 10 14:22:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Buitenhuis X-Patchwork-Id: 31362 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:d206:0:0:0:0:0 with SMTP id q6csp504932iob; Wed, 10 Nov 2021 06:23:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMrGoccTHLHL7gOK6XG7JQcRzqiNlpYrRm0xPQXhcEjFnR7pIUl8/oaoXq1HfWJZsRpMxw X-Received: by 2002:a17:906:6b81:: with SMTP id l1mr20872053ejr.479.1636554203961; Wed, 10 Nov 2021 06:23:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636554203; cv=none; d=google.com; s=arc-20160816; b=V1j7kHqz5QH0kzoX56icP6qD90OdQ4kzNoQurk1B3K0MiqzAKY7s9RPzjcvTWLHITj R78V50q6W+jkVQD/3MI09P8gVy96Uz59WA/HCfMApkzFjzUI3yAVBrad4ZmWOiDYTuQK 2ts+Mf6pIqT99cSC1o3gRbd38Aojv2KRMwdn7Z53OhuiFC0j8B4xgOIEmYqlYTXwNO5n tUsyLXcK8aPr5N7XPxZzY1ut4GoON3zBAEgYf1ihC/F65EmMyrEq1vC9MJHoLyqCzXzk QvsoCrNN9Sk3xIpoZGlubwaKUAfbwO0sEme9n9gddhuVwOAdvjhoZHpn3L1dxAfBIFy0 LwMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=mGgwJKHm2sxHPRBu6GW7Flj805G6kF9aGKHst4Q70CM=; b=b11TULZejngxdwCg0AoSgKqloepZP5CzkTSqATvCYKA5GDl8rqh8/AegwZAdjF2W8q dZI3bDbdCvrPDfHoH3+9YkXFU543zmdUJIEOkB5QsHgjTfd6nyfrhwBM6CbrTpOC0qMs 6nEEuWBri6ZccZi4RBZnz3UVFr79rxdyajGozqNxsy+tlOkC2cNMiuhTNOX9c03M5U3N vAss2/qmOfYeyMFVZw05F/1H0HjrctCqBSHe4s8y/gR8WzZMA8IIYiOBQPhSZigNe1pL 6sM9ZwlPYNM5x02HTCmE0owsakDeNkezhbhDeHX5rucuxWSJDJPHIkPiCxzoUL/+sIBJ ae/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=KKetx3EJ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id go40si95406ejc.27.2021.11.10.06.23.20; Wed, 10 Nov 2021 06:23:23 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=KKetx3EJ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CAC5C68A993; Wed, 10 Nov 2021 16:22:56 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BBC1D68A94A for ; Wed, 10 Nov 2021 16:22:49 +0200 (EET) Received: by mail-wr1-f45.google.com with SMTP id u1so4267406wru.13 for ; Wed, 10 Nov 2021 06:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=5KYqghl3+Y70hW/3o3Efm/jzDjpjHnTzvmFEOjdrdI8=; b=KKetx3EJQgRjPAqJrk5gx0XXCJMGv+e2eQaBNzaZsD4mG3OSv3LSWewfZ/OHfxWWmU Npa7v1CKlPvJBg9fjozxu1bdzkA3P/Ii0y4wFp4xd2ohgTa/R/m3dSI2QbuYwtsEaDTn gay6GEUEXp0QLMiKnyzyfdMzbe8qKpMFd/q/Lp3aZ2YsabBoHPVqNISIJNe9wlgq/viR VRn+KGOzkE4cOW2DmBjrUsLeUr+lDmPr8rYhXQ8lzaca1IfjxvvdKwuKkv+C50OSKm+N P34oSOtN9GKDQKJATvQkxYg9Qk4MyZsoAo2hSAGfpo46FpA6zr3V8uddt9bjsRsqFH7L nBrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5KYqghl3+Y70hW/3o3Efm/jzDjpjHnTzvmFEOjdrdI8=; b=3KLbOOB2W+bTh4yOTCEKKvGVp4+ttfF74HiZD1Hn1p1Ndq9sTDTM4RomQVWmvIvrVu ivmt7C84DwG0NFx4hFi0djrX+R7pw0UA0XSdcMDaIWNxeXKeWRoTRX1wbjrtWw3Z/bej SJu61xyY5BrNmADqeYqDiDH+AYbrMvHccd9vbp7WUZILkJMrdDsACuuzF58mtBuQI/pu +SyWnIH+CR6EWTOrc3Fdzvjyb4patU1rMIhXH3r7Q0xaBIATZW/H4QRpUDH+FyTYhwzf tuXrltfIK8Fr/nF0VPCkKRuc3717ENnb9oPxybpdW79gg4V4NFJwS9jo/LgOiXQbXuPh nf7A== X-Gm-Message-State: AOAM531tResDJuCK1Ljl2rHX8nufOWJCWzoI+PqEmsDU/FJKIs1KAbaA sOwtSzOnUvuuPCJ22BwWdKfy3JAEfB8= X-Received: by 2002:adf:f209:: with SMTP id p9mr93172wro.191.1636554168950; Wed, 10 Nov 2021 06:22:48 -0800 (PST) Received: from localhost.localdomain ([82.129.92.120]) by smtp.gmail.com with ESMTPSA id h27sm6644236wmc.43.2021.11.10.06.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 06:22:48 -0800 (PST) From: Derek Buitenhuis To: ffmpeg-devel@ffmpeg.org Date: Wed, 10 Nov 2021 14:22:36 +0000 Message-Id: <20211110142237.1667677-3-derek.buitenhuis@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211110142237.1667677-1-derek.buitenhuis@gmail.com> References: <20211110142237.1667677-1-derek.buitenhuis@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 2/3] avcodec/hevcdec: Export Dolby Vision RPUs as side data X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 9l+Fr2lEuEN9 Signed-off-by: Derek Buitenhuis --- libavcodec/hevcdec.c | 39 +++++++++++++++++++++++++++++++++++++++ libavcodec/hevcdec.h | 2 ++ libavcodec/version.h | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index 246ffd7d80..3e19f4ebed 100644 --- a/libavcodec/hevcdec.c +++ b/libavcodec/hevcdec.c @@ -2950,6 +2950,14 @@ static int set_side_data(HEVCContext *s) } } + if (s->rpu_buf) { + AVFrameSideData *rpu = av_frame_new_side_data_from_buf(out, AV_FRAME_DATA_DOVI_RPU_BUFFER, s->rpu_buf); + if (!rpu) + return AVERROR(ENOMEM); + + s->rpu_buf = NULL; + } + return 0; } @@ -3223,6 +3231,7 @@ static int decode_nal_unit(HEVCContext *s, const H2645NAL *nal) break; case HEVC_NAL_AUD: case HEVC_NAL_FD_NUT: + case HEVC_NAL_UNSPEC62: break; default: av_log(s->avctx, AV_LOG_INFO, @@ -3269,6 +3278,29 @@ static int decode_nal_units(HEVCContext *s, const uint8_t *buf, int length) } } + /* + * Check for RPU delimiter. + * + * Dolby Vision RPUs masquerade as unregistered NALs of type 62. + * + * We have to do this check here an create the rpu buffer, since RPUs are appended + * to the end of an AU; they are the last non-EOB/EOS NAL in the AU. + */ + if (s->pkt.nb_nals > 1 && s->pkt.nals[s->pkt.nb_nals - 1].type == HEVC_NAL_UNSPEC62 && + s->pkt.nals[s->pkt.nb_nals - 1].size > 2 && !s->pkt.nals[s->pkt.nb_nals - 1].nuh_layer_id + && !s->pkt.nals[s->pkt.nb_nals - 1].temporal_id) { + if (s->rpu_buf) { + av_buffer_unref(&s->rpu_buf); + av_log(s->avctx, AV_LOG_WARNING, "Multiple Dolby Vision RPUs found in one AU. Skipping previous.\n"); + } + + s->rpu_buf = av_buffer_alloc(s->pkt.nals[s->pkt.nb_nals - 1].raw_size - 2); + if (!s->rpu_buf) + return AVERROR(ENOMEM); + + memcpy(s->rpu_buf->data, s->pkt.nals[s->pkt.nb_nals - 1].raw_data + 2, s->pkt.nals[s->pkt.nb_nals - 1].raw_size - 2); + } + /* decode the NAL units */ for (i = 0; i < s->pkt.nb_nals; i++) { H2645NAL *nal = &s->pkt.nals[i]; @@ -3512,6 +3544,8 @@ static av_cold int hevc_decode_free(AVCodecContext *avctx) pic_arrays_free(s); + av_buffer_unref(&s->rpu_buf); + av_freep(&s->md5_ctx); av_freep(&s->cabac_state); @@ -3698,6 +3732,10 @@ static int hevc_update_thread_context(AVCodecContext *dst, if (ret < 0) return ret; + ret = av_buffer_replace(&s->rpu_buf, s0->rpu_buf); + if (ret < 0) + return ret; + s->sei.frame_packing = s0->sei.frame_packing; s->sei.display_orientation = s0->sei.display_orientation; s->sei.mastering_display = s0->sei.mastering_display; @@ -3754,6 +3792,7 @@ static void hevc_decode_flush(AVCodecContext *avctx) HEVCContext *s = avctx->priv_data; ff_hevc_flush_dpb(s); ff_hevc_reset_sei(&s->sei); + av_buffer_unref(&s->rpu_buf); s->max_ra = INT_MAX; s->eos = 1; } diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index 77fdf90da1..870ff178d4 100644 --- a/libavcodec/hevcdec.h +++ b/libavcodec/hevcdec.h @@ -572,6 +572,8 @@ typedef struct HEVCContext { int nal_length_size; ///< Number of bytes used for nal length (1, 2 or 4) int nuh_layer_id; + + AVBufferRef *rpu_buf; ///< 0 or 1 Dolby Vision RPUs. } HEVCContext; /** diff --git a/libavcodec/version.h b/libavcodec/version.h index 74b8baa5f3..76af066d32 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -28,7 +28,7 @@ #include "libavutil/version.h" #define LIBAVCODEC_VERSION_MAJOR 59 -#define LIBAVCODEC_VERSION_MINOR 12 +#define LIBAVCODEC_VERSION_MINOR 13 #define LIBAVCODEC_VERSION_MICRO 100 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ From patchwork Wed Nov 10 14:22:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Buitenhuis X-Patchwork-Id: 31364 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:d206:0:0:0:0:0 with SMTP id q6csp505191iob; Wed, 10 Nov 2021 06:23:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVKEeYAFNZvRWKfuVNXDwt7rs5KH9b4EAMTma4WM4izqaW5fQiajrFnggaDjNI2olejzTz X-Received: by 2002:aa7:c158:: with SMTP id r24mr21936303edp.65.1636554218093; Wed, 10 Nov 2021 06:23:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636554218; cv=none; d=google.com; s=arc-20160816; b=tq1ZVwt8qjY2QP3Tne4KQjrb8btOVIwcUi4aeW4lLOD1n1EJGnmEcgHmyAvGTxlt4V IvqEGQVYM1X9iyfYRG/W/JFdV9MZD9/v26SHwDsIgx9rYfUw1mwrBB/tAT7AvlJa2Kg2 vlEwoWLpC+axnfCcKPVUBf5h8uprUAhZGxvni1zAPO33gmk5tLK4tFFvIMAdg1quiL1W 79ZXuPEJ+dbAtlKGWIgDScz8Sd8yEj394DSPI1VXo9igUg7qpLwgTp6HliZqs30p088I icXvRwBgYGSM2+F4HLtOMisU4exnOMvS0CtkeJZAIVO2KCRtGGifDWcEU2uWweOmE5HM GBtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=/JbQ6IS8Z8wraH5QMVBsvTgVJKHmUQq6ivaYkRwejRA=; b=uBiaKAu95eYouT29bvX3VLIWVnPwfSWUsRiGOf64EfzEPuGmW+csLC31DE5NRhjBGu b3IpQ4qHYZm4EZXs864fMx8Ij1FrzPtSHJU8Ty1WFEURFOyy3lRu20VMN8CUJArNTr9+ xMGuZbYw4VTqZO5AcVz3uPiP4uzBGeNzjU47b8yDlZkJulnhTYi4IiJ8wO60+QDP9+PH 5t/OJzPqwrBJiocwwPPCdNVwBckmHVDK1Ib41y6yT8qKm29rE/0XPCh998hF7SXEBCQT vV+WMLMz22FTqGSZPJF19n5/vcle7zJhJ9wlVQz9pBwVAwhEKLD+dhFy9mWhhZNizH37 1crA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=WLFkps8D; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id f25si36747708edv.397.2021.11.10.06.23.34; Wed, 10 Nov 2021 06:23:38 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=WLFkps8D; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9626F68AB43; Wed, 10 Nov 2021 16:22:57 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7470768A906 for ; Wed, 10 Nov 2021 16:22:50 +0200 (EET) Received: by mail-wm1-f49.google.com with SMTP id z200so2348720wmc.1 for ; Wed, 10 Nov 2021 06:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=LTPzySRH3Z+yJYrNMqD8MlqboCFxpkHKnMa1Y8g9JUc=; b=WLFkps8DCskoF7NlOgE59b85uCwKxyl+A/gEFdkUh0WjxkmE0XsIS1eTpLJXEqyFbh G9siBLnQTGspXu3X9CGhxhvzaL/kfO73VV9aJE/lm7dTpdaEP+Qwp01WpENUwRtHWg0u rVeXLwi76SbIBzC6xKjD5LtU+nQx4NeB5YRU8i/tIdwQTRMDTyE+3RHNIJj9B/QMZiU1 oXH5ZcUWB+cdEoWAkIxSoLz1jkjgsglZdDpsHvc4aOi8Hxe0iwtb+oPnGek44frsLQ10 EsQNoVL6GiEh5x3HmHouBXVPaIU8B35+rmg4OMqhcRgNhBefKubA14PA9bjXNXPt9ZdP amVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LTPzySRH3Z+yJYrNMqD8MlqboCFxpkHKnMa1Y8g9JUc=; b=Xt3sSSeNdHKZjlM3LoGjGsH7WjP9UZqNnTCgGEZoUs9Hw2rPDgxW6WtfEVfqI+oU+x 7kyd9l1dL2x8FzXVO9yFJmtsA9Fwzxch+1JRDt1CdzthjAwE/j7jNiEe9zeq59CZjqYS MexnS0QQALmNlwvYlwYlBraEPCcBMUdWEJOYwWAJQLQMx6Z/LwwAnZmxxr3AzFFplbnv Z8sOJcK4tt2Q/Mrg6CsJI4n6VMQusqTjhii7jO2zAE2kri4Iq6u0zhZRMCgRFj4NoARH OUWB8ABZHwZVllmcieeqCia4yz2EgSl+L0L9QCCXtaFXQlZ7OavZNCHYKifcJz5r0DhQ vbhQ== X-Gm-Message-State: AOAM532rmaT23YpXCu3E1bMqQsLp4tiUw+AIFNOOd8tMTEcGjw1el6/M iouVBkNkwtEPU0nijjnoLwRVAUkW498= X-Received: by 2002:a05:600c:202:: with SMTP id 2mr60271wmi.167.1636554169602; Wed, 10 Nov 2021 06:22:49 -0800 (PST) Received: from localhost.localdomain ([82.129.92.120]) by smtp.gmail.com with ESMTPSA id h27sm6644236wmc.43.2021.11.10.06.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 06:22:49 -0800 (PST) From: Derek Buitenhuis To: ffmpeg-devel@ffmpeg.org Date: Wed, 10 Nov 2021 14:22:37 +0000 Message-Id: <20211110142237.1667677-4-derek.buitenhuis@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211110142237.1667677-1-derek.buitenhuis@gmail.com> References: <20211110142237.1667677-1-derek.buitenhuis@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 3/3] fate: Add test for Dolby Vision RPU side data X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: HG/bKxQms7Y6 Signed-off-by: Derek Buitenhuis --- tests/fate/hevc.mak | 3 + tests/ref/fate/hevc-dv-rpu | 512 +++++++++++++++++++++++++++++++++++++ 2 files changed, 515 insertions(+) create mode 100644 tests/ref/fate/hevc-dv-rpu diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak index f6ea1df9a5..2a88eb4690 100644 --- a/tests/fate/hevc.mak +++ b/tests/fate/hevc.mak @@ -273,6 +273,9 @@ FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-monochrome-crop fate-hevc-hdr10-plus-metadata: CMD = probeframes -show_entries frame=side_data_list $(TARGET_SAMPLES)/hevc/hdr10_plus_h265_sample.hevc FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-hdr10-plus-metadata +fate-hevc-dv-rpu: CMD = probeframes -show_entries frame=side_data_list -select_streams 0 $(TARGET_SAMPLES)/hevc/dv84.mov +FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-dv-rpu + fate-hevc-two-first-slice: CMD = threads=2 framemd5 -i $(TARGET_SAMPLES)/hevc/two_first_slice.mp4 -sws_flags bitexact -t 00:02.00 -an FATE_HEVC-$(call DEMDEC, MOV, HEVC) += fate-hevc-two-first-slice diff --git a/tests/ref/fate/hevc-dv-rpu b/tests/ref/fate/hevc-dv-rpu new file mode 100644 index 0000000000..37ad9ffec2 --- /dev/null +++ b/tests/ref/fate/hevc-dv-rpu @@ -0,0 +1,512 @@ +[FRAME] +[SIDE_DATA] +side_data_type=H.26[45] User Data Unregistered SEI message +[/SIDE_DATA] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=H.26[45] User Data Unregistered SEI message +[/SIDE_DATA] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=H.26[45] User Data Unregistered SEI message +[/SIDE_DATA] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=H.26[45] User Data Unregistered SEI message +[/SIDE_DATA] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME] +[FRAME] +[SIDE_DATA] +side_data_type=Dolby Vision RPU Data +[/SIDE_DATA] +[/FRAME]