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 9B4484B04B for ; Wed, 26 Jun 2024 23:31:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7DE1B68D6D4; Thu, 27 Jun 2024 02:30:59 +0300 (EEST) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DCB2568C178 for ; Thu, 27 Jun 2024 02:30:53 +0300 (EEST) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1f6a837e9a3so45272815ad.1 for ; Wed, 26 Jun 2024 16:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719444652; x=1720049452; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=/Jm7VubdZZc15hksEKnB7dY3XDRiJL0lewoXGx4jpXE=; b=UaHFT3Ilairi96bDJPT4YaVp2/UT3ynGWzzRPU9oWnjy2H7JmaFD5lnPLYgbdIKYUc 79IDoUHB9rpsr1bKBHsXyU7UU0TdVlLjNrjhjQWi1rmUuMzAO7TmDpUdhGhkxWQyn7uK oCEnYW372HUd+zpvTPghWhL9g5vnGJwYoREre9sEcBJEB3+0q2sjUcDK5hdIc2AhphBA sMn59wN+kIzZbZRe8CHxBSh4w1tpDm5Mnax/TQyXuGmbVfmW/qfNUROWgiOhA92KAMwc syjmuhiYwBC4x22761Xcc1LEuZgyXaTe/8p15bUjgaTKFhGsxDeJce2O3LPjd+bOAqR4 7qIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719444652; x=1720049452; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/Jm7VubdZZc15hksEKnB7dY3XDRiJL0lewoXGx4jpXE=; b=Xd2hfxir51aPOZQbPYkgk2P+duyr1RLIFboqPnjAO6K54rbiFN5PZyWOJBCnEsfVsX ULYAcVt7nJeN4TPeNTsE9eJdslGYp+n6Wpl+bCv8RDUZWk+DDiTjcgz8/lKx9HdFdqsz ydMDpY8ApffvLdHNd7MYO32+Fb28qJWJxPhw5iUClzww0OC9cCn00ferwHKw8o0dWplc iA3JxxnoA04liLDp7KlmVvmxvHWpId4+1KfDiZzZRmqcJUrBxcGFi5IDmt1a2R9TPkzp HwfR/HY+OrgCrPThvFf6NeN2Ty2FiE0QlcF3n3j0ex0JOyXwUMORqJ6RniTqvISfrRut ehKw== X-Gm-Message-State: AOJu0YyxCkegJwEwN6avtky37ZTHviW1OaKTsBPD1nF5aRC7pYPlCfm5 7Mz264l08t9LHTZq6SsHkx/qbivpKcc18vo3j3MSt8VGv0PQawVsfYhQww== X-Google-Smtp-Source: AGHT+IFNpfnYGIgGLuQM2qFynYrgRYS0hXSfwWV03g3xXFY5ztSyvM8LDdV3D6Sge+l1fls9el42Ww== X-Received: by 2002:a17:903:18d:b0:1fa:1f31:e78a with SMTP id d9443c01a7336-1fa23f07182mr133010295ad.6.1719444651441; Wed, 26 Jun 2024 16:30:51 -0700 (PDT) Received: from localhost.localdomain ([190.194.167.233]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1faac9975d0sm454525ad.187.2024.06.26.16.30.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 16:30:51 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 26 Jun 2024 20:30:57 -0300 Message-ID: <20240626233059.10846-1-jamrial@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/3 v5] avutil/stereo3d: add a Stereo3D type to signal that the packing is unspecified 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 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: Given that a video stream/frame may have only one view or both views coded with the packing information being unavailable, this commit adds a new type value AV_STEREO3D_UNSPEC for this purpose. The most common case for this is container level signaling of Stereo3D video where the specifics are defined at the bitstream level. Signed-off-by: James Almer --- libavutil/stereo3d.c | 1 + libavutil/stereo3d.h | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/libavutil/stereo3d.c b/libavutil/stereo3d.c index 7ea3dceb33..647f9a952a 100644 --- a/libavutil/stereo3d.c +++ b/libavutil/stereo3d.c @@ -74,6 +74,7 @@ static const char * const stereo3d_type_names[] = { [AV_STEREO3D_SIDEBYSIDE_QUINCUNX] = "side by side (quincunx subsampling)", [AV_STEREO3D_LINES] = "interleaved lines", [AV_STEREO3D_COLUMNS] = "interleaved columns", + [AV_STEREO3D_UNSPEC] = "unspecified", }; static const char * const stereo3d_view_names[] = { diff --git a/libavutil/stereo3d.h b/libavutil/stereo3d.h index 386455a5a4..e3da3257d7 100644 --- a/libavutil/stereo3d.h +++ b/libavutil/stereo3d.h @@ -136,6 +136,11 @@ enum AVStereo3DType { * @endcode */ AV_STEREO3D_COLUMNS, + + /** + * Video is stereoscopic but the packing is unspecified. + */ + AV_STEREO3D_UNSPEC, }; /** -- 2.45.2 _______________________________________________ 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".