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 06A4D464CC for ; Wed, 19 Jul 2023 22:21:05 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 076E568C5C5; Thu, 20 Jul 2023 01:21:02 +0300 (EEST) Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E7C2E688301 for ; Thu, 20 Jul 2023 01:20:55 +0300 (EEST) Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-1b06a46e1a9so115962fac.2 for ; Wed, 19 Jul 2023 15:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689805253; x=1690410053; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=WjKKdWrRki3uuFpoaW22h6K7/NipphKr+njxhqqjX3A=; b=B9c7LaB1+SuKmivPf5hBygBZ5PBffuAwlDeB2A0hDUOXfKza+WcA8dXzeWVuSkYCXD O/oWcf1f+QCuerwW2KDZN8J9K7uaomDiBVnbEj6DBsAjwUf27Lb3qVWJ7W6U+bM9wQX+ aYG0vvqLbLpvEv/BKO7i9GxwGirvpp+mADhfJWR5i3aiZw6CpjoWoumr0luwo1Kfcy6Q A5IwUKsA49KCV81DRiwyNwyY2b5ZFLBPGNt75zcsrf1qAIwdKvfDheVJ6a5ufZGVjmGT qhSkqI7xlrT6fZnqdQ2dFski/2q1Mu9HpbRl5iLOWmhFIFfP+GXgYmdnVVjyKOKqBIpC JgMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689805253; x=1690410053; 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=WjKKdWrRki3uuFpoaW22h6K7/NipphKr+njxhqqjX3A=; b=hXb/Bb/nEipBKx92x2FKhJJvCCFK847BJQhxI+DailusiZKSd/dDIzrkmceQKKAore ojPzyE06XOpXf2jxyuSt6w44q6gr8IdVV1AufDr6AIf9xmtWmn9cxEhjK9zWCeQ1Nh5m ubmEFMrjGNaD5bn3wEjzAqWxGiNuYpqnIZzy1BzJ4ZuCb7Cg5f0cLTybBvPvyAObx56c 1YYYEhtUTQIQ24l/qx6yKXptHdKkDzYrVGMpIXVh6xn7pRDN8FTRIdZIPtoxzNeBxIlw MYkuOkNLW9N0hVAEWp3xhKiDQLflPrzz2oM0d3Zkg0+8NNi+PAht1VkaoedqZ1C/YQky Znug== X-Gm-Message-State: ABy/qLaXm3v/UtS7GfU+a3BnhwfolX4YdLgGpblBMrXXT/DMvUk/CsyZ qJl/9cgnzOFni/Ze2+AatoPyh9TB+AY= X-Google-Smtp-Source: APBJJlEbS5gf8PHVT6kFkigoc28JnXsBb2PADcx11t4VmOSAD7dQJwdeW5ri+uudOZKx9BXqZZIv5Q== X-Received: by 2002:a05:6870:590:b0:1b4:4972:a0cd with SMTP id m16-20020a056870059000b001b44972a0cdmr23564513oap.8.1689805252987; Wed, 19 Jul 2023 15:20:52 -0700 (PDT) Received: from localhost.localdomain (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id k2-20020a056870350200b001b36c56e6a7sm2371370oah.44.2023.07.19.15.20.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 15:20:52 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 19 Jul 2023 19:20:39 -0300 Message-ID: <20230719222043.59743-1-jamrial@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/5] 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 f28e7e7011..f93f2b6f10 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.41.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".