Hi, On Sat, Jan 18, 2020 at 9:49 PM Fu, Ting <ting...@intel.com> wrote:
> Since NASM function will get only the address of SwsConext c ( in order to > be compatible with yuv2rgb_c function in parameters), not the address of > c->redDither nor the c->dstW. I have no way to get the value of c->dstW by > using address offset. Nasm and related variants have "struc" (like "struct" in C) for this. See for example this code: https://code.videolan.org/videolan/dav1d/blob/master/src/x86/film_grain.asm#L64 Hope this helps, Ronald _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".