Lines Matching refs:pix_mp

1629 		fmt.fmt.pix_mp.height = drv_ctx.video_resolution_input.frame_height;
1630 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_input.frame_width;
1633 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
1637 fmt.fmt.pix_mp.field = V4L2_FIELD_INTERLACED;
1639 fmt.fmt.pix_mp.pixelformat = output_capability;
1643 setFormatParams(output_capability, drv_ctx.input_bytesperpixel, &(fmt.fmt.pix_mp.num_planes));
1644 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
1646 fmt.fmt.pix_mp.plane_fmt[i].sizeimage = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.input_bytesperpixel[i] * fmt.fmt.pix_mp.height);
1647 fmt.fmt.pix_mp.plane_fmt[i].bytesperline = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.input_bytesperpixel[0]); // NV12 UV plane has the same width as Y, but 1/2 YH
1648 DEBUG_PRINT_HIGH(" fmt.fmt.pix_mp.plane_fmt[%d].sizeimage = %d \n ", i, fmt.fmt.pix_mp.plane_fmt[i].sizeimage);
1664 fmt.fmt.pix_mp.height = drv_ctx.video_resolution_input.frame_height;
1665 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_input.frame_width;
1666 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
1667 fmt.fmt.pix_mp.pixelformat = capture_capability;
1668 DEBUG_PRINT_HIGH("VP output frame width = %d, height = %d", fmt.fmt.pix_mp.width,
1669 fmt.fmt.pix_mp.height);
1671 setFormatParams(capture_capability, drv_ctx.output_bytesperpixel, &(fmt.fmt.pix_mp.num_planes));
1672 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
1674 fmt.fmt.pix_mp.plane_fmt[i].sizeimage = paddedFrameWidth128(fmt.fmt.pix_mp.width *
1676 fmt.fmt.pix_mp.height);
1677 fmt.fmt.pix_mp.plane_fmt[i].bytesperline = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.output_bytesperpixel[0]);
1678 DEBUG_PRINT_HIGH(" fmt.fmt.pix_mp.plane_fmt[%d].sizeimage = %d \n ", i, fmt.fmt.pix_mp.plane_fmt[i].sizeimage);
1689 drv_ctx.video_resolution_output.frame_height = fmt.fmt.pix_mp.height;
1690 drv_ctx.video_resolution_output.frame_width = fmt.fmt.pix_mp.width;
1691 drv_ctx.video_resolution_output.scan_lines = fmt.fmt.pix_mp.height;
1692 drv_ctx.video_resolution_output.stride = fmt.fmt.pix_mp.width;
2981 fmt.fmt.pix_mp.height = drv_ctx.video_resolution_output.frame_height;
2982 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_output.frame_width;
2983 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
2984 fmt.fmt.pix_mp.pixelformat = capture_capability;
2985 DEBUG_PRINT_HIGH("VP output frame width = %d, height = %d, drv_ctx.video_resolution_output.stride = %d, drv_ctx.video_resolution_output.scan_lines = %d", fmt.fmt.pix_mp.width,
2986 fmt.fmt.pix_mp.height, drv_ctx.video_resolution_output.stride, drv_ctx.video_resolution_output.scan_lines);
2989 setFormatParams(capture_capability, drv_ctx.output_bytesperpixel, &(fmt.fmt.pix_mp.num_planes));
2990 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
2992 fmt.fmt.pix_mp.plane_fmt[i].sizeimage = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.output_bytesperpixel[i] * fmt.fmt.pix_mp.height);
2993 fmt.fmt.pix_mp.plane_fmt[i].bytesperline = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.output_bytesperpixel[0]); // both plane have the same plane stride
2994 DEBUG_PRINT_HIGH("before VIDIOC_S_FMT (op) fmt.fmt.pix_mp.plane_fmt[%d].sizeimage = %d \n",i,fmt.fmt.pix_mp.plane_fmt[i].sizeimage);
3000 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
3002 DEBUG_PRINT_HIGH("after VIDIOC_S_FMT (op) fmt.fmt.pix_mp.plane_fmt[%d].sizeimage = %d \n",i,fmt.fmt.pix_mp.plane_fmt[i].sizeimage);
3106 fmt.fmt.pix_mp.height = drv_ctx.video_resolution_input.frame_height;
3107 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_input.frame_width;
3110 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
3114 fmt.fmt.pix_mp.field = V4L2_FIELD_INTERLACED;
3116 fmt.fmt.pix_mp.pixelformat = output_capability;
3120 setFormatParams(output_capability, drv_ctx.input_bytesperpixel, &(fmt.fmt.pix_mp.num_planes));
3121 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
3123 fmt.fmt.pix_mp.plane_fmt[i].sizeimage = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.input_bytesperpixel[i] * fmt.fmt.pix_mp.height);
3124 fmt.fmt.pix_mp.plane_fmt[i].bytesperline = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.input_bytesperpixel[0]); // both plane have the same plane stride
3125 DEBUG_PRINT_HIGH("before VIDIOC_S_FMT (ip) fmt.fmt.pix_mp.plane_fmt[%d].sizeimage = %d \n",i,fmt.fmt.pix_mp.plane_fmt[i].sizeimage);
3130 // for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
3132 //DEBUG_PRINT_HIGH("after VIDIOC_S_FMT (ip) fmt.fmt.pix_mp.plane_fmt[%d].sizeimage = %d \n",i,fmt.fmt.pix_mp.plane_fmt[i].sizeimage);
3150 fmt.fmt.pix_mp.height = drv_ctx.video_resolution_output.frame_height;
3151 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_output.frame_width;
3152 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
3153 fmt.fmt.pix_mp.pixelformat = capture_capability;
3154 DEBUG_PRINT_HIGH("VP output frame width = %d, height = %d, drv_ctx.video_resolution_output.stride = %d, drv_ctx.video_resolution_output.scan_lines = %d", fmt.fmt.pix_mp.width,
3155 fmt.fmt.pix_mp.height, drv_ctx.video_resolution_output.stride, drv_ctx.video_resolution_output.scan_lines);
3158 setFormatParams(capture_capability, drv_ctx.output_bytesperpixel, &(fmt.fmt.pix_mp.num_planes));
3159 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
3161 fmt.fmt.pix_mp.plane_fmt[i].sizeimage = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.output_bytesperpixel[i] * fmt.fmt.pix_mp.height);
3162 fmt.fmt.pix_mp.plane_fmt[i].bytesperline = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.output_bytesperpixel[0]); // both plane have the same plane stride
3163 DEBUG_PRINT_HIGH("before VIDIOC_S_FMT op fmt.fmt.pix_mp.plane_fmt[%d].sizeimage = %d \n",i,fmt.fmt.pix_mp.plane_fmt[i].sizeimage);
3168 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
3170 DEBUG_PRINT_HIGH("after VIDIOC_S_FMT op fmt.fmt.pix_mp.plane_fmt[%d].sizeimage = %d \n",i,fmt.fmt.pix_mp.plane_fmt[i].sizeimage);
3236 fmt.fmt.pix_mp.height = drv_ctx.video_resolution_output.frame_height;
3237 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_output.frame_width;
3238 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
3257 fmt.fmt.pix_mp.pixelformat = capture_capability;
3259 DEBUG_PRINT_HIGH("VP output frame width = %d, height = %d", fmt.fmt.pix_mp.width,
3260 fmt.fmt.pix_mp.height);
3262 setFormatParams(capture_capability, drv_ctx.output_bytesperpixel, &(fmt.fmt.pix_mp.num_planes));
3263 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
3265 fmt.fmt.pix_mp.plane_fmt[i].sizeimage = paddedFrameWidth128(fmt.fmt.pix_mp.width *
3267 fmt.fmt.pix_mp.height);
3268 fmt.fmt.pix_mp.plane_fmt[i].bytesperline = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.output_bytesperpixel[0]);
6855 fmt.fmt.pix_mp.pixelformat = output_capability;
6860 fmt.fmt.pix_mp.pixelformat = capture_capability;
6878 DEBUG_PRINT_LOW("GetBufReq IN: ActCnt(%d) Size(%d), buffer_prop->buffer_type(%d) fmt.fmt.pix_mp.pixelformat (0x%08x)",
6879 buffer_prop->actualcount, buffer_prop->buffer_size, buffer_prop->buffer_type, fmt.fmt.pix_mp.pixelformat);
6883 fmt.fmt.pix_mp.height = drv_ctx.video_resolution_input.frame_height;
6884 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_input.frame_width;
6887 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
6891 fmt.fmt.pix_mp.field = V4L2_FIELD_INTERLACED;
6897 fmt.fmt.pix_mp.height = drv_ctx.video_resolution_output.frame_height;
6898 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_output.frame_width;
6899 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
6910 drv_ctx.input_num_planes = fmt.fmt.pix_mp.num_planes;
6911 drv_ctx.video_resolution_input.frame_height = fmt.fmt.pix_mp.height;
6912 drv_ctx.video_resolution_input.frame_width = fmt.fmt.pix_mp.width;
6918 drv_ctx.output_num_planes = fmt.fmt.pix_mp.num_planes;
6919 drv_ctx.video_resolution_output.frame_height = fmt.fmt.pix_mp.height;
6920 drv_ctx.video_resolution_output.frame_width = fmt.fmt.pix_mp.width;
6925 buffer_prop->frame_size = paddedFrameWidth32(fmt.fmt.pix_mp.height) *
6926 paddedFrameWidth128(fmt.fmt.pix_mp.width) *
6928 DEBUG_PRINT_HIGH("GetBufReq fmt.fmt.pix_mp.num_planes = %d, fmt.fmt.pix_mp.height = %d, fmt.fmt.pix_mp.width = %d, buffer_prop->frame_size = %d \n",
6929 fmt.fmt.pix_mp.num_planes, fmt.fmt.pix_mp.height, fmt.fmt.pix_mp.width, buffer_prop->frame_size);
6940 buffer_prop->buffer_size = fmt.fmt.pix_mp.plane_fmt[0].sizeimage;
6952 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage;
7031 fmt.fmt.pix_mp.pixelformat = output_capability;
7035 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
7039 fmt.fmt.pix_mp.field = V4L2_FIELD_INTERLACED;
7041 fmt.fmt.pix_mp.height = drv_ctx.video_resolution_input.frame_height;
7042 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_input.frame_width;
7044 setFormatParams(output_capability, drv_ctx.input_bytesperpixel, &(fmt.fmt.pix_mp.num_planes));
7045 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
7047 fmt.fmt.pix_mp.plane_fmt[i].sizeimage = paddedFrameWidth128(fmt.fmt.pix_mp.width *
7049 fmt.fmt.pix_mp.height);
7050 fmt.fmt.pix_mp.plane_fmt[i].bytesperline = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.input_bytesperpixel[0]); // both plane have the same plane stride
7054 fmt.fmt.pix_mp.pixelformat = capture_capability;
7055 fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
7056 fmt.fmt.pix_mp.height = drv_ctx.video_resolution_output.frame_height;
7057 fmt.fmt.pix_mp.width = drv_ctx.video_resolution_output.frame_width;
7059 setFormatParams(capture_capability, drv_ctx.output_bytesperpixel, &(fmt.fmt.pix_mp.num_planes));
7060 for( i=0; i<fmt.fmt.pix_mp.num_planes; i++ )
7062 fmt.fmt.pix_mp.plane_fmt[i].sizeimage = paddedFrameWidth128(fmt.fmt.pix_mp.width *
7064 fmt.fmt.pix_mp.height);
7065 fmt.fmt.pix_mp.plane_fmt[i].bytesperline = paddedFrameWidth128(fmt.fmt.pix_mp.width * drv_ctx.output_bytesperpixel[0]);
7066 DEBUG_PRINT_HIGH("set_buffer_req fmt.fmt.pix_mp.plane_fmt[%d].sizeimage = %d \n ", i, fmt.fmt.pix_mp.plane_fmt[i].sizeimage);