[encoder] New GOP handling
commitdd1b6fda47c6f7c90013a49e72f5ccf7258c5134
authorAndrea Gabriellini <andrea@rd.bbc.co.uk>
Thu, 5 Feb 2009 09:53:20 +0000 (5 09:53 +0000)
committerAndrea Gabriellini <andrea@rd.bbc.co.uk>
Thu, 12 Mar 2009 09:28:30 +0000 (12 09:28 +0000)
tree57e8590f7163f82f52e970c5841bff616d7283e9
parent1cae5b0fa5e37064a1ee8a2a92b18184db48122e
[encoder] New GOP handling

The new GOP handling routine creates an open gop.
If used in conjunction with shot change detection
it will ensure no references are used across
shot change boundaries.
It is only invoked when the encoder is run with adaptive
gop structure.
Also add some useful functions to schroqueue and
a check.
Finally, it adds enable_opengop_structure switch.
When set to TRUE allows to select new gop handling routine,
otherwise existing one is used.
Combination of 5 commits.
schroedinger/schroencoder.c
schroedinger/schroencoder.h
schroedinger/schroengine.c
schroedinger/schroengine.h
schroedinger/schroqueue.c
schroedinger/schroqueue.h