summaryrefslogtreecommitdiff
path: root/common/xv_image_format.h
blob: 05a77003086700d8f56ed2d4a35de1d81fbe25c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef XV_IMAGE_FORMAT_H
#define XV_IMAGE_FORMAT_H

#include "xf86xv.h"

struct xv_image_format {
	union {
		uint32_t drm_format;
		const void *data;
	} u;
	XF86ImageRec	xv_image;
};

const struct xv_image_format *xv_image_xvfourcc(const struct xv_image_format *,
	size_t, int);
const struct xv_image_format *xv_image_drm(const struct xv_image_format *,
	size_t, uint32_t);

#endif