Global structure to keep a pointer to the generated picture and the reference picture.