static int fimc_is_scc_video_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf) { int ret = 0; struct fimc_is_video_ctx *video_ctx = file->private_data; ret = fimc_is_video_dqbuf(video_ctx, buf, file->f_flags & O_NONBLOCK); #ifdef DBG_STREAMING /*dbg_scc("%s(index : %d)\n", __func__, buf->index);*/ #endif return ret; }
static int fimc_is_bayer_video_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf) { int ret = 0; struct fimc_is_video_sensor *video = file->private_data; bool blocking = file->f_flags & O_NONBLOCK; ret = fimc_is_video_dqbuf(&video->common, buf, blocking); #ifdef DBG_STREAMING /*dbg_sensor("%s(index : %d)\n", __func__, buf->index);*/ #endif return ret; }
static int fimc_is_scp_video_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf) { int ret = 0; struct fimc_is_video_ctx *vctx = file->private_data; #ifdef DBG_STREAMING mdbgv_scp("%s\n", vctx, __func__); #endif ret = fimc_is_video_dqbuf(file, vctx, buf); if (ret) merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret); return ret; }
static int fimc_is_sen_video_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf) { int ret = 0; bool blocking; struct fimc_is_video_ctx *vctx = file->private_data; #ifdef DBG_STREAMING mdbgv_sensor("%s\n", vctx, __func__); #endif ret = fimc_is_video_dqbuf(file, vctx, buf); if (ret) { blocking = file->f_flags & O_NONBLOCK; if (!blocking || (ret != -EAGAIN)) merr("fimc_is_video_dqbuf is fail(%d)", vctx, ret); } return ret; }