#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 <[email protected]> 写道:
>
>
>
> On Thu, Mar 4, 2021 at 10:51 AM 项首彦 <[email protected]
> <mailto:[email protected]>> 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 <[email protected] <mailto:[email protected]>>
>> 写道:
>>
>>
>>
>> On Thu, Mar 4, 2021 at 3:48 AM 项首彦 <[email protected]
>> <mailto:[email protected]>> 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 <[email protected] <mailto:[email protected]>>
>>> 写道:
>>>
>>> I see nowhere full code that does libavfilter handling.
>>>
>>
>> _______________________________________________
>> Libav-user mailing list
>> [email protected] <mailto:[email protected]>
>> https://ffmpeg.org/mailman/listinfo/libav-user
>> <https://ffmpeg.org/mailman/listinfo/libav-user>
>>
>> To unsubscribe, visit link above, or email
>> [email protected] <mailto:[email protected]> with
>> subject "unsubscribe".
>> _______________________________________________
>> Libav-user mailing list
>> [email protected] <mailto:[email protected]>
>> https://ffmpeg.org/mailman/listinfo/libav-user
>> <https://ffmpeg.org/mailman/listinfo/libav-user>
>>
>> To unsubscribe, visit link above, or email
>> [email protected] <mailto:[email protected]> with
>> subject "unsubscribe".
>
> _______________________________________________
> Libav-user mailing list
> [email protected] <mailto:[email protected]>
> https://ffmpeg.org/mailman/listinfo/libav-user
> <https://ffmpeg.org/mailman/listinfo/libav-user>
>
> To unsubscribe, visit link above, or email
> [email protected] <mailto:[email protected]> with
> subject "unsubscribe".
> _______________________________________________
> Libav-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".