Lines Matching refs:v4l2_buf_ptr
9069 struct v4l2_buffer *v4l2_buf_ptr = NULL;
9132 v4l2_buf_ptr = (v4l2_buffer*)vdec_msg->msgdata.input_frame_clientdata;
9133 if (omx->m_inp_mem_ptr == NULL || v4l2_buf_ptr == NULL ||
9134 v4l2_buf_ptr->index >= omx->drv_ctx.ip_buf.actualcount) {
9140 omxhdr = omx->m_inp_mem_ptr + v4l2_buf_ptr->index;
9142 if (v4l2_buf_ptr->flags & V4L2_QCOM_BUF_INPUT_UNSUPPORTED) {
9147 if (v4l2_buf_ptr->flags & V4L2_QCOM_BUF_DATA_CORRUPT) {
9161 if (v4l2_buf_ptr->flags & V4L2_BUF_FLAG_KEYFRAME ||
9162 v4l2_buf_ptr->flags & V4L2_QCOM_BUF_FLAG_IDRFRAME) {
9182 v4l2_buf_ptr = (v4l2_buffer*)vdec_msg->msgdata.output_frame.client_data;
9183 if (v4l2_buf_ptr == NULL || omx->m_out_mem_ptr == NULL ||
9184 v4l2_buf_ptr->index >= omx->drv_ctx.op_buf.actualcount) {
9189 plane = v4l2_buf_ptr->m.planes;
9190 omxhdr = omx->m_out_mem_ptr + v4l2_buf_ptr->index;
9203 if (v4l2_buf_ptr->flags & V4L2_QCOM_BUF_FLAG_EOS) {
9210 if (v4l2_buf_ptr->flags & V4L2_BUF_FLAG_KEYFRAME || v4l2_buf_ptr->flags & V4L2_QCOM_BUF_FLAG_IDRFRAME) {
9215 if (v4l2_buf_ptr->flags & V4L2_QCOM_BUF_FLAG_EOSEQ) {
9218 if (v4l2_buf_ptr->flags & V4L2_QCOM_BUF_FLAG_DECODEONLY) {
9221 if (v4l2_buf_ptr->flags & V4L2_MSM_BUF_FLAG_MBAFF) {
9224 if (v4l2_buf_ptr->flags & V4L2_QCOM_BUF_FLAG_READONLY) {
9227 omx->drv_ctx.ptr_outputbuffer[v4l2_buf_ptr->index].pmem_fd);
9230 if (omxhdr && (v4l2_buf_ptr->flags & V4L2_QCOM_BUF_DROP_FRAME) &&
9232 !(v4l2_buf_ptr->flags & V4L2_QCOM_BUF_FLAG_DECODEONLY) &&
9233 !(v4l2_buf_ptr->flags & V4L2_QCOM_BUF_FLAG_EOS)) {
9245 if (v4l2_buf_ptr->flags & V4L2_QCOM_BUF_DATA_CORRUPT) {
9258 if (v4l2_buf_ptr->flags & V4L2_BUF_FLAG_KEYFRAME) {
9261 if (v4l2_buf_ptr->flags & V4L2_BUF_FLAG_PFRAME) {
9264 if (v4l2_buf_ptr->flags & V4L2_BUF_FLAG_BFRAME) {
9340 omx->drv_ctx.ptr_outputbuffer[v4l2_buf_ptr->index].bufferaddr;
9349 omx->drv_ctx.ptr_outputbuffer[v4l2_buf_ptr->index].pmem_fd,
9351 vdec_msg->msgdata.output_frame.pic_type, v4l2_buf_ptr->flags,