|
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 */ |
@@ -1602,30 +1603,30 @@ struct v4l2_ctrl_h264_decode_params { |
1602 | 1603 | #define V4L2_FWHT_VERSION 3 |
1603 | 1604 |
|
1604 | 1605 | /* Set if this is an interlaced format */ |
1605 | | -#define V4L2_FWHT_FL_IS_INTERLACED BIT(0) |
| 1606 | +#define V4L2_FWHT_FL_IS_INTERLACED _BITUL(0) |
1606 | 1607 | /* Set if this is a bottom-first (NTSC) interlaced format */ |
1607 | | -#define V4L2_FWHT_FL_IS_BOTTOM_FIRST BIT(1) |
| 1608 | +#define V4L2_FWHT_FL_IS_BOTTOM_FIRST _BITUL(1) |
1608 | 1609 | /* Set if each 'frame' contains just one field */ |
1609 | | -#define V4L2_FWHT_FL_IS_ALTERNATE BIT(2) |
| 1610 | +#define V4L2_FWHT_FL_IS_ALTERNATE _BITUL(2) |
1610 | 1611 | /* |
1611 | 1612 | * If V4L2_FWHT_FL_IS_ALTERNATE was set, then this is set if this |
1612 | 1613 | * 'frame' is the bottom field, else it is the top field. |
1613 | 1614 | */ |
1614 | | -#define V4L2_FWHT_FL_IS_BOTTOM_FIELD BIT(3) |
| 1615 | +#define V4L2_FWHT_FL_IS_BOTTOM_FIELD _BITUL(3) |
1615 | 1616 | /* Set if the Y' plane is uncompressed */ |
1616 | | -#define V4L2_FWHT_FL_LUMA_IS_UNCOMPRESSED BIT(4) |
| 1617 | +#define V4L2_FWHT_FL_LUMA_IS_UNCOMPRESSED _BITUL(4) |
1617 | 1618 | /* Set if the Cb plane is uncompressed */ |
1618 | | -#define V4L2_FWHT_FL_CB_IS_UNCOMPRESSED BIT(5) |
| 1619 | +#define V4L2_FWHT_FL_CB_IS_UNCOMPRESSED _BITUL(5) |
1619 | 1620 | /* Set if the Cr plane is uncompressed */ |
1620 | | -#define V4L2_FWHT_FL_CR_IS_UNCOMPRESSED BIT(6) |
| 1621 | +#define V4L2_FWHT_FL_CR_IS_UNCOMPRESSED _BITUL(6) |
1621 | 1622 | /* Set if the chroma plane is full height, if cleared it is half height */ |
1622 | | -#define V4L2_FWHT_FL_CHROMA_FULL_HEIGHT BIT(7) |
| 1623 | +#define V4L2_FWHT_FL_CHROMA_FULL_HEIGHT _BITUL(7) |
1623 | 1624 | /* Set if the chroma plane is full width, if cleared it is half width */ |
1624 | | -#define V4L2_FWHT_FL_CHROMA_FULL_WIDTH BIT(8) |
| 1625 | +#define V4L2_FWHT_FL_CHROMA_FULL_WIDTH _BITUL(8) |
1625 | 1626 | /* Set if the alpha plane is uncompressed */ |
1626 | | -#define V4L2_FWHT_FL_ALPHA_IS_UNCOMPRESSED BIT(9) |
| 1627 | +#define V4L2_FWHT_FL_ALPHA_IS_UNCOMPRESSED _BITUL(9) |
1627 | 1628 | /* Set if this is an I Frame */ |
1628 | | -#define V4L2_FWHT_FL_I_FRAME BIT(10) |
| 1629 | +#define V4L2_FWHT_FL_I_FRAME _BITUL(10) |
1629 | 1630 |
|
1630 | 1631 | /* A 4-values flag - the number of components - 1 */ |
1631 | 1632 | #define V4L2_FWHT_FL_COMPONENTS_NUM_MSK GENMASK(18, 16) |
|
0 commit comments