History

[media] media: Add userspace header file for i.MX

This adds a header file for use by userspace programs wanting to interact with the i.MX media driver. It defines custom events and v4l2 controls for the i.MX v4l2 subdevices.

Steve Longerbeam committed 9 years ago

Commit a2bce371 parent bb9e0771 file · +29 −0Browse files

Unified · Split

include/linux/imx-media.h+29−0
@@ -0,0 +1,29 @@
1/*
2 * Copyright (c) 2014-2017 Mentor Graphics Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version
8 */
9
10#ifndef __LINUX_IMX_MEDIA_H__
11#define __LINUX_IMX_MEDIA_H__
12
13/*
14 * events from the subdevs
15 */
16#define V4L2_EVENT_IMX_CLASS V4L2_EVENT_PRIVATE_START
17#define V4L2_EVENT_IMX_FRAME_INTERVAL_ERROR (V4L2_EVENT_IMX_CLASS + 1)
18
19enum imx_ctrl_id {
20 V4L2_CID_IMX_FIM_ENABLE = (V4L2_CID_USER_IMX_BASE + 0),
21 V4L2_CID_IMX_FIM_NUM,
22 V4L2_CID_IMX_FIM_TOLERANCE_MIN,
23 V4L2_CID_IMX_FIM_TOLERANCE_MAX,
24 V4L2_CID_IMX_FIM_NUM_SKIP,
25 V4L2_CID_IMX_FIM_ICAP_EDGE,
26 V4L2_CID_IMX_FIM_ICAP_CHANNEL,
27};
28
29#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t