Sx16_ioc_set_n, Sx16_ioc_set_m, Sx16_ioc_set_stream_type – Sensoray 616 Linux User Manual
Page 10

10
• SIZE176_1
MPEG-1, NTSC-176x112 PAL-176x144
• SIZE352_1
MPEG-1, NTSC-352x240 PAL-352x288
• SIZE352_2
MPEG-2, NTSC-352x480 PAL-352x576
• SIZE480_2
MPEG-2, NTSC-480x480 PAL-480x576
• SIZE640_2
MPEG-2, NTSC-640x480 PAL-640x576, clipped from size 720
• SIZE704_2
MPEG-2, NTSC-704x480 PAL-704x576
• SIZE720_2
MPEG-2, NTSC-720x480 PAL-720x576
• SIZE352_1_2 MPEG-1, NTSC-352x240 PAL-352x288, MPEG1 stream with MPEG2 MUX
• SIZE480_2_2 MPEG-2, NTSC-480x480 PAL-480x576, DVD MUX(for playback)
SX16_IOC_SET_N
ioctl( b->handle, SX16_IOC_SET_N, n );
Parameters
n
Number of frames in Group of Pictures.
Return values
None.
Notes
Sets number of frames in Group of Pictures. Default value is 3.
To optimize quality for PAL signals the ‘n’ should be set to 1.
SX16_IOC_SET_M
ioctl( b->handle, SX16_IOC_SET_M, m );
Parameters
m
Distance between I/P frames.
Return values
None.
Notes
Sets distance between I/P frames. Default value is 15.
To optimize quality for PAL signals the ‘m’ should be set to 4.
SX16_IOC_SET_STREAM_TYPE
ioctl( handle, SX16_IOC_SET_STREAM_TYPE, type );
Parameters
type
Type of MPEG stream. Must be one of the following:
STREAMTYPE_MUX
Multiplexed program/system stream,
STREAMTYPE_VES
Video elementary stream, no audio,