typedefstruct Dav1dThreadPicture {
Dav1dPicture p; int visible; // This can be set for inter frames, non-key intra frames, or for invisible // keyframes that have not yet been made visible using the show-existing-frame // mechanism. int showable; enum PictureFlags flags; // [0] block data (including segmentation map and motion vectors) // [1] pixel data
atomic_uint *progress;
} Dav1dThreadPicture;
/* * Allocate a picture with custom border size.
*/ int dav1d_thread_picture_alloc(Dav1dContext *c, Dav1dFrameContext *f, constint bpc);
/** * Allocate a picture with identical metadata to an existing picture. * The width is a separate argument so this function can be used for * super-res, where the width changes, but everything else is the same. * For the more typical use case of allocating a new image of the same * dimensions, use src->p.w as width.
*/ int dav1d_picture_alloc_copy(Dav1dContext *c, Dav1dPicture *dst, constint w, const Dav1dPicture *src);
/** * Create a copy of a picture.
*/ void dav1d_picture_ref(Dav1dPicture *dst, const Dav1dPicture *src); void dav1d_thread_picture_ref(Dav1dThreadPicture *dst, const Dav1dThreadPicture *src); void dav1d_thread_picture_move_ref(Dav1dThreadPicture *dst,
Dav1dThreadPicture *src); void dav1d_thread_picture_unref(Dav1dThreadPicture *p);
/** * Move a picture reference.
*/ void dav1d_picture_move_ref(Dav1dPicture *dst, Dav1dPicture *src);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.