28#ifndef DAV1D_PICTURE_H
29#define DAV1D_PICTURE_H
44#define DAV1D_PICTURE_ALIGNMENT 64
#define DAV1D_API
Definition common.h:50
struct Dav1dRef Dav1dRef
Definition dav1d.h:44
DAV1D_API void dav1d_picture_unref(Dav1dPicture *p)
void(* release_picture_callback)(Dav1dPicture *pic, void *cookie)
Definition picture.h:145
int(* alloc_picture_callback)(Dav1dPicture *pic, void *cookie)
Definition picture.h:133
void * cookie
custom data to pass to the allocator callbacks.
Definition picture.h:108
int h
height (in pixels)
Definition picture.h:48
enum Dav1dPixelLayout layout
format of the picture
Definition picture.h:49
int w
width (in pixels)
Definition picture.h:47
int bpc
bits per pixel component (8 or 10)
Definition picture.h:50
void * allocator_data
pointer managed by the allocator
Definition picture.h:104
Dav1dPictureParameters p
Definition picture.h:71
Dav1dContentLightLevel * content_light
Definition picture.h:78
struct Dav1dRef * frame_hdr_ref
Dav1dFrameHeader allocation origin.
Definition picture.h:96
struct Dav1dRef * itut_t35_ref
Dav1dITUTT35 allocation origin.
Definition picture.h:100
struct Dav1dRef * content_light_ref
Dav1dContentLightLevel allocation origin.
Definition picture.h:98
uintptr_t reserved_ref[4]
reserved for future use
Definition picture.h:101
struct Dav1dRef * ref
Frame data allocation origin.
Definition picture.h:102
uintptr_t reserved[4]
reserved for future use
Definition picture.h:94
size_t n_itut_t35
Definition picture.h:92
Dav1dITUTT35 * itut_t35
Definition picture.h:87
ptrdiff_t stride[2]
Definition picture.h:69
Dav1dDataProps m
Definition picture.h:72
struct Dav1dRef * mastering_display_ref
Dav1dMasteringDisplay allocation origin.
Definition picture.h:99
Dav1dFrameHeader * frame_hdr
Definition picture.h:55
struct Dav1dRef * seq_hdr_ref
Dav1dSequenceHeader allocation origin.
Definition picture.h:97
Dav1dSequenceHeader * seq_hdr
Definition picture.h:54
Dav1dMasteringDisplay * mastering_display
Definition picture.h:83
void * data[3]
Definition picture.h:64