An apparatus and method for encoding video frames is provided. The video
frames are divided into blocks for encoding. Encoding of the video blocks
utilizes motion detection, motion estimation and adaptive compression, to
obtain the desired compression for a particular bit rate. Adaptive
compression includes intra compression (without regard to other frames)
and inter compression (with regard to other frames). Intra compression,
inter compression with motion detection, and inter compression with
motion estimation are performed on a block by block basis, as needed.
Segmentation is provided to compare encoding of a block with encoding of
its sub-blocks, and to select the best block size for encoding.