[FFmpeg-devel] [PATCH] lavc/amfenc: DXVA2 textures support implementation by AMF encoder
Alexander Kravchenko
akravchenko188 at gmail.com
Fri Apr 13 02:05:09 EEST 2018
> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos
> Sent: Friday, April 13, 2018 1:24 AM
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] lavc/amfenc: DXVA2 textures support implementation by AMF encoder
>
>
> The code gets more readable / less ugly.
>
Hi Carl,
Is this the common practice? Any recommendations somewhere?
IMHO it does not help reading code, but may confuse and make code researcher to spend time trying to figure out why the macro is in condition
Also it makes condition longer
Thanks,
Alexander
More information about the ffmpeg-devel
mailing list