|
50 | 50 | #ifndef __LINUX_V4L2_CONTROLS_H |
51 | 51 | #define __LINUX_V4L2_CONTROLS_H |
52 | 52 |
|
| 53 | +#include <linux/const.h> |
53 | 54 | #include <linux/types.h> |
54 | 55 |
|
55 | 56 | /* Control classes */ |
@@ -1593,30 +1594,30 @@ struct v4l2_ctrl_h264_decode_params { |
1593 | 1594 | #define V4L2_FWHT_VERSION 3 |
1594 | 1595 |
|
1595 | 1596 | /* Set if this is an interlaced format */ |
1596 | | -#define V4L2_FWHT_FL_IS_INTERLACED BIT(0) |
| 1597 | +#define V4L2_FWHT_FL_IS_INTERLACED _BITUL(0) |
1597 | 1598 | /* Set if this is a bottom-first (NTSC) interlaced format */ |
1598 | | -#define V4L2_FWHT_FL_IS_BOTTOM_FIRST BIT(1) |
| 1599 | +#define V4L2_FWHT_FL_IS_BOTTOM_FIRST _BITUL(1) |
1599 | 1600 | /* Set if each 'frame' contains just one field */ |
1600 | | -#define V4L2_FWHT_FL_IS_ALTERNATE BIT(2) |
| 1601 | +#define V4L2_FWHT_FL_IS_ALTERNATE _BITUL(2) |
1601 | 1602 | /* |
1602 | 1603 | * If V4L2_FWHT_FL_IS_ALTERNATE was set, then this is set if this |
1603 | 1604 | * 'frame' is the bottom field, else it is the top field. |
1604 | 1605 | */ |
1605 | | -#define V4L2_FWHT_FL_IS_BOTTOM_FIELD BIT(3) |
| 1606 | +#define V4L2_FWHT_FL_IS_BOTTOM_FIELD _BITUL(3) |
1606 | 1607 | /* Set if the Y' plane is uncompressed */ |
1607 | | -#define V4L2_FWHT_FL_LUMA_IS_UNCOMPRESSED BIT(4) |
| 1608 | +#define V4L2_FWHT_FL_LUMA_IS_UNCOMPRESSED _BITUL(4) |
1608 | 1609 | /* Set if the Cb plane is uncompressed */ |
1609 | | -#define V4L2_FWHT_FL_CB_IS_UNCOMPRESSED BIT(5) |
| 1610 | +#define V4L2_FWHT_FL_CB_IS_UNCOMPRESSED _BITUL(5) |
1610 | 1611 | /* Set if the Cr plane is uncompressed */ |
1611 | | -#define V4L2_FWHT_FL_CR_IS_UNCOMPRESSED BIT(6) |
| 1612 | +#define V4L2_FWHT_FL_CR_IS_UNCOMPRESSED _BITUL(6) |
1612 | 1613 | /* Set if the chroma plane is full height, if cleared it is half height */ |
1613 | | -#define V4L2_FWHT_FL_CHROMA_FULL_HEIGHT BIT(7) |
| 1614 | +#define V4L2_FWHT_FL_CHROMA_FULL_HEIGHT _BITUL(7) |
1614 | 1615 | /* Set if the chroma plane is full width, if cleared it is half width */ |
1615 | | -#define V4L2_FWHT_FL_CHROMA_FULL_WIDTH BIT(8) |
| 1616 | +#define V4L2_FWHT_FL_CHROMA_FULL_WIDTH _BITUL(8) |
1616 | 1617 | /* Set if the alpha plane is uncompressed */ |
1617 | | -#define V4L2_FWHT_FL_ALPHA_IS_UNCOMPRESSED BIT(9) |
| 1618 | +#define V4L2_FWHT_FL_ALPHA_IS_UNCOMPRESSED _BITUL(9) |
1618 | 1619 | /* Set if this is an I Frame */ |
1619 | | -#define V4L2_FWHT_FL_I_FRAME BIT(10) |
| 1620 | +#define V4L2_FWHT_FL_I_FRAME _BITUL(10) |
1620 | 1621 |
|
1621 | 1622 | /* A 4-values flag - the number of components - 1 */ |
1622 | 1623 | #define V4L2_FWHT_FL_COMPONENTS_NUM_MSK GENMASK(18, 16) |
|
0 commit comments