Apple has won a patent (number 7,856,059) from the US Patent & Trademark Office involving determining the number of unidirectional and bidirectional motion compensated frames to be encoded for a video sequence and detecting scene cuts in the video sequence.
Methods for processing a set of successive video frames in two passes to determine the number of bidirectional (B) and unidirectional (P) motion compensated frames to be encoded in a video coding system. During the first pass, motion vectors and motion costs are computed for each frame and a derived cost value is computed based on the motion cost of at least one frame.
The derived cost value is used to determine the number (N.sub.B) of B-frames to be encoded in the set of successive frames. In the second pass, the set of successive frames are encoded where N.sub.B frames are encoded as B-frames and some or all motion vectors computed in the first pass are re-used in the second pass. A scene cut detection...| Read more »