Lines Matching refs:pdev
21 int pwc_decompress(struct pwc_device *pdev, struct pwc_frame_buf *fbuf)
30 yuv = fbuf->data + pdev->frame_header_size; /* Skip header */
33 if (pdev->pixfmt != V4L2_PIX_FMT_YUV420)
36 raw_frame->type = cpu_to_le16(pdev->type);
37 raw_frame->vbandlength = cpu_to_le16(pdev->vbandlength);
41 memcpy(raw_frame->cmd, pdev->cmd_buf, 4);
42 memcpy(raw_frame->rawframe, yuv, pdev->frame_size);
44 struct_size(raw_frame, rawframe, pdev->frame_size));
49 pdev->width * pdev->height * 3 / 2);
51 if (pdev->vbandlength == 0) {
58 n = pdev->width * pdev->height;
63 for (line = 0; line < pdev->height; line++) {
64 for (col = 0; col < pdev->width; col += 4) {
82 if (DEVICE_USE_CODEC1(pdev->type)) {
89 pwc_dec23_decompress(pdev, yuv, image);