[Libav-user] [Phishing Risk] [Phishing Risk] [Phishing Risk] [External] Re: How to migrate atadenoise in ffmpeg to my own project?

项首彦 xiangshouyan at bytedance.com
Fri Mar 5 11:58:00 EET 2021


#define WFILTER_ROW(type, name)                                             \
static void fweight_row##name(const uint8_t *ssrc, uint8_t *ddst,           \
                              const uint8_t *ssrcf[SIZE],                   \
                              int w, int mid, int size,                     \
                              int thra, int thrb, const float *weights)     \


What is the meaning of the input parameters of this function and how to set it ?




> 2021年3月4日 下午5:52,Paul B Mahol <onemda at gmail.com> 写道:
> 
> 
> 
> On Thu, Mar 4, 2021 at 10:51 AM 项首彦 <xiangshouyan at bytedance.com <mailto:xiangshouyan at bytedance.com>> wrote:
> Thx. So which API should I start from when migrating.
> 
> http://ffmpeg.org/doxygen/trunk/group__lavfi.html <http://ffmpeg.org/doxygen/trunk/group__lavfi.html>
> 
> Look also at doc/examples/* stuff.
>  
> 
>> 2021年3月4日 下午4:41,Paul B Mahol <onemda at gmail.com <mailto:onemda at gmail.com>> 写道:
>> 
>> 
>> 
>> On Thu, Mar 4, 2021 at 3:48 AM 项首彦 <xiangshouyan at bytedance.com <mailto:xiangshouyan at bytedance.com>> wrote:
>> I want to use the function 'static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)'  as an API to process the frames output by the encoder. The original format of the frame obtained from the encoder is YUV_I420, and then libyuv can be used to convert it to RGB24. I want to know what other information is needed to call the filter_slice API besides the video frame.
>> 
>> 
>> You can not use that function directly at all. The only way to use atadenoise filtering and any filter from libavfilter in general is via creating graphs and feeding AVFrames to it.
>> 
>>  
>> 
>>> 2021年3月4日 上午12:14,Paul B Mahol <onemda at gmail.com <mailto:onemda at gmail.com>> 写道:
>>> 
>>> I see nowhere full code that does libavfilter handling.
>>> 
>> 
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org <mailto:Libav-user at ffmpeg.org>
>> https://ffmpeg.org/mailman/listinfo/libav-user <https://ffmpeg.org/mailman/listinfo/libav-user>
>> 
>> To unsubscribe, visit link above, or email
>> libav-user-request at ffmpeg.org <mailto:libav-user-request at ffmpeg.org> with subject "unsubscribe".
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org <mailto:Libav-user at ffmpeg.org>
>> https://ffmpeg.org/mailman/listinfo/libav-user <https://ffmpeg.org/mailman/listinfo/libav-user>
>> 
>> To unsubscribe, visit link above, or email
>> libav-user-request at ffmpeg.org <mailto:libav-user-request at ffmpeg.org> with subject "unsubscribe".
> 
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org <mailto:Libav-user at ffmpeg.org>
> https://ffmpeg.org/mailman/listinfo/libav-user <https://ffmpeg.org/mailman/listinfo/libav-user>
> 
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org <mailto:libav-user-request at ffmpeg.org> with subject "unsubscribe".
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
> 
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210305/1b97cbaf/attachment.html>


More information about the Libav-user mailing list