Searched refs:video_driver_fd (Results 1 - 24 of 24) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
H A Dvideo_encoder_test.c95 encoder_context->video_driver_fd = -1;
237 init_decode->video_driver_fd = open ("/dev/msm_vidc_enc", \
242 if (init_decode->video_driver_fd < 0)
262 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_BASE_CFG,
274 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_RATE_CTRL_CFG,
287 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_CODEC_PROFILE,
298 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_PROFILE_LEVEL,
311 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_CODEC_PROFILE,
322 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_PROFILE_LEVEL,
339 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_GET_INPUT_BUFFER_RE
[all...]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
H A Ddecoder_driver_test.h51 int video_driver_fd; member in struct:video_decoder_context
H A Domx_vdec.h229 int video_driver_fd; member in struct:video_driver_context
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
H A Dvideo_encoder_test.h57 int video_driver_fd; member in struct:video_encoder_context
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
H A Ddecoder_driver_test.h50 int video_driver_fd; member in struct:video_decoder_context
H A Domx_vdec_hevc.h225 int video_driver_fd; member in struct:video_driver_context
H A Domx_vdec.h260 int video_driver_fd; member in struct:video_driver_context
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_test.h56 int video_driver_fd; member in struct:video_encoder_context
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
H A Ddecoder_driver_test.h50 int video_driver_fd; member in struct:video_decoder_context
H A Domx_vdec_hevc.h226 int video_driver_fd; member in struct:video_driver_context
H A Domx_vdec.h255 int video_driver_fd; member in struct:video_driver_context
H A Domx_vdec_hevc_swvdec.h250 int video_driver_fd; member in struct:video_driver_context
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_test.h56 int video_driver_fd; member in struct:video_encoder_context
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
H A Ddecoder_driver_test.c96 decoder_context->video_driver_fd = -1;
231 init_decode->video_driver_fd = open ("/dev/msm_vidc_dec", \
236 if (init_decode->video_driver_fd < 0)
247 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_CODEC,
258 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_OUTPUT_FORMAT,
268 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_PICRES,
283 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ,
301 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_BUFFER_REQ,
314 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ,
586 if (ioctl (decode_context->video_driver_fd,VDEC_IOCTL_SET_BUFFE
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
H A Ddecoder_driver_test.c96 decoder_context->video_driver_fd = -1;
222 init_decode->video_driver_fd = open ("/dev/msm_vidc_dec", \
227 if (init_decode->video_driver_fd < 0) {
237 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_CODEC,
247 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_OUTPUT_FORMAT,
256 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_PICRES,
271 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ,
288 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_BUFFER_REQ,
300 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ,
545 if (ioctl (decode_context->video_driver_fd,VDEC_IOCTL_SET_BUFFE
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp163 pfds[0].fd = omx->drv_ctx.video_driver_fd;
654 drv_ctx.video_driver_fd = -1;
897 unsubscribe_to_events(drv_ctx.video_driver_fd);
899 close(drv_ctx.video_driver_fd);
908 DEBUG_PRINT_INFO("Exit OMX vdec Destructor: fd=%d",drv_ctx.video_driver_fd);
920 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
925 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
960 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_EXT_CTRLS, &controls);
1043 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_CTRL, &control);
1091 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_G_FM
[all...]
H A Domx_vdec_hevc.cpp145 pfd.fd = omx->drv_ctx.video_driver_fd;
589 drv_ctx.video_driver_fd = -1;
697 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) {
701 unsubscribe_to_events(drv_ctx.video_driver_fd);
702 close(drv_ctx.video_driver_fd);
721 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
1043 if (/*ioctl (pThis->drv_ctx.video_driver_fd,
1241 drv_ctx.video_driver_fd = open(device_name, O_RDWR);
1244 device_name, drv_ctx.video_driver_fd, errno);
1246 if (drv_ctx.video_driver_fd
[all...]
H A Domx_vdec_hevc_swvdec.cpp134 pfd.fd = omx->drv_ctx.video_driver_fd;
677 drv_ctx.video_driver_fd = -1;
798 DEBUG_PRINT_HIGH("Waiting on OMX Async Thread exit driver id %d", drv_ctx.video_driver_fd);
800 if (drv_ctx.video_driver_fd >=0 )
803 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec))
812 unsubscribe_to_events(drv_ctx.video_driver_fd);
813 close(drv_ctx.video_driver_fd);
846 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
851 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
1340 if (/*ioctl (pThis->drv_ctx.video_driver_fd,
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_msm8974.cpp151 pfd.fd = omx->drv_ctx.video_driver_fd;
690 drv_ctx.video_driver_fd = -1;
812 if (drv_ctx.video_driver_fd >=0 ) {
813 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec))
818 unsubscribe_to_events(drv_ctx.video_driver_fd);
819 close(drv_ctx.video_driver_fd);
828 DEBUG_PRINT_INFO("Exit OMX vdec Destructor: fd=%d",drv_ctx.video_driver_fd);
839 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
844 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
1165 if (/*ioctl (pThis->drv_ctx.video_driver_fd,
[all...]
H A Domx_vdec.cpp177 error_code = ioctl ( omx->drv_ctx.video_driver_fd,VDEC_IOCTL_GET_NEXT_MSG,
541 drv_ctx.video_driver_fd = -1;
592 close (drv_ctx.video_driver_fd);
593 drv_ctx.video_driver_fd = -1;
859 if (ioctl (pThis->drv_ctx.video_driver_fd,
918 if (ioctl (pThis->drv_ctx.video_driver_fd,
953 if (ioctl (pThis->drv_ctx.video_driver_fd,
1199 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK);
1202 drv_ctx.video_driver_fd, errno);
1204 if (drv_ctx.video_driver_fd
[all...]
H A Domx_vdec_hevc.cpp149 pfd.fd = omx->drv_ctx.video_driver_fd;
594 drv_ctx.video_driver_fd = -1;
702 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) {
706 unsubscribe_to_events(drv_ctx.video_driver_fd);
707 close(drv_ctx.video_driver_fd);
726 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
1048 if (/*ioctl (pThis->drv_ctx.video_driver_fd,
1246 drv_ctx.video_driver_fd = open(device_name, O_RDWR);
1249 device_name, drv_ctx.video_driver_fd, errno);
1251 if (drv_ctx.video_driver_fd
[all...]
H A Domx_vdec_hevc_swvdec.cpp140 pfd.fd = omx->drv_ctx.video_driver_fd;
669 drv_ctx.video_driver_fd = -1;
790 DEBUG_PRINT_HIGH("Waiting on OMX Async Thread exit driver id %d", drv_ctx.video_driver_fd);
792 if (drv_ctx.video_driver_fd >=0 )
795 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec))
804 unsubscribe_to_events(drv_ctx.video_driver_fd);
805 close(drv_ctx.video_driver_fd);
838 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
843 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq);
1323 if (/*ioctl (pThis->drv_ctx.video_driver_fd,
[all...]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec.cpp176 error_code = ioctl ( omx->drv_ctx.video_driver_fd,VDEC_IOCTL_GET_NEXT_MSG,
548 drv_ctx.video_driver_fd = -1;
875 if (ioctl (pThis->drv_ctx.video_driver_fd,
943 if (ioctl (pThis->drv_ctx.video_driver_fd,
986 if (ioctl (pThis->drv_ctx.video_driver_fd,
1232 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK);
1235 drv_ctx.video_driver_fd, errno);
1237 if(drv_ctx.video_driver_fd == 0){
1238 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK);
1241 if(drv_ctx.video_driver_fd <
[all...]
H A Domx_vdec_copper.cpp135 pfd.fd = omx->drv_ctx.video_driver_fd;
550 drv_ctx.video_driver_fd = -1;
589 close(drv_ctx.video_driver_fd);
870 if (/*ioctl (pThis->drv_ctx.video_driver_fd,
938 if (/*ioctl (pThis->drv_ctx.video_driver_fd,
981 if (/*ioctl (pThis->drv_ctx.video_driver_fd,
1198 drv_ctx.video_driver_fd = open("/dev/video32", O_RDWR);
1201 drv_ctx.video_driver_fd, errno);
1203 if(drv_ctx.video_driver_fd == 0){
1204 drv_ctx.video_driver_fd
[all...]

Completed in 276 milliseconds