![]() ![]() (defined(CORSIX_TH_USE_FFMPEG) & LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 63, 100))Īv_image_fill_arrays(pFrameRGB->data, pFrameRGB->linesize, pMoviePicture->buffer, pMoviePicture->pixel_format, pMoviePicture->width, pMoviePicture->height, 1) Īvpicture_fill((AVPicture *)pFrameRGB, pMoviePicture->buffer, pMoviePicture->pixel_format, pMoviePicture->width, pMoviePicture->height) Sws_context = sws_getCachedContext(sws_context, pFrame->width, pFrame->height, (AVPixelFormat)pFrame->format, pMoviePicture->width, pMoviePicture->height, pMoviePicture->pixel_format, SWS_BICUBIC, nullptr, nullptr, nullptr) ![]() Std::unique_lock pictureLock(pMoviePicture->mutex) Int movie_picture_buffer::write(AVFrame* pFrame, double dPts) Sws_scale(swsCtx, (uint8_t const * const *)sourceFrame->data,įrameYUV420->data, frameYUV420->linesize) SWS_BILINEAR, nullptr, nullptr, nullptr) SwsContext *swsCtx = sws_getContext(width, height, (AVPixelFormat)pixFmt, ![]() Av_image_fill_arrays(data, linesize, buf, AV_PIX_FMT_YUV420P, width, height, 1) ![]()
0 Comments
Leave a Reply. |