Skip to content
Snippets Groups Projects
Commit b4ecf2b5 authored by Hendrik Leppkes's avatar Hendrik Leppkes
Browse files

vp9: move VP9SharedContext back to the top of VP9Context

VP9SharedContext needs to be the first member so its properties can be
safely accessed from hardware accelerators, without the need to share
the full VP9Context.

Fixes ticket #6674.
parent 18821e3b
No related branches found
No related tags found
No related merge requests found
...@@ -89,8 +89,8 @@ typedef struct VP9Block { ...@@ -89,8 +89,8 @@ typedef struct VP9Block {
typedef struct VP9TileData VP9TileData; typedef struct VP9TileData VP9TileData;
typedef struct VP9Context { typedef struct VP9Context {
VP9TileData *td;
VP9SharedContext s; VP9SharedContext s;
VP9TileData *td;
VP9DSPContext dsp; VP9DSPContext dsp;
VideoDSPContext vdsp; VideoDSPContext vdsp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment