This describe GM8126 ioctl functions: source/dvr_enc_ioctl.h File Reference

GM8126 DVR

source/dvr_enc_ioctl.h File Reference

Go to the source code of this file.

Defines

#define DVR_ENC_IOC_MAGIC   'B'
#define DVR_ENC_SET_CHANNEL_PARAM   _IOWR(DVR_ENC_IOC_MAGIC, 2, dvr_enc_channel_param)
#define DVR_ENC_GET_CHANNEL_PARAM   _IOWR(DVR_ENC_IOC_MAGIC, 3, dvr_enc_channel_param)
#define DVR_ENC_QUEUE_GET   _IOWR(DVR_ENC_IOC_MAGIC, 5, dvr_enc_queue_get)
#define DVR_ENC_QUEUE_PUT   _IOWR(DVR_ENC_IOC_MAGIC, 6, dvr_enc_queue_get)
#define DVR_ENC_CONTROL   _IOW(DVR_ENC_IOC_MAGIC, 7, dvr_enc_control)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SIZE   _IOWR(DVR_ENC_IOC_MAGIC, 8, int)
#define DVR_ENC_QUEUE_GET_SNAP   _IOWR(DVR_ENC_IOC_MAGIC, 9, dvr_enc_queue_get)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SNAP_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 10, int)
#define DVR_ENC_QUEUE_GET_SUB1_BS   _IOWR(DVR_ENC_IOC_MAGIC, 11, dvr_enc_queue_get)
#define DVR_ENC_QUEUE_GET_SUB2_BS   _IOWR(DVR_ENC_IOC_MAGIC, 12, dvr_enc_queue_get)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB1_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 13, int)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB2_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 14, int)
#define DVR_ENC_RESET_INTRA   _IOR(DVR_ENC_IOC_MAGIC, 15, int)
#define DVR_ENC_SET_SUB_BS_PARAM   _IOW(DVR_ENC_IOC_MAGIC, 16, int)
#define DVR_ENC_SWAP_INTRA   _IOR(DVR_ENC_IOC_MAGIC, 18, int)
#define DVR_ENC_SUB_PATH_DENOISE_CTRL   _IOW(DVR_ENC_IOC_MAGIC, 19, int)
#define DVR_ENC_QUEUE_GET_SUB3_BS   _IOWR(DVR_ENC_IOC_MAGIC, 20, dvr_enc_queue_get)
#define DVR_ENC_QUEUE_GET_SUB4_BS   _IOWR(DVR_ENC_IOC_MAGIC, 21, dvr_enc_queue_get)
#define DVR_ENC_QUEUE_GET_SUB5_BS   _IOWR(DVR_ENC_IOC_MAGIC, 22, dvr_enc_queue_get)
#define DVR_ENC_QUEUE_GET_SUB6_BS   _IOWR(DVR_ENC_IOC_MAGIC, 23, dvr_enc_queue_get)
#define DVR_ENC_QUEUE_GET_SUB7_BS   _IOWR(DVR_ENC_IOC_MAGIC, 24, dvr_enc_queue_get)
#define DVR_ENC_QUEUE_GET_SUB8_BS   _IOWR(DVR_ENC_IOC_MAGIC, 25, dvr_enc_queue_get)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB3_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 26, int)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB4_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 27, int)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB5_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 28, int)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB6_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 29, int)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB7_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 30, int)
#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB8_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 31, int)
#define DVR_ENC_QUEUE_GET_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 35, dvr_enc_copy_buf)
#define DVR_ENC_QUEUE_GET_SUB1_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 36, dvr_enc_copy_buf)
#define DVR_ENC_QUEUE_GET_SUB2_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 37, dvr_enc_copy_buf)
#define DVR_ENC_QUEUE_GET_SUB3_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 38, dvr_enc_copy_buf)
#define DVR_ENC_QUEUE_GET_SUB4_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 39, dvr_enc_copy_buf)
#define DVR_ENC_QUEUE_GET_SUB5_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 40, dvr_enc_copy_buf)
#define DVR_ENC_QUEUE_GET_SUB6_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 41, dvr_enc_copy_buf)
#define DVR_ENC_QUEUE_GET_SUB7_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 42, dvr_enc_copy_buf)
#define DVR_ENC_QUEUE_GET_SUB8_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 43, dvr_enc_copy_buf)

Define Documentation

#define DVR_ENC_IOC_MAGIC   'B'

Definition at line 28 of file dvr_enc_ioctl.h.

#define DVR_ENC_SET_CHANNEL_PARAM   _IOWR(DVR_ENC_IOC_MAGIC, 2, dvr_enc_channel_param)

ioctl(enc_fd, DVR_ENC_SET_CHANNEL_PARAM, &ch_param)

  • explanation : get channel parameter from user space ,and set parameter to device driver
  • parameter :
    pointer ch_param : argument from user space ioctl parameter, it means structure dvr_enc_channel_param
Examples:
capture_raw.c, main-bitstream-record.c, mjpeg-record.c, motion-detection-mpeg4.c, motion-detection.c, mpeg4-record.c, roi.c, snapshot.c, sub-bitstream-record.c, update-bitrate.c, and update-record-setting.c.

Definition at line 38 of file dvr_enc_ioctl.h.

#define DVR_ENC_GET_CHANNEL_PARAM   _IOWR(DVR_ENC_IOC_MAGIC, 3, dvr_enc_channel_param)

ioctl(enc_fd, DVR_ENC_GET_CHANNEL_PARAM, &ch_param) :

  • explanation : get channel parameter from user space
  • parameter :
    pointer ch_param : argument from user space ioctl parameter, it means structure dvr_enc_channel_param

Definition at line 47 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET   _IOWR(DVR_ENC_IOC_MAGIC, 5, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_GET, &data)

  • explanation : Get buffer to user space. It includes the buffer length, offset.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get
Examples:
capture_raw.c, main-bitstream-record.c, mjpeg-record.c, motion-detection-mpeg4.c, motion-detection.c, mpeg4-record.c, roi.c, snapshot.c, sub-bitstream-record.c, update-bitrate.c, and update-record-setting.c.

Definition at line 56 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_PUT   _IOWR(DVR_ENC_IOC_MAGIC, 6, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_PUT, &data)

  • explanation : get buffer from user space, and release buffer at videograph layer
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get
Examples:
capture_raw.c, main-bitstream-record.c, mjpeg-record.c, motion-detection-mpeg4.c, motion-detection.c, mpeg4-record.c, roi.c, snapshot.c, sub-bitstream-record.c, update-bitrate.c, and update-record-setting.c.

Definition at line 65 of file dvr_enc_ioctl.h.

#define DVR_ENC_CONTROL   _IOW(DVR_ENC_IOC_MAGIC, 7, dvr_enc_control)

ioctl(enc_fd, DVR_ENC_CONTROL, &enc_ctrl)

  • explanation : get encode contorl command from user space, and set command to videograph layer
  • parameter :
    pointer enc_ctrl : argument from user space ioctl parameter, it means structure dvr_enc_control
Examples:
capture_raw.c, main-bitstream-record.c, mjpeg-record.c, motion-detection-mpeg4.c, motion-detection.c, mpeg4-record.c, roi.c, snapshot.c, sub-bitstream-record.c, update-bitrate.c, and update-record-setting.c.

Definition at line 74 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SIZE   _IOWR(DVR_ENC_IOC_MAGIC, 8, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SIZE, &enc_buf_size)

  • explanation : get output buffer size for dvr encode to user space. buffer size = main bitstream + sub1 bitstream + sub2 bitstream + snapshot
  • parameter :
    pointer enc_buf_size : argument from user space ioctl parameter, it means request buffer size.
Examples:
capture_raw.c, main-bitstream-record.c, mjpeg-record.c, motion-detection-mpeg4.c, motion-detection.c, mpeg4-record.c, roi.c, snapshot.c, sub-bitstream-record.c, update-bitrate.c, and update-record-setting.c.

Definition at line 84 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SNAP   _IOWR(DVR_ENC_IOC_MAGIC, 9, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SIZE, &enc_buf_size);

  • explanation : get snapshot buffer to user space
  • parameter :
    pointer queue_data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get
Examples:
motion-detection-mpeg4.c, motion-detection.c, and snapshot.c.

Definition at line 93 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SNAP_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 10, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SNAP_OFFSET, &bs_buf_snap_offset)

  • explanation : get output buffer offset for snapshot to user space
  • parameter :
    pointer bs_buf_snap_offset : argument from user space ioctl parameter, it means snapshot offset.
Examples:
motion-detection-mpeg4.c, motion-detection.c, snapshot.c, sub-bitstream-record.c, and update-record-setting.c.

Definition at line 103 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB1_BS   _IOWR(DVR_ENC_IOC_MAGIC, 11, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB1_BS, &data) :

  • explanation : get sub1-bitstream buffer to user space.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get
Examples:
capture_raw.c, roi.c, sub-bitstream-record.c, and update-record-setting.c.

Definition at line 112 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB2_BS   _IOWR(DVR_ENC_IOC_MAGIC, 12, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB2_BS, &data)

  • explanation : get sub2-bitstream buffer to user space.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get
Examples:
sub-bitstream-record.c, and update-record-setting.c.

Definition at line 121 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB1_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 13, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SUB1_BS_OFFSET, &sub1_bs_buf_offset)

  • explanation : get output buffer offset for Sub1-bitstream to user space
  • parameter :
    pointer sub1_bs_buf_offset : argument from user space ioctl parameter, it means sub1 bitstream buffer offset.
Examples:
capture_raw.c, roi.c, sub-bitstream-record.c, and update-record-setting.c.

Definition at line 131 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB2_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 14, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SUB2_BS_OFFSET, &sub2_bs_buf_offset)

  • explanation : get output buffer offset for Sub2-bitstream to user space
  • parameter :
    pointer sub2_bs_buf_offset : argument from user space ioctl parameter, it means sub2 bitstream buffer offset.
Examples:
sub-bitstream-record.c, and update-record-setting.c.

Definition at line 141 of file dvr_enc_ioctl.h.

#define DVR_ENC_RESET_INTRA   _IOR(DVR_ENC_IOC_MAGIC, 15, int)

ioctl(enc_fd, DVR_ENC_RESET_INTRA, &stream_num)

  • explanation : get i-frame as possible
  • parameter :
    pointer stream_num : argument from user space ioctl parameter, it means structure main-bitstream or sub1-bitstream or sub2-bitstream

Definition at line 150 of file dvr_enc_ioctl.h.

#define DVR_ENC_SET_SUB_BS_PARAM   _IOW(DVR_ENC_IOC_MAGIC, 16, int)

ioctl(enc_fd, DVR_ENC_SET_SUB_BS_PARAM, &sub_bitstream)

  • explanation : get sub-bitstream parameter from user space, and set sub-bitstream parameter to device driver
  • parameter :
    pointer sub_bitstream : argument from user space ioctl parameter, it means structure ReproduceBitStream
Examples:
capture_raw.c, roi.c, sub-bitstream-record.c, and update-record-setting.c.

Definition at line 159 of file dvr_enc_ioctl.h.

#define DVR_ENC_SWAP_INTRA   _IOR(DVR_ENC_IOC_MAGIC, 18, int)

ioctl(enc_fd, DVR_ENC_SWAP_INTRA, &stream_num)

  • explanation : get i-frame definitely when next switch
  • parameter :
    pointer stream_num : argument from user space ioctl parameter, it means structure main-bitstream or sub1-bitstream or sub2-bitstream

Definition at line 168 of file dvr_enc_ioctl.h.

#define DVR_ENC_SUB_PATH_DENOISE_CTRL   _IOW(DVR_ENC_IOC_MAGIC, 19, int)

ioctl(enc_fd, DVR_ENC_SUB_PATH_DENOISE_CTRL, &control)

  • explanation : get denoise option from user space, and set to device driver
  • parameter :
    pointer control : argument from user space ioctl parameter, it means denoise on/off

Definition at line 177 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB3_BS   _IOWR(DVR_ENC_IOC_MAGIC, 20, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB3_BS, &data)

  • explanation : get sub3-bitstream buffer to user space.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get

Definition at line 186 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB4_BS   _IOWR(DVR_ENC_IOC_MAGIC, 21, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB4_BS, &data)

  • explanation : get sub4-bitstream buffer to user space.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get

Definition at line 195 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB5_BS   _IOWR(DVR_ENC_IOC_MAGIC, 22, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB5_BS, &data)

  • explanation : get sub5-bitstream buffer to user space.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get

Definition at line 204 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB6_BS   _IOWR(DVR_ENC_IOC_MAGIC, 23, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB6_BS, &data)

  • explanation : get sub6-bitstream buffer to user space.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get

Definition at line 213 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB7_BS   _IOWR(DVR_ENC_IOC_MAGIC, 24, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB7_BS, &data)

  • explanation : get sub7-bitstream buffer to user space.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get

Definition at line 222 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB8_BS   _IOWR(DVR_ENC_IOC_MAGIC, 25, dvr_enc_queue_get)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB8_BS, &data)

  • explanation : get sub8-bitstream buffer to user space.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_queue_get

Definition at line 231 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB3_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 26, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SUB3_BS_OFFSET, &sub3_bs_buf_offset)

  • explanation : get output buffer offset for Sub3-bitstream to user space
  • parameter :
    pointer sub3_bs_buf_offset : argument from user space ioctl parameter, it means sub3 bitstream buffer offset.

Definition at line 241 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB4_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 27, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SUB4_BS_OFFSET, &sub4_bs_buf_offset)

  • explanation : get output buffer offset for Sub4-bitstream to user space
  • parameter :
    pointer sub4_bs_buf_offset : argument from user space ioctl parameter, it means sub4 bitstream buffer offset.

Definition at line 251 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB5_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 28, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SUB5_BS_OFFSET, &sub5_bs_buf_offset)

  • explanation : get output buffer offset for Sub5-bitstream to user space
  • parameter :
    pointer sub5_bs_buf_offset : argument from user space ioctl parameter, it means sub5 bitstream buffer offset.

Definition at line 261 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB6_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 29, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SUB6_BS_OFFSET, &sub6_bs_buf_offset)

  • explanation : get output buffer offset for Sub6-bitstream to user space
  • parameter :
    pointer sub6_bs_buf_offset : argument from user space ioctl parameter, it means sub6 bitstream buffer offset.

Definition at line 271 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB7_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 30, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SUB7_BS_OFFSET, &sub7_bs_buf_offset)

  • explanation : get output buffer offset for Sub7-bitstream to user space
  • parameter :
    pointer sub7_bs_buf_offset : argument from user space ioctl parameter, it means sub7 bitstream buffer offset.

Definition at line 281 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUERY_OUTPUT_BUFFER_SUB8_BS_OFFSET   _IOR(DVR_ENC_IOC_MAGIC, 31, int)

ioctl(enc_fd, DVR_ENC_QUERY_OUTPUT_BUFFER_SUB8_BS_OFFSET, &sub8_bs_buf_offset)

  • explanation : get output buffer offset for Sub8-bitstream to user space
  • parameter :
    pointer sub8_bs_buf_offset : argument from user space ioctl parameter, it means sub8 bitstream buffer offset.

Definition at line 291 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 35, dvr_enc_copy_buf)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_COPY, &data)

  • explanation : Get buffer and copy to user space. It includes the bitstream length.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_copy_buf

Definition at line 300 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB1_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 36, dvr_enc_copy_buf)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB1_BS_COPY, &data)

  • explanation : get and copy sub8-bitstream to user space buffer.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_copy_buf

Definition at line 309 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB2_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 37, dvr_enc_copy_buf)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB2_BS_COPY, &data)

  • explanation : get and copy sub8-bitstream to user space buffer.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_copy_buf

Definition at line 318 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB3_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 38, dvr_enc_copy_buf)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB3_BS_COPY, &data)

  • explanation : get and copy sub8-bitstream to user space buffer.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_copy_buf

Definition at line 327 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB4_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 39, dvr_enc_copy_buf)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB4_BS_COPY, &data)

  • explanation : get and copy sub8-bitstream to user space buffer.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_copy_buf

Definition at line 336 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB5_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 40, dvr_enc_copy_buf)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB5_BS_COPY, &data)

  • explanation : get and copy sub8-bitstream to user space buffer.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_copy_buf

Definition at line 345 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB6_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 41, dvr_enc_copy_buf)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB6_BS_COPY, &data)

  • explanation : get and copy sub8-bitstream to user space buffer.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_copy_buf

Definition at line 354 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB7_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 42, dvr_enc_copy_buf)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB7_BS_COPY, &data)

  • explanation : get and copy sub8-bitstream to user space buffer.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_copy_buf

Definition at line 363 of file dvr_enc_ioctl.h.

#define DVR_ENC_QUEUE_GET_SUB8_BS_COPY   _IOWR(DVR_ENC_IOC_MAGIC, 43, dvr_enc_copy_buf)

ioctl(enc_fd, DVR_ENC_QUEUE_GET_SUB8_BS_COPY, &data)

  • explanation : get and copy sub8-bitstream to user space buffer.
  • parameter :
    pointer data : argument from user space ioctl parameter, it means structure dvr_enc_copy_buf

Definition at line 373 of file dvr_enc_ioctl.h.

Generated on Wed Jun 15 2011 15:51:00 for This describe GM8126 ioctl functions by  doxygen 1.7.1