On 13/02/16 09:58, Anton Khirnov wrote: > --- > Turns out RegisterResource is quite slow, so calling it for each input frame > is > not such a great idea. > So instead I'm keepin track of the data pointers passed to the encoder, and > try > to register them just once. > --- > libavcodec/nvenc.c | 282 > +++++++++++++++++++++++++++++++++++++++++------------ > libavcodec/nvenc.h | 18 ++++ > 2 files changed, 238 insertions(+), 62 deletions(-) >
probably Ok. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
