Home
last modified time | relevance | path

Searched refs:video_driver_fd (Results 1 – 7 of 7) sorted by relevance

/hardware/qcom/media/mm-video/vidc/venc/test/
Dvideo_encoder_test.c95 encoder_context->video_driver_fd = -1; in main()
237 init_decode->video_driver_fd = open ("/dev/msm_vidc_enc", \ in init_encoder()
242 if (init_decode->video_driver_fd < 0) in init_encoder()
262 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_BASE_CFG, in init_encoder()
274 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_RATE_CTRL_CFG, in init_encoder()
287 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_CODEC_PROFILE, in init_encoder()
298 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_PROFILE_LEVEL, in init_encoder()
311 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_CODEC_PROFILE, in init_encoder()
322 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_PROFILE_LEVEL, in init_encoder()
339 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_GET_INPUT_BUFFER_REQ, in init_encoder()
[all …]
/hardware/qcom/media/mm-video/vidc/vdec/test/
Ddecoder_driver_test.c96 decoder_context->video_driver_fd = -1; in main()
231 init_decode->video_driver_fd = open ("/dev/msm_vidc_dec", \ in init_decoder()
236 if (init_decode->video_driver_fd < 0) in init_decoder()
247 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_CODEC, in init_decoder()
258 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_OUTPUT_FORMAT, in init_decoder()
268 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_PICRES, in init_decoder()
283 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ, in init_decoder()
301 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_BUFFER_REQ, in init_decoder()
314 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ, in init_decoder()
586 if (ioctl (decode_context->video_driver_fd,VDEC_IOCTL_SET_BUFFER, in allocate_buffer()
[all …]
/hardware/qcom/media/mm-video/vidc/venc/inc/
Dvideo_encoder_test.h57 int video_driver_fd; member
/hardware/qcom/media/mm-video/vidc/vdec/inc/
Ddecoder_driver_test.h51 int video_driver_fd; member
Domx_vdec.h230 int video_driver_fd; member
/hardware/qcom/media/mm-video/vidc/vdec/src/
Domx_vdec.cpp168 error_code = ioctl ( omx->drv_ctx.video_driver_fd,VDEC_IOCTL_GET_NEXT_MSG, in async_message_thread()
538 drv_ctx.video_driver_fd = -1; in omx_vdec()
858 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
926 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
969 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
1198 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1201 drv_ctx.video_driver_fd, errno); in component_init()
1203 if(drv_ctx.video_driver_fd == 0){ in component_init()
1204 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1207 if(drv_ctx.video_driver_fd < 0) in component_init()
[all …]
Domx_vdec_copper.cpp139 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
557 drv_ctx.video_driver_fd = -1;
596 close(drv_ctx.video_driver_fd); in ~omx_vdec()
1205 drv_ctx.video_driver_fd = open("/dev/video32", O_RDWR); in component_init()
1208 drv_ctx.video_driver_fd, errno); in component_init()
1210 if(drv_ctx.video_driver_fd == 0){ in component_init()
1211 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1214 if(drv_ctx.video_driver_fd < 0) in component_init()
1369 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_SUBSCRIBE_EVENT, &sub); in component_init()
1376 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_QUERYCAP, &cap); in component_init()
[all …]