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 B406A484A8 for ; Fri, 2 Aug 2024 15:33:07 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id ABBA668D885; Fri, 2 Aug 2024 18:33:04 +0300 (EEST) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 936DB68D740 for ; Fri, 2 Aug 2024 18:32:58 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id E09A928191294 for ; Fri, 2 Aug 2024 17:32:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1722612775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gqXGl/Sa2TrT0qU0MIsAHMwlMrEDfbUyq8mcQSnUhos=; b=Y5rT4rRKkGp8EszYXkahomAztZ8EofQfZg1cviIL7xHLNXvAag1JmZFjRQTEnkmCfi5Mx2 ZgHb4TQMrEijBB+a73ZWhTj29amMTC53h/HAM0I4Rv/7Hnxt3jh9TUPGCv76IiFB/6QnDW vaaI7zFANG8iGgPvp9M48sC/9wuPhhdb/9SrIwr6lL57vNdfLYJnrTXclMRv3mrvmAKNdG 4QzkRH2aRi4PEvknyw1woayq+aw0lJaXt9oQQSlGJioYrZgPw0pmCW883AxsLUDxCKR01H 0OwDvkniP+XC3Z5KefslP3F3A7x03KsVHnZU9j5v4gBULMqt16isBAiCMazkWA== Message-ID: Date: Fri, 2 Aug 2024 17:32:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: ffmpeg-devel@ffmpeg.org References: Content-Language: en-US From: Timo Rothenpieler In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH v2] avcodec/cuvidddec: Guess pixel format based on probed bit depth and chroma sampling 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 02.08.2024 16:05, Roman Arzumanyan wrote: > Thanks a lot Timo ! > > Just for my own education: in my application I follow the usual sequence of > API calls to init hw device context and open the codec. What's the right > place to probe the input? I was under the impression that it's done within > avformat_find_stream_info(). ffmpeg.c calls avcodec_parameters_to_context() on the codecpars got from the demuxer/probing phase. I'm not actually sure where the probing itself happens. _______________________________________________ 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".