diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-19 00:47:46 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-25 21:38:31 +0300 |
commit | 03d4ede0656490a384e2a2ffe10b16c5aabdc8ec (patch) | |
tree | 5402cbfd1b4c3881a016b3402adaeb8cc03d0960 /src/internal.h | |
parent | c371907ffea1cafa9ee5867df4127a53b836d68f (diff) |
Make frame_hdr 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 0a3bdfe..54b7041 100644 --- a/src/internal.h +++ b/src/internal.h @@ -75,11 +75,12 @@ struct Dav1dContext { Dav1dData data; int start, end; } tile[256]; - int n_tile_data, have_frame_hdr; + int n_tile_data; int n_tiles; Dav1dRef *seq_hdr_ref; Av1SequenceHeader *seq_hdr; - Av1FrameHeader *frame_hdr, frame_hdr_mem; // FIXME make ref? + Dav1dRef *frame_hdr_ref; + Av1FrameHeader *frame_hdr; // decoded output picture queue Dav1dData in; @@ -125,7 +126,8 @@ struct Dav1dContext { struct Dav1dFrameContext { Dav1dRef *seq_hdr_ref; Av1SequenceHeader *seq_hdr; - Av1FrameHeader *frame_hdr, frame_hdr_mem; + Dav1dRef *frame_hdr_ref; + Av1FrameHeader *frame_hdr; Dav1dThreadPicture refp[7]; Dav1dPicture cur; // during block coding / reconstruction Dav1dThreadPicture sr_cur; // after super-resolution upscaling |