[Deinterlace-discuss] Full height recording
Brought to you by:
adcockj,
dschmelzer
|
From: Rob M. <rob...@gm...> - 2003-12-28 23:15:55
|
I found out that the main performance problem with full height recording
was the fact that the codec is reading directly from the overlay. I added
some code to buffer this which makes full height recording work pretty nice.
When cleaning up the code before commiting to CVS I noticed that Laurent
already added similar code a few months ago. I clearly wasted my time.
Laurent's code did not work with full height timeshifting because of a
minor bug. The problem is fixed now and recording at 768x576 with Huffyuv
takes about 40% of CPU time (P4 3GHz) with no dropped frames.
This comes from timeshifting.h:
********************
OPTIMIZE:
- Is there a codec out there that takes YUY2, compress it, but don't convert
to RGB in the process? If so, we can get rid of our rgb<-->yuv routines.
********************
I am a video encoding newbie but isn't Huffyuv the codec we are looking for?
For best compression I let Huffyuv convert RGB to YUY2. It looks like we
can get rid of two conversions in the process.
Rob
|