/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2009 Texas Instruments Inc */ #ifndef VPIF_CAPTURE_H #define VPIF_CAPTURE_H /* Header files */ #include <media/videobuf2-dma-contig.h> #include <media/v4l2-device.h> #include "vpif.h" /* Macros */ #define VPIF_CAPTURE_VERSION … #define VPIF_VALID_FIELD(field) … #define VPIF_CAPTURE_MAX_DEVICES … #define VPIF_VIDEO_INDEX … #define VPIF_NUMBER_OF_OBJECTS … /* Enumerated data type to give id to each device per channel */ enum vpif_channel_id { … }; struct video_obj { … }; struct vpif_cap_buffer { … }; struct common_obj { … }; struct channel_obj { … }; struct vpif_device { … }; #endif /* VPIF_CAPTURE_H */