Closed avafinger closed 2 years ago
Hi @JeffyCN ,
I have the following:
img_convert_ctx = sws_getContext(pCodecCtx->width, pCodecCtx->height, pCodecCtx->pix_fmt, pCodecCtx->width, pCodecCtx->height, AV_PIX_FMT_YUV420P, SWS_BICUBIC, NULL, NULL, NULL); sws_scale(img_convert_ctx, (const unsigned char *const *) pFrame->data, pFrame->linesize, 0, pCodecCtx->height, pFrameYUV->data, pFrameYUV->linesize);
But it is slow. I know sws_scale using the librga was on your list, have you implemented it? Would you share this? BR
no, that is not on my list...i mainly focus on gstreamer things...
maybe you can try to use librga directly. there are many examples about that
Hi @JeffyCN ,
I have the following:
But it is slow. I know sws_scale using the librga was on your list, have you implemented it? Would you share this? BR