Lines Matching refs:vdec_msg
127 struct vdec_msginfo vdec_msg;
160 vdec_msg.msgcode=VDEC_MSG_RESP_OUTPUT_BUFFER_DONE;
161 vdec_msg.status_code=VDEC_S_SUCCESS;
162 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
163 vdec_msg.msgdata.output_frame.len=plane.bytesused;
164 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane.m.userptr;
176 vdec_msg.msgcode=VDEC_MSG_RESP_INPUT_BUFFER_DONE;
177 vdec_msg.status_code=VDEC_S_SUCCESS;
178 vdec_msg.msgdata.input_frame_clientdata=(void*)&v4l2_buf;
182 vdec_msg.msgcode=VDEC_MSG_EVT_CONFIG_CHANGED;
183 vdec_msg.status_code=VDEC_S_SUCCESS;
186 vdec_msg.msgcode=VDEC_MSG_RESP_FLUSH_OUTPUT_DONE;
187 vdec_msg.status_code=VDEC_S_SUCCESS;
199 if (omx->async_message_process(input,&vdec_msg) < 0) {
6317 struct vdec_msginfo *vdec_msg = NULL;
6327 vdec_msg = (struct vdec_msginfo *)message;
6334 if ( (vdec_msg->msgcode == VDEC_MSG_RESP_OUTPUT_BUFFER_DONE) &&
6340 vdec_msg->msgdata.output_frame.time_stamp, expected_ts);
6342 if (vdec_msg->msgdata.output_frame.time_stamp != expected_ts)
6350 switch (vdec_msg->msgcode)
6354 omx->post_event (NULL,vdec_msg->status_code,\
6359 omx->post_event (NULL,vdec_msg->status_code,\
6364 omx->post_event (NULL,vdec_msg->status_code,\
6369 omx->post_event (NULL,vdec_msg->status_code,\
6374 omx->post_event (NULL,vdec_msg->status_code,\
6379 omx->post_event (NULL,vdec_msg->status_code,\
6383 omx->post_event (NULL,vdec_msg->status_code,\
6390 // vdec_msg->msgdata.input_frame_clientdata;
6392 v4l2_buf_ptr = (v4l2_buffer*)vdec_msg->msgdata.input_frame_clientdata;
6398 vdec_msg->status_code = VDEC_S_EFATAL;
6401 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code,
6408 *timestamp = vdec_msg->msgdata.output_frame.time_stamp;
6409 omx->post_event ((unsigned int)timestamp, vdec_msg->status_code,
6412 vdec_msg->msgdata.output_frame.time_stamp);
6418 v4l2_buf_ptr = (v4l2_buffer*)vdec_msg->msgdata.output_frame.client_data;
6421 omxhdr, vdec_msg->msgdata.output_frame.time_stamp,
6422 vdec_msg->msgdata.output_frame.pic_type);
6429 if ( vdec_msg->msgdata.output_frame.len <= omxhdr->nAllocLen)
6431 omxhdr->nFilledLen = vdec_msg->msgdata.output_frame.len;
6432 omxhdr->nOffset = vdec_msg->msgdata.output_frame.offset;
6441 vdec_msg->msgdata.output_frame.bufferaddr=omx->drv_ctx.ptr_outputbuffer[v4l2_buf_ptr->index].bufferaddr;
6445 // vdec_msg->msgdata.output_frame.framesize.bottom;
6447 // vdec_msg->msgdata.output_frame.framesize.left;
6449 // vdec_msg->msgdata.output_frame.framesize.right;
6451 // vdec_msg->msgdata.output_frame.framesize.top;
6452 output_respbuf->len = vdec_msg->msgdata.output_frame.len;
6453 output_respbuf->offset = vdec_msg->msgdata.output_frame.offset;
6454 // output_respbuf->time_stamp = vdec_msg->msgdata.output_frame.time_stamp;
6455 // output_respbuf->flags = vdec_msg->msgdata.output_frame.flags;
6456 // output_respbuf->pic_type = vdec_msg->msgdata.output_frame.pic_type;
6457 // output_respbuf->interlaced_format = vdec_msg->msgdata.output_frame.interlaced_format;
6461 (vdec_msg->msgdata.output_frame.bufferaddr +
6462 vdec_msg->msgdata.output_frame.offset),
6463 vdec_msg->msgdata.output_frame.len );
6467 omx->post_event ((unsigned int)omxhdr, vdec_msg->status_code,
6470 else if (vdec_msg->msgdata.output_frame.flags & OMX_BUFFERFLAG_EOS)
6471 omx->post_event (NULL, vdec_msg->status_code,
6474 omx->post_event (NULL, vdec_msg->status_code,
6479 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code,
6489 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code,