 P-frames provide compression using motion vectors relative to the previous frame ( I or P ).B-frames provide maximum compression but require the previous as well as next frame for computation.Therefore, processing of B-frames requires more buffer on the decoded side.