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 694AA4ADBA for ; Sat, 22 Jun 2024 23:16:05 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 86D9D68D5AF; Sun, 23 Jun 2024 02:15:56 +0300 (EEST) Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9352668D499 for ; Sun, 23 Jun 2024 02:15:48 +0300 (EEST) Received: by mail-ot1-f54.google.com with SMTP id 46e09a7af769-6f8d0a00a35so3022077a34.2 for ; Sat, 22 Jun 2024 16:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719098145; x=1719702945; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=nWbDbgqHBFgdumrxYJ8QeNoY3fuMIPrrpe/T1mCYjqw=; b=e7Iw1u64M0lHSRmbCObpjFBXjWVowIh1jV/zZpMFoz64PHQK5AwLC5lqhYrjTrf80B cqi5vZUp/qhdXAthY0o9CTwIZWMV41v06ulmgY+eI2JgYefpuheyRnDlR3Rd3Vdr4B8S 0aDI+brX36hIPHle4x8Facu0i1bzckw8tqfpbO+AkXgTRv1OGa5d1yBNxcDkr3R60X4Z 0gMeyDRnBKZjuBiY5ILl3iMGTBUpqu/7AcWPzcmgNDnLWgnj2xhknBD72ZUJm6P7rrhX Ky90+6KA6hbzC6GqUQgZ51C+AMX2ALJUCONuiR8I7w8eTgxYat9IkMWIyTGZ45mAqCN1 BZGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719098145; x=1719702945; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nWbDbgqHBFgdumrxYJ8QeNoY3fuMIPrrpe/T1mCYjqw=; b=SKngXouHSyTdtFqOhwyHqwaMf2ei7jIO0PpPEy3h3wEtUN2MPUIxlRqFGMgaz30Jsx QSbM+BG6voNwwCrSQfMmuTV6jQB1Z/nqHLK8pCFi96RRhUbcRGT46Ivy6rW0iKThcWzo S67Xm4sAn9ztRuSIzOvEwnGPpZTLcL3xhmGgzosCfzlv5vlu3aLZ4eukdHhhU+c09gsX tRjT9flsKMvinRq3c3iVaIj210q/OOgPMydMtkgi8tEvm0ImWWb4tsFTAyvMEJJhXbI3 eyHBvoMQUK/AKYxPXf2EQSkNtIQF8h4IKNTUJqzWnR8g1amieNM1rsUpDWPvENAq6ugO SPTA== X-Gm-Message-State: AOJu0YzDmJUAIKKp1IZF/B3L1rsAClx2VUWtbRI0CSPi/GO35iugqbDr n7zt7gnaJ4e6lGkfXAYEsuZRAoXzjHuEDU/fhkeleu3Hr54a+TIHanQKmw== X-Google-Smtp-Source: AGHT+IFUjfMB2+ZP3ogBhLUJeljtQCZiEhKHSNsV5fkI7sDbmAuSweFNrArY31Kn1gpuweNKaersBQ== X-Received: by 2002:a05:6871:54a:b0:25c:cb34:9193 with SMTP id 586e51a60fabf-25cfce4493emr1950989fac.33.1719098145450; Sat, 22 Jun 2024 16:15:45 -0700 (PDT) Received: from localhost.localdomain ([190.194.167.233]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-706512e000asm3717691b3a.179.2024.06.22.16.15.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jun 2024 16:15:44 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sat, 22 Jun 2024 20:15:12 -0300 Message-ID: <20240622231520.7410-2-jamrial@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240622231520.7410-1-jamrial@gmail.com> References: <20240622231520.7410-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 02/10] 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 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 | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/libavutil/stereo3d.c b/libavutil/stereo3d.c index 37cf093099..1f944e9cac 100644 --- a/libavutil/stereo3d.c +++ b/libavutil/stereo3d.c @@ -65,6 +65,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 9a004d88a1..deddecfb36 100644 --- a/libavutil/stereo3d.h +++ b/libavutil/stereo3d.h @@ -136,6 +136,12 @@ enum AVStereo3DType { * @endcode */ AV_STEREO3D_COLUMNS, + + /** + * Video may be monoscopic, or stereoscopic where 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".