vpx_alpha: add reference-counting to picture context
The context is read-only and was currently copied for every picture, so switch to reference counting to avoid this. It will also help when moving planes stored in p_sys into the context, to determine when the allocated plane should be released, and to copy/share the pointer automatically.
parent
02921db9
No related branches found
No related tags found
Please register or sign in to comment