From: Anton Khirnov <anton@khirnov.net>
To: Ffmpeg Devel <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH 31/92] Vulkan patchset part 1 - common code changes
Date: Sun, 16 Apr 2023 21:21:35 +0200
Message-ID: <168167289545.3843.15064702352157500856@lain.khirnov.net> (raw)
In-Reply-To: <NQTold9--3-9@lynne.ee>
Quoting Lynne (2023-03-14 07:33:43)
> From 56ebb0bc2fd4b856196e6436b4c18af8e4d1a86a Mon Sep 17 00:00:00 2001
> From: Lynne <dev@lynne.ee>
> Date: Thu, 10 Mar 2022 18:08:53 +0100
> Subject: [PATCH 05/92] h264_parser: expose idr_pic_id
>
> Vulkan needs it.
> ---
> libavcodec/h264_parse.h | 1 +
> libavcodec/h264_parser.c | 2 +-
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/h264_parse.h b/libavcodec/h264_parse.h
> index 4ee863df66..4ba0add4f2 100644
> --- a/libavcodec/h264_parse.h
> +++ b/libavcodec/h264_parse.h
> @@ -85,6 +85,7 @@ typedef struct H264POCContext {
> int delta_poc_bottom;
> int delta_poc[2];
> int frame_num;
> + int idr_pic_id;
> int prev_poc_msb; ///< poc_msb of the last reference pic for POC type 0
> int prev_poc_lsb; ///< poc_lsb of the last reference pic for POC type 0
> int frame_num_offset; ///< for POC type 2
> diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
> index 46134a1c48..1c330484c1 100644
> --- a/libavcodec/h264_parser.c
> +++ b/libavcodec/h264_parser.c
> @@ -432,7 +432,7 @@ static inline int parse_nal_units(AVCodecParserContext *s,
> }
>
> if (nal.type == H264_NAL_IDR_SLICE)
> - get_ue_golomb_long(&nal.gb); /* idr_pic_id */
> + p->poc.idr_pic_id = get_ue_golomb_long(&nal.gb); /* idr_pic_id */
> if (sps->poc_type == 0) {
> p->poc.poc_lsb = get_bits(&nal.gb, sps->log2_max_poc_lsb);
This change cannot possibly have any effect on any Vulkan code.
I told you this in the first review round, then we discussed it on IRC
with a detailed explanation why. And look, the same patch is here again
with no changes and no explanation. I sure hope my other comments
weren't treated the same way.
--
Anton Khirnov
_______________________________________________
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".
next prev parent reply other threads:[~2023-04-16 19:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-14 6:33 Lynne
2023-03-14 11:51 ` James Almer
2023-03-15 19:41 ` Lynne
2023-04-16 19:21 ` Anton Khirnov [this message]
2023-04-16 19:26 ` Anton Khirnov
2023-04-16 20:38 ` Anton Khirnov
2023-04-17 9:07 ` Anton Khirnov
2023-04-19 14:47 ` Lynne
2023-04-22 12:38 ` Anton Khirnov
2023-04-24 8:27 ` Lynne
2023-04-17 9:25 ` Anton Khirnov
2023-04-19 14:39 ` Lynne
2023-04-22 12:41 ` Anton Khirnov
2023-04-24 8:26 ` Lynne
2023-04-17 9:46 ` Anton Khirnov
2023-04-19 14:49 ` Lynne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=168167289545.3843.15064702352157500856@lain.khirnov.net \
--to=anton@khirnov.net \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git