摘要: void FFDecoder::setupScaler(){// sws_freeContext(img_convert_ctx); // Allocate RGB picture avpicture_alloc(&picture, PIX_FMT_RGB24, pCodecCtx->width , pCodecCtx->height); // Setup scaler static int sws_flags = SWS_FAST_BILINEAR; img_convert_ctx = sws_getContext(pCodecCtx->width, pCodec. 阅读全文
posted @ 2013-11-28 15:04 暖流 阅读(2401) 评论(0) 推荐(0) 编辑