Home | History | Annotate | Download | only in src

Lines Matching refs:vdec_msg

167     struct vdec_msginfo vdec_msg;
175 ioctl_msg.out = (void*)&vdec_msg;
186 else if (omx->async_message_process(input,&vdec_msg) < 0) {
6549 struct vdec_msginfo *vdec_msg = NULL;
6558 vdec_msg = (struct vdec_msginfo *)message;
6565 if ( (vdec_msg->msgcode == VDEC_MSG_RESP_OUTPUT_BUFFER_DONE) &&
6570 vdec_msg->msgdata.output_frame.time_stamp, expected_ts);
6572 if (vdec_msg->msgdata.output_frame.time_stamp != expected_ts) {
6580 switch (vdec_msg->msgcode) {
6583 omx->post_event (NULL,vdec_msg->status_code,\
6588 omx->post_event (NULL,vdec_msg->status_code,\
6593 omx->post_event (NULL,vdec_msg->status_code,\
6598 omx->post_event (NULL,vdec_msg->status_code,\
6603 omx->post_event (NULL,vdec_msg->status_code,\
6608 omx->post_event (NULL,vdec_msg->status_code,\
6612 omx->post_event (NULL,vdec_msg->status_code,\
6619 vdec_msg->msgdata.input_frame_clientdata;
6625 vdec_msg->status_code = VDEC_S_EFATAL;
6628 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code,
6636 *timestamp = vdec_msg->msgdata.output_frame.time_stamp;
6637 omx->post_event ((unsigned int)timestamp, vdec_msg->status_code,
6640 vdec_msg->msgdata.output_frame.time_stamp);
6646 omxhdr = (OMX_BUFFERHEADERTYPE*)vdec_msg->msgdata.output_frame.client_data;
6648 omxhdr, vdec_msg->msgdata.output_frame.time_stamp,
6649 vdec_msg->msgdata.output_frame.pic_type);
6654 if (vdec_msg->msgdata.output_frame.pic_type == PICTURE_TYPE_IDR)
6655 vdec_msg->msgdata.output_frame.flags |= OMX_BUFFERFLAG_SYNCFRAME;
6657 vdec_msg->msgdata.output_frame.flags &= ~OMX_BUFFERFLAG_SYNCFRAME;
6660 if (vdec_msg->msgdata.output_frame.pic_type == PICTURE_TYPE_I)
6661 vdec_msg->msgdata.output_frame.flags |= OMX_BUFFERFLAG_SYNCFRAME;
6663 vdec_msg->msgdata.output_frame.flags &= ~OMX_BUFFERFLAG_SYNCFRAME;
6670 if (vdec_msg->msgdata.output_frame.len <= omxhdr->nAllocLen) {
6671 omxhdr->nFilledLen = vdec_msg->msgdata.output_frame.len;
6672 omxhdr->nOffset = vdec_msg->msgdata.output_frame.offset;
6673 omxhdr->nTimeStamp = vdec_msg->msgdata.output_frame.time_stamp;
6674 omxhdr->nFlags = (vdec_msg->msgdata.output_frame.flags);
6679 vdec_msg->msgdata.output_frame.framesize.bottom;
6681 vdec_msg->msgdata.output_frame.framesize.left;
6683 vdec_msg->msgdata.output_frame.framesize.right;
6685 vdec_msg->msgdata.output_frame.framesize.top;
6686 output_respbuf->len = vdec_msg->msgdata.output_frame.len;
6687 output_respbuf->offset = vdec_msg->msgdata.output_frame.offset;
6688 output_respbuf->time_stamp = vdec_msg->msgdata.output_frame.time_stamp;
6689 output_respbuf->flags = vdec_msg->msgdata.output_frame.flags;
6690 output_respbuf->pic_type = vdec_msg->msgdata.output_frame.pic_type;
6691 output_respbuf->interlaced_format = vdec_msg->msgdata.output_frame.interlaced_format;
6693 vdec_msg->msgdata.output_frame.aspect_ratio_info;
6697 (vdec_msg->msgdata.output_frame.bufferaddr +
6698 vdec_msg->msgdata.output_frame.offset),
6699 vdec_msg->msgdata.output_frame.len );
6703 omx->post_event ((unsigned int)omxhdr, vdec_msg->status_code,
6705 } else if (vdec_msg->msgdata.output_frame.flags & OMX_BUFFERFLAG_EOS)
6706 omx->post_event (NULL, vdec_msg->status_code,
6709 omx->post_event (NULL, vdec_msg->status_code,
6715 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code,
6725 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code,