From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 809C140ECC for ; Sat, 1 Jan 2022 04:16:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4D55168B0B4; Sat, 1 Jan 2022 06:16:31 +0200 (EET) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BAFBA68B050 for ; Sat, 1 Jan 2022 06:16:24 +0200 (EET) Received: by mail-ed1-f44.google.com with SMTP id z9so44645443edm.10 for ; Fri, 31 Dec 2021 20:16:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vz+2qAdSakqcQFExFM6da5GHFl64Ig/makn/N2RY1uE=; b=Lj4+HJIwyQRCJjXAYktn191KKNL50kaG9OTs/+3D6lVcVMsT1I9TrxX6yjyKT4NEZv VgfHXv4eLwe2+647J/9RoCP1O4QOVU9tK2NOZS+H5fSqIptRXH05Tg1UgFP8wIojlQ0W JzkbAcWlTpHomcKe3AIlk5aXuBlGZv1u19XpXdxahBB6E0otFlMiQxg5kIuQGFREKrXQ y6gp0IPfgbg3dm9sD1TAqA/nRgZlSrHFmS2uZR2ULIs5K1CqatxoHjfA8Ui1wl2cFON2 8j6qtXDRrIAVYaNE1YC/PyyeCTOZ31V5aOM0pHnxjYEb8MJLKeSVNHxi84BNx3Qk0IrE CRbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vz+2qAdSakqcQFExFM6da5GHFl64Ig/makn/N2RY1uE=; b=TWJnP5K1M0y+QmVCOFHfQ2J9KWrZXb5RXLWRFrLLKvCP46TG47uRMhYcKcHyu5kWUf mG3Ba2A8lHf+Ec+zaP1/gOOvcR8+7CXMavP0eR9OXRvSqEpOuUHbND6FSwv9tgdh+S+h Q68U9kX08Y2/FJaIoXSWYXD8uf1aGUX5lLQKuMaef7XoRb1/NUtkSwgI40YBstlcHhGI 1A8+maCLj0RMaX/mPaqfvgO4ad2pWmqxHGgH0+FXjbbfq3OyusKLD8xDKTtyJlT+Wms9 maDaVkKrnIHkNfOlNQmUHqM5c6/CqaFRP3vjOTorGUcpfyn86pyyeXpdmpzO+6bonMLk QWfQ== X-Gm-Message-State: AOAM531wckqTYB2Q9Jn5vbN35v1D0iYiRhBvF+4wEyicQ4DsTnezpekF yhh5UwEjRzTmL2FtEKlZe13hJ0txJ0w= X-Google-Smtp-Source: ABdhPJyVs5w6bwP4+HM17ncz2ao3+KTbvYHhQIilLexu7fmi2ixXlnKo7VGdURQ/dFf1KD+tsb8Yng== X-Received: by 2002:a17:907:d93:: with SMTP id go19mr31522766ejc.537.1641010583932; Fri, 31 Dec 2021 20:16:23 -0800 (PST) Received: from nark.. ([2a01:4f8:162:73cc::2]) by smtp.gmail.com with ESMTPSA id z18sm11272075edc.76.2021.12.31.20.16.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Dec 2021 20:16:23 -0800 (PST) From: quietvoid X-Google-Original-From: quietvoid To: ffmpeg-devel@ffmpeg.org Date: Sat, 1 Jan 2022 05:16:16 +0100 Message-Id: <20220101041621.427012-1-tcChlisop0@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v11 0/5] Add support for Matroska BlockAdditionMapping elements 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 Cc: quietvoid Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: This patch set adds support for reading/writing the Matroska BlockAdditionMapping elements, as well as for reading/writing dvcC/dvvC blocks in Matroska. Created utility functions to read/write Dolby Vision boxes for ISOM. This was done to avoid duplicating the code, as the Matroska blocks and MOV boxes follow the same specification, defined by Dolby. Refactored the reading/writing in mov/movenc to use the new dovi_isom functions. v10: https://ffmpeg.org/pipermail/ffmpeg-devel/2021-December/289645.html Changes since v10: - dovi_isom: Limited written values to fit into the amount of bits. - matroskaenc: Corrected mkv_write_dovi to only allow profiles that are valid for dvcC/dvvC configurations. - mov: Improved code to be more concise. quietvoid (5): avformat/dovi_isom: Implement Dolby Vision configuration parsing/writing avformat/matroska{dec, enc}: Parse BlockAdditionMapping elements avformat/mov: Refactor mov_read_dvcc_dvvc to use ff_isom_parse_dvcc_dvvc avformat/movenc: Refactor mov_write_dvcc_dvvc_tag to use ff_isom_put_dvcc_dvvc fate/matroska: Add tests for reading/writing BlockAdditionMapping elements libavformat/Makefile | 4 +- libavformat/dovi_isom.c | 118 ++++++++++ libavformat/dovi_isom.h | 35 +++ libavformat/matroska.h | 9 + libavformat/matroskadec.c | 58 ++++- libavformat/matroskaenc.c | 37 +++ libavformat/mov.c | 50 +---- libavformat/movenc.c | 24 +- tests/fate/matroska.mak | 9 + tests/ref/fate/matroska-dovi-config-profile5 | 13 ++ tests/ref/fate/matroska-dovi-write-config | 223 +++++++++++++++++++ 11 files changed, 516 insertions(+), 64 deletions(-) create mode 100644 libavformat/dovi_isom.c create mode 100644 libavformat/dovi_isom.h create mode 100644 tests/ref/fate/matroska-dovi-config-profile5 create mode 100644 tests/ref/fate/matroska-dovi-write-config -- 2.34.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".