summaryrefslogtreecommitdiff
path: root/src/sna/sna_video.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_video.h')
-rw-r--r--src/sna/sna_video.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sna/sna_video.h b/src/sna/sna_video.h
index f66a6977..bf4f6a49 100644
--- a/src/sna/sna_video.h
+++ b/src/sna/sna_video.h
@@ -64,13 +64,12 @@ struct sna_video {
struct sna_video_frame {
struct kgem_bo *bo;
- int id;
- int width, height;
- int pitch[2];
- int size;
- uint32_t YBufOffset;
+ uint32_t id;
+ uint32_t size;
uint32_t UBufOffset;
uint32_t VBufOffset;
+ uint16_t width, height;
+ uint16_t pitch[2];
};
void sna_video_init(struct sna *sna, ScreenPtr screen);