Changes affecting the yuvfps core:
- removed the limitation of 3 plane chroma modes only
(allocate space for Y4M_MAX_NUM_PLANES in static structures and
dynamically allocate space for the actually required planes)
- for all malloc calls use a new static checked_malloc function which
checks for failures (to minimize the amount of duplicated code)
- moved the frame rate normalization to the main function
(so that it is shared by the two alternative algorithms)
- added support for specifying output/input interlacing mode
(can be changed only when using weighted average resampling mode)
- optionally use weighted average resampling mode, if so specified
The default is to use the drop/duplicate algorithm as before.
I did not update the version number (still 0.1), although the LOC count
doubled :) Also, I did not update the dates in the man page, although I
did add several paragraphs there.
Most of the wa resampling code is contained in resample_wa function.
Eliminating couple of separate functions made the code a bit less
readable but I thought it was still cleaner way to do it than passing
all the required variables internal to resample_wa as parameters or
making them global static variables.