mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
video: omx get first frame toggoled flag [1/2]
PD#SWPL-4048 Problem: omx can not detect first frame have toggled Solution: omx get first frame toggoled flag Verify: verify by p212 Change-Id: I632824390287dd0257dca23a009ff8851054f68d Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
This commit is contained in:
committed by
Luan Yuan
parent
3ab1d8c6b4
commit
06f00e90f4
@@ -7756,6 +7756,9 @@ static long amvideo_ioctl(struct file *file, unsigned int cmd, ulong arg)
|
||||
put_user(video_onoff_state, (u32 __user *)argp);
|
||||
break;
|
||||
}
|
||||
case AMSTREAM_IOC_GET_FIRST_FRAME_TOGGLED:
|
||||
put_user(first_frame_toggled, (u32 __user *)argp);
|
||||
break;
|
||||
|
||||
case AMSTREAM_IOC_SET_VIDEOPEEK:
|
||||
videopeek = true;
|
||||
|
||||
@@ -176,6 +176,7 @@
|
||||
#define AMSTREAM_IOC_GET_OMX_VERSION _IOW((_A_M), 0xb1, int)
|
||||
#define AMSTREAM_IOC_GET_OMX_INFO _IOR((_A_M), 0xb2, unsigned int)
|
||||
#define AMSTREAM_IOC_SET_HDR_INFO _IOW((_A_M), 0xb3, int)
|
||||
#define AMSTREAM_IOC_GET_FIRST_FRAME_TOGGLED _IOR(_A_M, 0xbe, unsigned int)
|
||||
#define AMSTREAM_IOC_SET_VIDEOPEEK _IOW(_A_M, 0xbf, unsigned int)
|
||||
|
||||
#define AMSTREAM_IOC_GET_TRICK_VPTS _IOR((_A_M), 0xf0, int)
|
||||
|
||||
Reference in New Issue
Block a user