From patchwork Tue May 9 15:23:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 3631 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.3.129 with SMTP id 123csp1390239vsd; Tue, 9 May 2017 08:23:49 -0700 (PDT) X-Received: by 10.28.164.193 with SMTP id n184mr1564343wme.107.1494343429261; Tue, 09 May 2017 08:23:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494343429; cv=none; d=google.com; s=arc-20160816; b=QLAJgcPEAF5L3mAHAa1kT9WCOlph8o/ZkfAcOx60rq4bfEDNi/UjZaPG+mHxHDpkGL e9uIZFlUJNaDFQlceHMxmBIp+2iUKG9/s6b0SBWMTFbUCCPb2xHZXNhMEJurVY/r1HZC 6mK3IIJx2a+iYigceZhEJgRLzjp8SYQwA+Vp45zjWunWd3RZcH1vGzkpWe+5GoOdzanp JwLsQ0PzA7DkpA/aaVjx2rt6Hi3pWNCmMIUjXOF+pOfrVwHheiHGzrCjQYb+5Q5vIZTs 4WPiOil7HpkMNWND2U27oOhtBGHMII7MThzQ/wiPO3M129WDOkAkOu5ljANbIEQiaJL+ 02Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=+jcYJt6vY+unb7rQKvXsnkKu44ecKoausL3qrTRPEgs=; b=YB/APhimgXDWKyylNZ/Xv8bs2obWWQS83jRydcXuTjnRCwKuGaQxUA4dTsmtx3uDeE PgVuJCHYBqEbrRJ6bjlCFpeaaj0pvwvH53/QUpBM5cnz8tJIzhmgO7X2gkR8EI9mCnFA Jwdj59t0dMi5H2OmBVP9SZx/VXXl2GOvGAnTpbuIU9M0n01P4erop5uE4wQvuugs44SV ypLFVyRXYvJwwd1LKtE4TEhWJJexkMDi01dRnE7j73mocjWGitZgSYTG8APAOYYf+SMB 4+p+48BzlewEU079t4b4jFLO5z9m2ueFl3u+aAOI4hD+PsPYDW04t3wUiNPYNbq3/kwL KEjg== 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 z23si293827wrz.204.2017.05.09.08.23.48; Tue, 09 May 2017 08:23:49 -0700 (PDT) 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 0EFD36883B7; Tue, 9 May 2017 18:23:39 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-pe03-3.mx.upcmail.net (vie01a-dmta-pe03-3.mx.upcmail.net [62.179.121.162]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 88A68680C5C for ; Tue, 9 May 2017 18:23:32 +0300 (EEST) Received: from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01) by vie01a-dmta-pe03.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1d86zC-0003Pq-I7 for ffmpeg-devel@ffmpeg.org; Tue, 09 May 2017 17:23:38 +0200 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe01 with SMTP @ mailcloud.upcmail.net id JFPc1v01G0S5wYM01FPdl0; Tue, 09 May 2017 17:23:37 +0200 X-SourceIP: 213.47.41.20 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Tue, 9 May 2017 17:23:35 +0200 Message-Id: <20170509152335.14053-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.11.0 Subject: [FFmpeg-devel] [PATCH] doc/codecs: Add missing documentation for apply_cropping X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Michael Niedermayer --- doc/codecs.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/codecs.texi b/doc/codecs.texi index 1f74c83554..1d8a4e38a4 100644 --- a/doc/codecs.texi +++ b/doc/codecs.texi @@ -1279,6 +1279,16 @@ ffprobe -dump_separator " Maximum number of pixels per image. This value can be used to avoid out of memory failures due to large images. +@item apply_cropping @var{integer} (@emph{decoding,video}) +Enable cropping if cropping parameters are a multiply of the required +alignment for the left and top parameters. If the alignment is not met the +cropping will be partially applied to maintain alignment. +1(Enabled) by default. +Note: The required alignment depends on if CODEC_FLAG_UNALIGNED is set and the +CPU. CODEC_FLAG_UNALIGNED cannot be chanaged from the command line. Also hw +decoders will not apply left/top croping. + + @end table @c man end CODEC OPTIONS