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 14C8840F4A for ; Sat, 7 Oct 2023 16:25:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1013268CAD8; Sat, 7 Oct 2023 19:25:09 +0300 (EEST) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 86AF568C9E2 for ; Sat, 7 Oct 2023 19:25:01 +0300 (EEST) Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6c646b5028dso2053552a34.3 for ; Sat, 07 Oct 2023 09:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696695899; x=1697300699; 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=2NwHGvxBNeuRpIB1WEWyU1v4uSsqSN077JRdH6ojD0k=; b=V3Sk2w6iGaSNe9fmtzeZUIaYltrJuhPp6xhr0uzOLHzXNWWJkCcn30+ZHlRL/DSyzJ gQ+u1s01WbN7LSdjCuN2esqqT1q52yEan4t2rpRfkSn1uf2Gl1CzBPPyzj9QiptpTkcE QV5Qr99Dkx2dtRzUHktbF/gG/QbIpe329Of1GA6sbS1kMiiaaNWyfyMFrODDKDyn4Cv2 LS7J3YhrebEJX01NiCTOAmp1tOa4jlB/B1AaZngT7dUN2ZVn/kDOfbqGsF2CqwyN41AR q91BzpyilB71pZWNKYo2jnT6NkvswqoIqz0h9ezs4b3c0oiIR+5EjwOaaILCs27FgcCY Z4wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696695899; x=1697300699; 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=2NwHGvxBNeuRpIB1WEWyU1v4uSsqSN077JRdH6ojD0k=; b=h1vjZP6nq94/s+yAZ4/ObnZj2XkpugQU5VxrB0G7MsprBgDAOn4Futljb7xlf3Wozp W6Ys29fsYaaqkc3ormhHhbCeNXAsrWZ0/7RuO1Y12ZvlBFBobJW5+JbT3YjsStgCSfAK mM+3LcUfsQtp6BPYy6kXK/4CaitcOjGc22QQCgMvW3N59eNynDRVa5HPgGIY9tArWez4 Ukm9+WK8BVJGTn34ZStMqpp42kZ7BhR41yvqjeRZM1pNxzWCAJgEqVWmsBGKEo3omvv0 YHDptNspnZfPqr0MtARj4+Pl1f/dnEOW/JwVoELSMyNse52CEbvnIIXzzPiUW49QkHG0 GmwA== X-Gm-Message-State: AOJu0YwHnVhOmubz3wrtAYJWOAJTjvlRkXOYRMaTSA0R8TasVinlDX2P /wu2vbZiCIEDhuXG/YFuH6Bi50Q3s4s= X-Google-Smtp-Source: AGHT+IHAGzstkOMfXR2Qo2xk5kUriieG2rpAoM3uycyNyreJqJ89y9TWjTHWPQox3tPI7IALFoff5A== X-Received: by 2002:a05:6358:440a:b0:135:3f5c:9675 with SMTP id z10-20020a056358440a00b001353f5c9675mr11921439rwc.19.1696695899556; Sat, 07 Oct 2023 09:24:59 -0700 (PDT) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id 30-20020a17090a191e00b002792b7182dcsm7883180pjg.49.2023.10.07.09.24.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 09:24:59 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sat, 7 Oct 2023 13:24:57 -0300 Message-ID: <20231007162503.1057-2-jamrial@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231007162503.1057-1-jamrial@gmail.com> References: <20231007162503.1057-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/7] avcodec/packet: add a decoded frame cropping side data type 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: Signed-off-by: James Almer --- libavcodec/packet.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libavcodec/packet.h b/libavcodec/packet.h index b19409b719..6053d43c44 100644 --- a/libavcodec/packet.h +++ b/libavcodec/packet.h @@ -299,6 +299,20 @@ enum AVPacketSideDataType { */ AV_PKT_DATA_DYNAMIC_HDR10_PLUS, + /** + * The number of pixels to discard from the + * top/bottom/left/right border of the decoded frame to obtain the sub-rectangle + * intended for presentation. + * + * @code + * u32le crop_top + * u32le crop_bottom + * u32le crop_left + * u32le crop_right + * @endcode + */ + AV_PKT_DATA_FRAME_CROPPING, + /** * The number of side data types. * This is not part of the public API/ABI in the sense that it may -- 2.42.0 _______________________________________________ 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".