shithub: treason

ref: 406a0c2b09277c1332b125afcba293a171a8b197
dir: treason/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);