From patchwork Sun Jan 30 22:00:55 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: 33951 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2c4e:0:0:0:0 with SMTP id x14csp2245223iov; Sun, 30 Jan 2022 14:01:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzC2fCInEFYJWJYhNjyQqpa3jQ60rdvQfZoBAZZRy8eTbqKQ2eHyYAQWH2mhHRz2QPkoYNA X-Received: by 2002:a17:907:3f88:: with SMTP id hr8mr14699035ejc.600.1643580115615; Sun, 30 Jan 2022 14:01:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643580115; cv=none; d=google.com; s=arc-20160816; b=Tov3RwydnrjITggWSIbVcCRQjwZZVCy6jOZEWikxxYhtDMjzWQS/Kke5RCEzxIRWO5 JMPZ2T+a+27KSwOufrnZf9D3R1EgQiPUKqjJM3CxXZdT87+YCaEncLmf1PXqx1TJCu4i w3w8NNWpUAB5q4+QjbxfJ8TaSfxhh4/uAideJ9Qtrw81qOLKGv3/X6I8d+ujt3nckp1U 5CxSxdindWeBd2VJ9xZrBDyi5N/OoG0WYU2IRN3KGEWNhygo/44+QwoIdtWcu73PsVFm h9Nea7Fh87IlF4wrVkZeuWNjmW+3HtBvubPBZn+YgWWuBuZ8K8E8wYJnic0oyCDl64gE VeJg== 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=JS1ZIH8bgtXUTiKMr2CQZDz3D0Gmf6+MlAWdYoBq1ho=; b=aoS9VW/t4oCy54fnNSVeOU5M1K/eTAPZKK9tuMHs1SIf2Xf99hnrpL+wRi9lWm60BN t4Ced4dqpB8UaNzLjKY9v1ZZbCO/FJVhy/pwIiBoTrOJlOGl3/wRb89lUE5xWa4rEMmc 1+wn3rAFAD3FW+OGMwBYJfBDT5Z1ygFWqrwi30swRtFNlRkfGjYz1NzJ9/94jHy9zw8o 9OB3M8f7kV874OpROEgPWS6/JLRKptMzMwXzMGEczKvCKtnlAOfA6t/3Ii3+OqoiB/t+ K2EXJ60pSM5osaZGxRjggoY0UIl1iKXjyeI2hYKRdBzCBr6KuEHA5bbsnET2QhhLq3c1 M1bA== 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 e18si8874225edz.40.2022.01.30.14.01.55; Sun, 30 Jan 2022 14:01:55 -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 7D19268B18E; Mon, 31 Jan 2022 00:01:26 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6128668B188 for ; Mon, 31 Jan 2022 00:01:20 +0200 (EET) Received: by mail-pj1-f45.google.com with SMTP id r59so12084633pjg.4 for ; Sun, 30 Jan 2022 14:01:20 -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=sztak6NJXGKo0Xu49SHjdPzvGWYxujQ9LVDQc1ncgNk=; b=D35UjsPxkSqmKn8k7MGq0cpbcRLozUL6iBKJ0AKfiexSLmn69gk33ysgbFpiUnxQf/ dTSsCVBixGwMsh8y0O1nxuIu8P0iIP8WyWL44jnUsXUibv94eeiwkRQTdRICAUJP5UBP azHGwu86dUATi0SaTUtLYMsID8Y15UCVczlNvL3lfbuGELwy8BYEs2j0sr0mTbbhlJVP Z07NFm1WCbIBEhwtgc/d2yMs8qDJRDFDabY5d9TZGJFjfkUOGvjKa1uPnzeIbShC0SPI hMSS+hxSQdZTYwSXecljcuN1Eos/NW8Yw4CVU2ohK3rT4JswuE9pTV6xDTB9MSOJrS9y nfqQ== X-Gm-Message-State: AOAM53268ZAve25yJU8tpBKJufpkZVb2xdnIzYsY8TK0SvCSduIm3f+i hhrf0OyLl38xlX/A/VOTWNVxHnoKMY4= X-Received: by 2002:a17:90b:17c1:: with SMTP id me1mr29062197pjb.182.1643580078483; Sun, 30 Jan 2022 14:01:18 -0800 (PST) Received: from localhost (76-14-89-2.sf-cable.astound.net. [76.14.89.2]) by smtp.gmail.com with ESMTPSA id nv13sm8997123pjb.18.2022.01.30.14.01.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Jan 2022 14:01:18 -0800 (PST) Received: by localhost (sSMTP sendmail emulation); Sun, 30 Jan 2022 14:01:07 -0800 From: pal@sandflow.com To: ffmpeg-devel@ffmpeg.org Date: Sun, 30 Jan 2022 14:00:55 -0800 Message-Id: <20220130220055.2595-4-pal@sandflow.com> X-Mailer: git-send-email 2.35.0.windows.1 In-Reply-To: <20220130220055.2595-1-pal@sandflow.com> References: <20220130220055.2595-1-pal@sandflow.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v1 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: uEpNiJmBm0zI 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 05dcb6ff31..9f9087f936 100644 --- a/libavformat/imfdec.c +++ b/libavformat/imfdec.c @@ -95,12 +95,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 {