From patchwork Wed Feb 16 16:54:10 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: 34345 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6838:90eb:0:0:0:0 with SMTP id a11csp1392028nkf; Wed, 16 Feb 2022 08:54:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNOcpMnP3UL+HboHxvFjjW9CpxMwc7uJB5ZjrFekHx9OlZ74mPxTEQLeiYZCm+rhWlF3kf X-Received: by 2002:a17:907:2be6:b0:6ce:70da:12c2 with SMTP id gv38-20020a1709072be600b006ce70da12c2mr3023280ejc.649.1645030492338; Wed, 16 Feb 2022 08:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645030492; cv=none; d=google.com; s=arc-20160816; b=SIIhX7tCuEQCpBAFYMzgp+xOEC/fvbItXPrbARu2eM+HKQBqqftQs1Rbs7R23uu3Z1 FqiG/AjjOn8lQ25A9IVGd4L5XsggNz7ac6zKOulyuLQWH+NWkhNUoJCW6cncKJGPz1+h U+tokXM6k3GppZ0z/PQuj4tF9pTY59xz4JRvxfMmJ5w9Q/F3cUBC+04oD58yIEFDwYyJ VN62/Cr0zr1VO6MMyXRtUyRPOle0Ny2iu/JVW7Ltn8Yqqs4DZJaFkhrZuNU5pSFOvkCA Hp41bPsqMDTcCgBbMOjjTajAYteLlZHQf7fb+Q0IExNBb/wnGgT/gkBzkyBVYhlMEmN6 XL7Q== 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=ictgUI9igtvLJFRSZxdoLJsfGmlahxWVhbScv+vOFBI=; b=AKUQOnH/NE4WJ38CuHXqlMEcba/op8bHdmyGGAgt9Ab9iPdRJeRMy6LhN7q2rAE+aZ zL7fOmw9zTAUvNAtAIjjhVjb9YfElx43DAHOXcdwaWhHLn2TiVx4QHq2mY3u/GIgg72M C/IXuDwh3A0ntXgdKabsHXeyKCgqO5QzPRrSodMpGr41Se0E6nMCxJVgIna0myZaJyYF DNKIyBKi8tkQP4rvcaIpIZmzEZy92XTB27+As/U/Yq2NXsCZoUfnlhC3Xk9KdUChU53/ 3EzKCsjNEuLwm/kOibc/NRiTej8OhtROYHayniHgEPDPbq3kkWjITXCJ045a14iabhVI UvJA== 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 l21si2173443edw.530.2022.02.16.08.54.52; Wed, 16 Feb 2022 08:54:52 -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 E037A68B29B; Wed, 16 Feb 2022 18:54:37 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 11A5C68B2CD for ; Wed, 16 Feb 2022 18:54:31 +0200 (EET) Received: by mail-pf1-f171.google.com with SMTP id f6so2580899pfj.11 for ; Wed, 16 Feb 2022 08:54:30 -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=eRG3dOdfqz3168AbPZdnR2jm63ki2wHkRdP6bDAegYM=; b=YMtt7HzHAcX20LHtr/vFSL4mA4jWwnTdQp7NLe44qNlwWpUozL631gs+EFl258dqKN PXnRaY8SP/BUm3Ig5wyiEUrCc8D+qC/5RSqg61Ix9VzTVzCK7dA2oHxARszJwnsoINji KY4pFGbO3oMDGDtMOi9WoRDJy5/1mQ17P5vPQB2qDip77LTARHnleBMo8as6mGJ1Vg9k Xc/URY43EF1MrcVaOzQwL2Il19bFPi+NAyZXKu2hjN713qDuvK7xAk3iKK2usw3Ru+l+ zpWDREvRNgnXqORA/1SncqlxhhGRp+qBb2A2l7gF4eRvMIwZRGXOS+KyOjW/YMSwl4GR HM/g== X-Gm-Message-State: AOAM532GroFWKT1rrKr6xF9dnrEyCYiVD09idYZFvr61AUfetgWMim0D SGTcS1Nt8ro8DPxLizUa2vL2IShY4wo= X-Received: by 2002:a05:6a00:2356:b0:4e1:14f2:9fe9 with SMTP id j22-20020a056a00235600b004e114f29fe9mr4153877pfj.38.1645030469032; Wed, 16 Feb 2022 08:54:29 -0800 (PST) Received: from localhost (76-14-89-2.sf-cable.astound.net. [76.14.89.2]) by smtp.gmail.com with ESMTPSA id t22sm4681140pfg.92.2022.02.16.08.54.27 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Feb 2022 08:54:28 -0800 (PST) Received: by localhost (sSMTP sendmail emulation); Wed, 16 Feb 2022 08:54:19 -0800 From: pal@sandflow.com To: ffmpeg-devel@ffmpeg.org Date: Wed, 16 Feb 2022 08:54:10 -0800 Message-Id: <20220216165410.17063-3-pal@sandflow.com> X-Mailer: git-send-email 2.35.1.windows.2 In-Reply-To: <20220216165410.17063-1-pal@sandflow.com> References: <20220216165410.17063-1-pal@sandflow.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v4 3/3] 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: ol+omsNMUnJJ 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 17a21f5ef9..143f1086b6 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 {