Checkpoint: sequence encoder state logic modified to support
2-pass and look-ahead coding.
- All state needed for pass2 is in Picture structure
- Improved parallelisation support
- Hooks for convenient implementation of pass-2 coding
- Function names now correctly distinguish 'Picture' and 'Frame'