diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-18 02:31:18 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-25 21:38:31 +0300 |
commit | e071d257cae01c07d2204478dcc489200df66750 (patch) | |
tree | 11ed147488722311ab1e9cdc24d9ec72176ff87a /src/internal.h | |
parent | 41e64ac1f8762167b3d3787bc9649ca26ace2386 (diff) |
Make sequence header a referenced object
Diffstat (limited to 'src/internal.h')
-rw-r--r-- | src/internal.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/internal.h b/src/internal.h index e713cd5..1c825a2 100644 --- a/src/internal.h +++ b/src/internal.h @@ -75,9 +75,10 @@ struct Dav1dContext { Dav1dData data; int start, end; } tile[256]; - int n_tile_data, have_seq_hdr, have_frame_hdr; + int n_tile_data, have_frame_hdr; int n_tiles; - Av1SequenceHeader seq_hdr; // FIXME make ref? + Dav1dRef *seq_hdr_ref; + Av1SequenceHeader *seq_hdr; Av1FrameHeader frame_hdr; // FIXME make ref? // decoded output picture queue @@ -122,7 +123,8 @@ struct Dav1dContext { }; struct Dav1dFrameContext { - Av1SequenceHeader seq_hdr; + Dav1dRef *seq_hdr_ref; + Av1SequenceHeader *seq_hdr; Av1FrameHeader frame_hdr; Dav1dThreadPicture refp[7]; Dav1dPicture cur; // during block coding / reconstruction |