Home | History | Annotate | Download | only in src

Lines Matching refs:output_frame

169                 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf;
170 vdec_msg.msgdata.output_frame.len=plane[0].bytesused;
171 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr;
172 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000) +
174 if (vdec_msg.msgdata.output_frame.len) {
175 vdec_msg.msgdata.output_frame.framesize.left = plane[0].reserved[2];
176 vdec_msg.msgdata.output_frame.framesize.top = plane[0].reserved[3];
177 vdec_msg.msgdata.output_frame.framesize.right = plane[0].reserved[4];
178 vdec_msg.msgdata.output_frame.framesize.bottom = plane[0].reserved[5];
261 vdec_msg.msgdata.output_frame.client_data = (void*)&v4l2_buf;
262 vdec_msg.msgdata.output_frame.len = 0;
263 vdec_msg.msgdata.output_frame.bufferaddr = (void*)(intptr_t)ptr[2];
264 vdec_msg.msgdata.output_frame.time_stamp = ((uint64_t)ptr[3] * (uint64_t)1000000) +
7025 *timestamp = vdec_msg->msgdata.output_frame.time_stamp;
7029 vdec_msg->msgdata.output_frame.time_stamp);
7035 v4l2_buf_ptr = (v4l2_buffer*)vdec_msg->msgdata.output_frame.client_data;
7038 omxhdr, vdec_msg->msgdata.output_frame.time_stamp,
7039 vdec_msg->msgdata.output_frame.pic_type);
7045 if (omx->dynamic_buf_mode && vdec_msg->msgdata.output_frame.len) {
7046 vdec_msg->msgdata.output_frame.len = omxhdr->nAllocLen;
7048 if ( vdec_msg->msgdata.output_frame.len <= omxhdr->nAllocLen) {
7049 omxhdr->nFilledLen = vdec_msg->msgdata.output_frame.len;
7050 omxhdr->nOffset = vdec_msg->msgdata.output_frame.offset;
7051 omxhdr->nTimeStamp = vdec_msg->msgdata.output_frame.time_stamp;
7098 vdec_msg->msgdata.output_frame.bufferaddr =
7103 if ((vdec_msg->msgdata.output_frame.framesize.bottom != omx->drv_ctx.video_resolution.frame_height) ||
7104 (vdec_msg->msgdata.output_frame.framesize.right != omx->drv_ctx.video_resolution.frame_width)) {
7106 omx->drv_ctx.video_resolution.frame_height = vdec_msg->msgdata.output_frame.framesize.bottom;
7107 omx->drv_ctx.video_resolution.frame_width = vdec_msg->msgdata.output_frame.framesize.right;
7112 vdec_msg->msgdata.output_frame.framesize.left)
7113 || ((unsigned)omx->rectangle.nTop != vdec_msg->msgdata.output_frame.framesize.top)
7114 || (omx->rectangle.nWidth != vdec_msg->msgdata.output_frame.framesize.right)
7115 || (omx->rectangle.nHeight != vdec_msg->msgdata.output_frame.framesize.bottom))) {
7116 if ((vdec_msg->msgdata.output_frame.framesize.bottom != omx->drv_ctx.video_resolution.frame_height) ||
7117 (vdec_msg->msgdata.output_frame.framesize.right != omx->drv_ctx.video_resolution.frame_width)) {
7118 omx->drv_ctx.video_resolution.frame_height = vdec_msg->msgdata.output_frame.framesize.bottom;
7119 omx->drv_ctx.video_resolution.frame_width = vdec_msg->msgdata.output_frame.framesize.right;
7121 omx->drv_ctx.video_resolution.frame_width, vdec_msg->msgdata.output_frame.framesize.right,
7122 omx->drv_ctx.video_resolution.frame_height, vdec_msg->msgdata.output_frame.framesize.bottom);
7125 (unsigned int)omx->rectangle.nWidth, vdec_msg->msgdata.output_frame.framesize.right,
7126 (unsigned int)omx->rectangle.nHeight, vdec_msg->msgdata.output_frame.framesize.bottom);
7127 if (vdec_msg->msgdata.output_frame.framesize.left + vdec_msg->msgdata.output_frame.framesize.right >=
7129 vdec_msg->msgdata.output_frame.framesize.left = 0;
7130 if (vdec_msg->msgdata.output_frame.framesize.right > omx->drv_ctx.video_resolution.frame_width) {
7131 vdec_msg->msgdata.output_frame.framesize.right = omx->drv_ctx.video_resolution.frame_width;
7134 if (vdec_msg->msgdata.output_frame.framesize.top + vdec_msg->msgdata.output_frame.framesize.bottom >=
7136 vdec_msg->msgdata.output_frame.framesize.top = 0;
7137 if (vdec_msg->msgdata.output_frame.framesize.bottom > omx->drv_ctx.video_resolution.frame_height) {
7138 vdec_msg->msgdata.output_frame.framesize.bottom = omx->drv_ctx.video_resolution.frame_height;
7142 vdec_msg->msgdata.output_frame.framesize.left,
7143 vdec_msg->msgdata.output_frame.framesize.top,
7144 vdec_msg->msgdata.output_frame.framesize.right,
7145 vdec_msg->msgdata.output_frame.framesize.bottom,
7148 omx->rectangle.nLeft = vdec_msg->msgdata.output_frame.framesize.left;
7149 omx->rectangle.nTop = vdec_msg->msgdata.output_frame.framesize.top;
7150 omx->rectangle.nWidth = vdec_msg->msgdata.output_frame.framesize.right;
7151 omx->rectangle.nHeight = vdec_msg->msgdata.output_frame.framesize.bottom;
7155 vdec_msg->msgdata.output_frame.framesize.left,vdec_msg->msgdata.output_frame.framesize.right,
7156 vdec_msg->msgdata.output_frame.framesize.top, vdec_msg->msgdata.output_frame.framesize.bottom);
7174 output_respbuf->len = vdec_msg->msgdata.output_frame.len;
7175 output_respbuf->offset = vdec_msg->msgdata.output_frame.offset;
7188 ((unsigned long)vdec_msg->msgdata.output_frame.bufferaddr +
7189 (unsigned long)vdec_msg->msgdata.output_frame.offset),
7190 vdec_msg->msgdata.output_frame.len);
7195 } else if (vdec_msg->msgdata.output_frame.flags & OMX_BUFFERFLAG_EOS)