Commit 84adcb14 authored by Dave Stevenson's avatar Dave Stevenson Committed by Greg Kroah-Hartman

staging: bcm2835-camera: Move struct vchiq_mmal_rect

struct vchiq_mmal_rect is only referenced from mmal-parameters.h, yet
was defined in mmal-vchiq.h.

Move it to avoid having to include multiple headers for no reason.
Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 514a6ab1
...@@ -564,6 +564,14 @@ enum mmal_parameter_displayset { ...@@ -564,6 +564,14 @@ enum mmal_parameter_displayset {
MMAL_DISPLAY_SET_ALPHA = 0x400, MMAL_DISPLAY_SET_ALPHA = 0x400,
}; };
/* rectangle, used lots so it gets its own struct */
struct vchiq_mmal_rect {
s32 x;
s32 y;
s32 width;
s32 height;
};
struct mmal_parameter_displayregion { struct mmal_parameter_displayregion {
/** Bitfield that indicates which fields are set and should be /** Bitfield that indicates which fields are set and should be
* used. All other fields will maintain their current value. * used. All other fields will maintain their current value.
......
...@@ -32,14 +32,6 @@ enum vchiq_mmal_es_type { ...@@ -32,14 +32,6 @@ enum vchiq_mmal_es_type {
MMAL_ES_TYPE_SUBPICTURE /**< Sub-picture elementary stream */ MMAL_ES_TYPE_SUBPICTURE /**< Sub-picture elementary stream */
}; };
/* rectangle, used lots so it gets its own struct */
struct vchiq_mmal_rect {
s32 x;
s32 y;
s32 width;
s32 height;
};
struct vchiq_mmal_port_buffer { struct vchiq_mmal_port_buffer {
unsigned int num; /* number of buffers */ unsigned int num; /* number of buffers */
u32 size; /* size of buffers */ u32 size; /* size of buffers */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment