diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-24 04:57:07 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-25 21:38:31 +0300 |
commit | 3e95d8ed717082430db632d290309f4f7326e7fe (patch) | |
tree | a49b071b86a0bf1be5e77d3da24d6be8446a1181 /src/picture.c | |
parent | 9c4bf181e0871d73cceb6e166447cfc3c6c7ca42 (diff) |
Move Dav1dPictureParameters-related entries to top of Dav1dSeqHdr
Also remove redundant entries from Dav1dPictureParameters, and move
documentation of these fields into Dav1dFrame/SequenceHeader instead.
Diffstat (limited to 'src/picture.c')
-rw-r--r-- | src/picture.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/picture.c b/src/picture.c index 2f88494..cab14f4 100644 --- a/src/picture.c +++ b/src/picture.c @@ -116,14 +116,9 @@ static int picture_alloc_with_edges(Dav1dPicture *const p, p->p.w = w; p->p.h = h; - p->p.pri = DAV1D_COLOR_PRI_UNKNOWN; - p->p.trc = DAV1D_TRC_UNKNOWN; - p->p.mtrx = DAV1D_MC_UNKNOWN; - p->p.chr = DAV1D_CHR_UNKNOWN; p->m.timestamp = p->m.duration = p->m.offset = ~0ULL; p->p.layout = layout; p->p.bpc = bpc; - p->p.film_grain = (Dav1dFilmGrainData) { 0 }; int res = p_allocator->alloc_picture_callback(p, p_allocator->cookie); if (res < 0) { free(pic_ctx); @@ -176,7 +171,6 @@ int dav1d_picture_alloc_copy(Dav1dPicture *const dst, const int w, 0, NULL); if (!res) { - dst->poc = src->poc; dst->p = src->p; dst->m = src->m; dst->p.w = w; |