FAST SPATIAL AND TEMPORAL CORRELATION-BASED REFERENCE PICTURE SELECTION