shithub: treason

ref: ad92a28629a17990ea930ee0fe0945e56a138f6e
dir: /frame.h/

View raw version
typedef struct Frame Frame;

struct Frame {
	uvlong dt;
	int w, h;
	struct {
		int left, top, right, bottom;
	}crop;

	u8int *yuv[3];
	int ystride;
	int uvstride;

	u8int data[1];
};

Frame *newframe(int w, int h, u8int *yuv[3], int ystride, int vstride);