From patchwork Wed Feb 2 00:13:02 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: 34063 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a10:6681:0:0:0:0 with SMTP id b1csp1023948pxu; Tue, 1 Feb 2022 16:14:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRV53ArC05leLTgArte8UXoQQKrmkUJ4FiBYhxyMtcC8fdmuAXoIpLSjr3P/bEfdpF32XL X-Received: by 2002:a17:907:da6:: with SMTP id go38mr14852771ejc.124.1643760850766; Tue, 01 Feb 2022 16:14:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643760850; cv=none; d=google.com; s=arc-20160816; b=mZI/8iLrjHgptK3M/Dsi8yYdN9SOpEru9um+z3wbMZ02quts8JrWyQjP1cpN4LqsKV /oXhRQbXVGqJq8dly3QmdQv8iZwm4tU8pcL3zDvdHg8tQVh2fC2BnnAr1x9NTq6ShqXB CRSK2UjolDFPotQFEji/cEq0qtNqVEVt29Omx54rW9xVaTee2Q7fR8atWgyfJ0Gvdnr4 74iD4FfLOK1c8UEMe1nqV58a5vPwM2r0h8PTG2R/CxJqnWC+93q2VeAl9+n2AHBFfVjh VYZozZtP2irWdQiIuW2ByMOEmyvvekiVWLGi2H0Za1PRmxiykQ032xY7ISNrpZCjNKYO jEpQ== 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=p3MIysB74MKMUXSqfHeNDjPlHMDjZ6gxTkSvqkyogHASLJyD3XjqXKf0g76/Y7YdsB 2V6GL047awOCq1KXpAyNR4zOlh1/MFSKYLB/j2+gldQ6iWVNiS6SosWSN/eH2aJmal3r t6qKIOw2t1fgBXYIWbmftUPXeG4yGIt1emGjXtcBHzhSjvILavFk3hnOuLRhfRT5oU5S uxXuR1a/kwPSN9b+eNmP7yNKYsyfxiBS3qF74+3l77qctzXWvs0Tb/5uxUV5ILaYBIri +uFepmUwJ6gjzFUswjiQk0boylPFh9UjomGaSwPQOU/4Kcd1gOTVZ+zBNsMfZoManRu+ OJYw== 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 gt38si10660738ejc.446.2022.02.01.16.14.10; Tue, 01 Feb 2022 16:14:10 -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 C5EC168B2B7; Wed, 2 Feb 2022 02:13:41 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 331D868B2A9 for ; Wed, 2 Feb 2022 02:13:35 +0200 (EET) Received: by mail-pf1-f173.google.com with SMTP id a8so17310144pfa.6 for ; Tue, 01 Feb 2022 16:13:35 -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=wWyoNE7Tl5zm2Y1Si57keOYiRGVWwdHnvj/cp7fZ6NG2Qf072L6AcFKqpiRSQz4Pqz XIYWsGL0vsjStRnLqXkpUBvIB9brA6Eg7IADj0zHZnHqcqJ4cq8qz9isk1DW/7fOmA+Z JEdxpPBVy7Rjl971LBGw1hVLNMBBfnei09k5kUlTL8/vVJLsF4wUrmoy/8pUgNyauRVv HqHsaoO1M4VSN74pCCb647CDGc4pSED7xnO7aZ6YYkhSUfpWB7WUQRKAbxzglCyS93SY FRilfxSc16oMPuyLlXXwa1R78eAYE9pHSHg23WsFnXdQV/imDtwzqAATH/dmEqzC2J2o wBbg== X-Gm-Message-State: AOAM530/W0yalbWk5JWwDMkbKeqeoDSPocZipsFV71hUvsjVpDU6gtFQ 00rfiihvzCkVLcS7+3u2YqjslUHzhdY= X-Received: by 2002:a63:216:: with SMTP id 22mr22859399pgc.89.1643760813301; Tue, 01 Feb 2022 16:13:33 -0800 (PST) Received: from localhost (76-14-89-2.sf-cable.astound.net. [76.14.89.2]) by smtp.gmail.com with ESMTPSA id x187sm21740989pgx.10.2022.02.01.16.13.31 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Feb 2022 16:13:32 -0800 (PST) Received: by localhost (sSMTP sendmail emulation); Tue, 01 Feb 2022 16:13:20 -0800 From: pal@sandflow.com To: ffmpeg-devel@ffmpeg.org Date: Tue, 1 Feb 2022 16:13:02 -0800 Message-Id: <20220202001302.4430-4-pal@sandflow.com> X-Mailer: git-send-email 2.35.0.windows.1 In-Reply-To: <20220202001302.4430-1-pal@sandflow.com> References: <20220202001302.4430-1-pal@sandflow.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 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: Z/NJ28woMwBo 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 {