On Mon, Oct 03, 2016 at 12:35:51PM +0300, Ali KIZIL wrote: > Hello, > > This patch is done for performance increase on UHD or above resolution > color space convertions. > Some SDI sources provide yuv422p10 for 10bit source and uyvy422 for 8 bit > source. > To encode these sources with NVENC 10 bits, there is a need to convert > these color spaces to P010. > > Before patch for UHD and above resolutions, convertion could not exceed > ~25-30 fps, which can not be used for a 50 fps encoding. > This patch fixes this problem. > > Also, color space convertion speed for 10bit YUV422P to 8bit YUV420P is > having the same problem. > If anybody wants to encode 10 bits source in 8 bits for UHD or above > resolutions could not achive high frame rate ratio as well. > This patch also fixes this problem. > > I think it will be good to apply this patch to avoid performance loss in > high resolutions. > > Kind Regards,
> swscale_unscaled.c | 140 > +++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 140 insertions(+) > 5c347db66a9a32fbb91cd17ea768143bc768f948 > 0001-For-10bit-SDI-Sources-to-10bit-NVENC-Encode.patch > From 9a680c588248abec30f7a4afdcf7a18c58766ade Mon Sep 17 00:00:00 2001 > From: Sayit BELET <admintv@encoder> > Date: Mon, 3 Oct 2016 12:09:58 +0300 > Subject: [PATCH] For 10bit SDI Sources to 10bit NVENC Encode 10bit YUV422P to > P010 yuv422p10ToP010Wrapper breaks fate --- ./tests/ref/vsynth/vsynth1-vc2-422p10 2016-10-02 14:30:45.987076676 +0200 +++ tests/data/fate/vsynth1-vc2-422p10 2016-10-03 15:45:54.060991862 +0200 @@ -1,4 +1,4 @@ 88e3488e4689cf06e75959c71e2f9d96 *tests/data/fate/vsynth1-vc2-422p10.mov 1684055 tests/data/fate/vsynth1-vc2-422p10.mov -f35dd1c1df4726bb1d75d95e321b0698 *tests/data/fate/vsynth1-vc2-422p10.out.rawvideo -stddev: 1.88 PSNR: 42.61 MAXDIFF: 23 bytes: 7603200/ 760320 +3ed919ead3917805fcde08467b6c4907 *tests/data/fate/vsynth1-vc2-422p10.out.rawvideo +stddev: 3.56 PSNR: 37.09 MAXDIFF: 38 bytes: 7603200/ 760320 Test vsynth1-vc2-422p10 failed. Look at tests/data/fate/vsynth1-vc2-422p10.err for details. make: *** [fate-vsynth1-vc2-422p10] Error 1 make: *** Waiting for unfinished jobs.... [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are best at talking, realize last or never when they are wrong.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel