From patchwork Mon May 14 22:26:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Keroulas X-Patchwork-Id: 8969 Delivered-To: ffmpegpatchwork@gmail.com Received: by 2002:a02:155:0:0:0:0:0 with SMTP id c82-v6csp648534jad; Mon, 14 May 2018 15:26:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqjbhpIEZOe9Ebaz7srq/Y9rbGof6efFMSN0bVAEP1Ed626mvWyrSxNT+L8evISCQpZ1TMH X-Received: by 2002:adf:ce8a:: with SMTP id r10-v6mr8110263wrn.222.1526336816327; Mon, 14 May 2018 15:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526336816; cv=none; d=google.com; s=arc-20160816; b=miLcuRj8kiE2T0EQiCxYKMuuW2vRWuRHTY616RqqIPvNe6yWBgHnTnT7I4JtRgwmAP RnZl2M+HiuHQO5/iVuEm9RTqWeemDKSf7Lq7rhhG0XBs2ztKDyStIUH8/AESYscGXg0r HfOJ1aaqpg+4pUHOMzHhoLixul+W6yI2flbc6Ih/efgvFCyQziTts7ftc+D4h/PvwYYd S44IV96R2Nvq/Hr29oKoxt++d82PK9XY46MYa27Qosjig6psvV+KZdbIq8g02XaGyPsF 6SvmOuk3uwFh2U/hiAS6C8GxXJiYRAcWxbTymZAn2U6/P027q3GhM9NViI7ZYN5a/esP qAcw== 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:cc: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=GWQWBUre9AQSXRGVB3hVnp70zAlehiOkdZSrhMWOSfs=; b=jbuh3grscWap/e1kJpONRZqLG+qIYP2rVRejJX4tbCnutda8XRZxWR/FsgpducdLy4 46wh4FdDNRAO8zLnhKU4uPrtHo1I3+wsA7SekPv0Q7Fmtgsz7UjGvwmtGSh4vXzfSNwx pyiyo1OWsGnLCmAJOnNqfsngcD39UUDTEznchXSUFtvBCgbX/HtvrWz8gIcm+hKvD34v 1P/OjhJz0HNRCuC+cDtbIzd6iHzLC44quQzB+Xp15nnC1uUy212mxBnDN4lQAWV9HCrm adyKUSLbGRE0PhvkGpTEBUMIf69QRIyFh3/lW0iGpqBB48b74SUn+vyoNzBeTQvetQ+7 H7Bw== 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 t3-v6si9594223wrg.380.2018.05.14.15.26.55; Mon, 14 May 2018 15:26:56 -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 C9316689E17; Tue, 15 May 2018 01:26:11 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [208.88.110.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 96C24689A52 for ; Tue, 15 May 2018 01:26:04 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 7C8069C34F0 for ; Mon, 14 May 2018 18:26:41 -0400 (EDT) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cChhD4nC5kqD; Mon, 14 May 2018 18:26:41 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 086DC9C34F4; Mon, 14 May 2018 18:26:41 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7-Bc40HUmTUY; Mon, 14 May 2018 18:26:40 -0400 (EDT) Received: from pkeroulas.media.in.cbcsrc.ca (unknown [192.168.50.171]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id DCE4A9C34F0; Mon, 14 May 2018 18:26:40 -0400 (EDT) From: Patrick Keroulas To: ffmpeg-devel@ffmpeg.org Date: Mon, 14 May 2018 18:26:35 -0400 Message-Id: <1526336797-21703-1-git-send-email-patrick.keroulas@savoirfairelinux.com> X-Mailer: git-send-email 2.7.4 Subject: [FFmpeg-devel] [PATCH v6 1/3] avcodec: add flags for packets with top/bottom field 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 Cc: Patrick Keroulas MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Patrick Keroulas --- doc/APIchanges | 3 +++ libavcodec/avcodec.h | 8 ++++++++ libavcodec/version.h | 4 ++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index bbefc83..d06868e 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,9 @@ libavutil: 2017-10-21 API changes, most recent first: +2018-05-xx - xxxxxxxxxx - lavc 58.20.100 - avcodec.h + Add AV_PKT_FLAG_TOP_FIELD and AV_PKT_FLAG_BOTTOM_FIELD. + 2018-05-xx - xxxxxxxxxx - lavu 56.18.101 - hwcontext_cuda.h Add AVCUDADeviceContext.stream. diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index fb0c6fa..14811be 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1480,6 +1480,14 @@ typedef struct AVPacket { */ #define AV_PKT_FLAG_DISPOSABLE 0x0010 +/** + * The packet contains a top field. + */ +#define AV_PKT_FLAG_TOP_FIELD 0x0020 +/** + * The packet contains a bottom field. + */ +#define AV_PKT_FLAG_BOTTOM_FIELD 0x0040 enum AVSideDataParamChangeFlags { AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT = 0x0001, diff --git a/libavcodec/version.h b/libavcodec/version.h index 3fda743..b9752ce 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -28,8 +28,8 @@ #include "libavutil/version.h" #define LIBAVCODEC_VERSION_MAJOR 58 -#define LIBAVCODEC_VERSION_MINOR 19 -#define LIBAVCODEC_VERSION_MICRO 101 +#define LIBAVCODEC_VERSION_MINOR 20 +#define LIBAVCODEC_VERSION_MICRO 100 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \