From patchwork Thu Feb 3 04:07:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Anthony Lemieux X-Patchwork-Id: 34091 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2c4e:0:0:0:0 with SMTP id x14csp2133602iov; Wed, 2 Feb 2022 20:09:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWDMfZ9+vT3vadDjeUnCATDouE4si3QdeY/fBGV+2kwMPOSQbKzqy0r0g3uMmCu2rZGXHo X-Received: by 2002:a17:907:6096:: with SMTP id ht22mr27069501ejc.611.1643861345260; Wed, 02 Feb 2022 20:09:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643861345; cv=none; d=google.com; s=arc-20160816; b=ZJsQKjcVPPPtK1rOcrvQ/pqEvSTeeSMjr33A+PsvlVjSXRgJ6f9SFuSGzViEgW7F8M 0qPvebwURQeZ9YYOBbcd6aB7ls17bS/T7v+OKGmIs+KE6Vo+Gp7uDeEbXM7laydMWahr 3ZlUKyHko7hJwjxkdu2owEA/262t/Bj0qvIKILu0tt9jh+TZDkJ6rAEJKErHWhYojrg0 /oqy/a82Zmak9bWr0QJHSlE2r6rtB19RcWz1KgZJ5Yyvub8t6efTsySb7gb1t84iyK7w 5tQJGaAwiqAmyfLZEH1ybFdF8AnPjZ6IOtGeM37FOw8Si3XD5T9p88+lJbtmXvrg6xRo tvuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc: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:delivered-to; bh=8vovRa4jVGwObmEbneYDxjoDUDS4dQWBpXQIsTC0MnA=; b=TW90DHqosy37fLfLn5BsiTZf+Py1U5dugoTdu06XusMvNrZ54S3mi5DbwLZhAz93JM Fgs+GpCAd4TQYitp8dzgJPQDQrZebVLUWkzwNhJJItxIOawsUubFR2C4bfwIpr3Boh6i 0B0jf+QlzXyuu7MhIgBUdsT4QjpZfRDdPDyeKhGjeN/qfEN9AMTh9Z+y+cKJrqb11AqK MIICv0rMy6Acm4IsGu/Fjtl72+tZrreV5wx5xFH76P5syLbEBaedNorLakSf89/Fcu7d ew33xogI31XhpdpzsozmDij6sc17NbtqPNMXIxACwLDe15y6nPJO/14s3bz5t09PLEvv iBUQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id v7si12150695ejv.190.2022.02.02.20.09.04; Wed, 02 Feb 2022 20:09:05 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D99F968B1C5; Thu, 3 Feb 2022 06:08:46 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 95BE368B1B7 for ; Thu, 3 Feb 2022 06:08:40 +0200 (EET) Received: by mail-pj1-f48.google.com with SMTP id q63so1288092pja.1 for ; Wed, 02 Feb 2022 20:08:40 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Z2tWRCuRwFFjrnhDHQjJyUbrPHNKSW3xnAmcUmhvJBs=; b=GMT9o8CMfDb1Hqc1w+pMKCb7OGXpF4kNXsQD7Q4vp8T44RKBDK+TUIZ4RbneUOOyT+ 9d/CZ0mKuXe10ANm+YAL36k0uea79QZLoLEKyTNfv4q6PnWf1sZR2yq8HXr56u5EzcPE E41DzDsJt2Y9hcFZz/SuxjtSh1v8sUoqCBZBzq2e+TR2px4hfNABJHyE0SlpQMhtNu4s m/seKdNBFVzRz2Ugt0BgnhhuezDj3bk6qSaGLJc4aOC5F3TEGnSZecKAGWwkUm8DDDAj gNoRNgloib1F9zEbMVk5/gYF9iCdQEBxGpcgwOrxpyFWPWmPrzUqGJaX9LfaIOXOjNCx ufZg== X-Gm-Message-State: AOAM531sAwNfkTrSuC4MTDWJM9TzaO9nUtgCrJAA/v20xVhi8/OnU9A4 lYfq2ut8/zFhhQImVeWXOoFrC3/at3g= X-Received: by 2002:a17:90b:3a8b:: with SMTP id om11mr11673573pjb.163.1643861318619; Wed, 02 Feb 2022 20:08:38 -0800 (PST) Received: from localhost (76-14-89-2.sf-cable.astound.net. [76.14.89.2]) by smtp.gmail.com with ESMTPSA id s2sm35637765pgf.56.2022.02.02.20.08.36 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Feb 2022 20:08:38 -0800 (PST) Received: by localhost (sSMTP sendmail emulation); Wed, 02 Feb 2022 20:08:24 -0800 From: pal@sandflow.com To: ffmpeg-devel@ffmpeg.org Date: Wed, 2 Feb 2022 20:07:45 -0800 Message-Id: <20220203040745.10983-4-pal@sandflow.com> X-Mailer: git-send-email 2.35.0.windows.1 In-Reply-To: <20220203040745.10983-1-pal@sandflow.com> References: <20220203040745.10983-1-pal@sandflow.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 4/4] avformat/imf: document IMFVirtualTrackResourcePlaybackCtx 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: Pierre-Anthony Lemieux Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: cPKiHzrhdsdS From: Pierre-Anthony Lemieux --- libavformat/imfdec.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c index 5be4411cb1..02e7bcc33f 100644 --- a/libavformat/imfdec.c +++ b/libavformat/imfdec.c @@ -96,12 +96,12 @@ typedef struct IMFAssetLocatorMap { } IMFAssetLocatorMap; typedef struct IMFVirtualTrackResourcePlaybackCtx { - IMFAssetLocator *locator; - FFIMFTrackFileResource *resource; - AVFormatContext *ctx; - AVRational start_time; - AVRational end_time; - AVRational ts_offset; + IMFAssetLocator *locator; /**< Location of the resource */ + FFIMFTrackFileResource *resource; /**< Underlying IMF CPL resource */ + AVFormatContext *ctx; /**< Context associated with the resource */ + AVRational start_time; /**< inclusive start time of the resource on the CPL timeline (s) */ + AVRational end_time; /**< exclusive end time of the resource on the CPL timeline (s) */ + AVRational ts_offset; /**< start_time minus the entry point into the resource (s) */ } IMFVirtualTrackResourcePlaybackCtx; typedef struct IMFVirtualTrackPlaybackCtx {