ends the encoding of an uncompressed frame, after slices have been processed, and optionnaly return statistics on the encoding of this frame.
It should be called after slices have been processed by
is the context handle previously returned by
is a pointer to frame encoding statistics. The statistics returned include frame number, coding mode (I,P or B) for the frame, expected bits, actual bits used, spatial activity, and quantizer scale. If this pointer is NULL, nothing is returned.