Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af9bb33a authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mauro Carvalho Chehab
Browse files

[media] V4L: Add header file defining standard image sizes



Add common header file defining standard image sizes, so we can
avoid redefining those in each driver.

Signed-off-by: default avatarSylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f1927479
Loading
Loading
Loading
Loading
+34 −0
Original line number Original line Diff line number Diff line
/*
 * Standard image size definitions
 *
 * Copyright (C) 2013, Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#ifndef _IMAGE_SIZES_H
#define _IMAGE_SIZES_H

#define CIF_WIDTH	352
#define CIF_HEIGHT	288

#define QCIF_WIDTH	176
#define QCIF_HEIGHT	144

#define QQCIF_WIDTH	88
#define QQCIF_HEIGHT	72

#define QQVGA_WIDTH	160
#define QQVGA_HEIGHT	120

#define QVGA_WIDTH	320
#define QVGA_HEIGHT	240

#define SXGA_WIDTH	1280
#define SXGA_HEIGHT	1024

#define VGA_WIDTH	640
#define VGA_HEIGHT	480

#endif /* _IMAGE_SIZES_H */