Add new V4L2_H264_DECODE_PARAM_FLAG_P/BFRAME flags that are needed by NVIDIA Tegra video decoder. Userspace will have to set these flags in accordance to the type of a decoded frame.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -1563,6 +1563,8 @@ struct v4l2_h264_dpb_entry { · 1562 unmodified lines | |||
| 1563 | #define V4L2_H264_DECODE_PARAM_FLAG_IDR_PIC 0x01 | 1563 | #define V4L2_H264_DECODE_PARAM_FLAG_IDR_PIC 0x01 |
| 1564 | #define V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC 0x02 | 1564 | #define V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC 0x02 |
| 1565 | #define V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD 0x04 | 1565 | #define V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD 0x04 |
| 1566 | #define V4L2_H264_DECODE_PARAM_FLAG_PFRAME 0x08 | ||
| 1567 | #define V4L2_H264_DECODE_PARAM_FLAG_BFRAME 0x10 | ||
| 1566 | 1568 | ||
| 1567 | #define V4L2_CID_STATELESS_H264_DECODE_PARAMS (V4L2_CID_CODEC_STATELESS_BASE + 7) | 1569 | #define V4L2_CID_STATELESS_H264_DECODE_PARAMS (V4L2_CID_CODEC_STATELESS_BASE + 7) |
| 1568 | /** | 1570 | /** |