pixmp 143 drivers/media/platform/qcom/venus/vdec.c struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; pixmp 144 drivers/media/platform/qcom/venus/vdec.c struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; pixmp 149 drivers/media/platform/qcom/venus/vdec.c memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); pixmp 151 drivers/media/platform/qcom/venus/vdec.c fmt = find_format(inst, pixmp->pixelformat, f->type); pixmp 154 drivers/media/platform/qcom/venus/vdec.c pixmp->pixelformat = V4L2_PIX_FMT_NV12; pixmp 156 drivers/media/platform/qcom/venus/vdec.c pixmp->pixelformat = V4L2_PIX_FMT_H264; pixmp 159 drivers/media/platform/qcom/venus/vdec.c fmt = find_format(inst, pixmp->pixelformat, f->type); pixmp 162 drivers/media/platform/qcom/venus/vdec.c pixmp->width = clamp(pixmp->width, frame_width_min(inst), pixmp 164 drivers/media/platform/qcom/venus/vdec.c pixmp->height = clamp(pixmp->height, frame_height_min(inst), pixmp 168 drivers/media/platform/qcom/venus/vdec.c pixmp->height = ALIGN(pixmp->height, 32); pixmp 170 drivers/media/platform/qcom/venus/vdec.c if (pixmp->field == V4L2_FIELD_ANY) pixmp 171 drivers/media/platform/qcom/venus/vdec.c pixmp->field = V4L2_FIELD_NONE; pixmp 172 drivers/media/platform/qcom/venus/vdec.c pixmp->num_planes = fmt->num_planes; pixmp 173 drivers/media/platform/qcom/venus/vdec.c pixmp->flags = 0; pixmp 175 drivers/media/platform/qcom/venus/vdec.c szimage = venus_helper_get_framesz(pixmp->pixelformat, pixmp->width, pixmp 176 drivers/media/platform/qcom/venus/vdec.c pixmp->height); pixmp 180 drivers/media/platform/qcom/venus/vdec.c pfmt[0].bytesperline = ALIGN(pixmp->width, 128); pixmp 237 drivers/media/platform/qcom/venus/vdec.c struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; pixmp 251 drivers/media/platform/qcom/venus/vdec.c pixmp->pixelformat = fmt->pixfmt; pixmp 254 drivers/media/platform/qcom/venus/vdec.c pixmp->width = inst->width; pixmp 255 drivers/media/platform/qcom/venus/vdec.c pixmp->height = inst->height; pixmp 256 drivers/media/platform/qcom/venus/vdec.c pixmp->colorspace = inst->colorspace; pixmp 257 drivers/media/platform/qcom/venus/vdec.c pixmp->ycbcr_enc = inst->ycbcr_enc; pixmp 258 drivers/media/platform/qcom/venus/vdec.c pixmp->quantization = inst->quantization; pixmp 259 drivers/media/platform/qcom/venus/vdec.c pixmp->xfer_func = inst->xfer_func; pixmp 261 drivers/media/platform/qcom/venus/vdec.c pixmp->width = inst->out_width; pixmp 262 drivers/media/platform/qcom/venus/vdec.c pixmp->height = inst->out_height; pixmp 273 drivers/media/platform/qcom/venus/vdec.c struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; pixmp 279 drivers/media/platform/qcom/venus/vdec.c orig_pixmp = *pixmp; pixmp 284 drivers/media/platform/qcom/venus/vdec.c pixfmt_out = pixmp->pixelformat; pixmp 287 drivers/media/platform/qcom/venus/vdec.c pixfmt_cap = pixmp->pixelformat; pixmp 302 drivers/media/platform/qcom/venus/vdec.c inst->colorspace = pixmp->colorspace; pixmp 303 drivers/media/platform/qcom/venus/vdec.c inst->ycbcr_enc = pixmp->ycbcr_enc; pixmp 304 drivers/media/platform/qcom/venus/vdec.c inst->quantization = pixmp->quantization; pixmp 305 drivers/media/platform/qcom/venus/vdec.c inst->xfer_func = pixmp->xfer_func; pixmp 306 drivers/media/platform/qcom/venus/vdec.c inst->input_buf_size = pixmp->plane_fmt[0].sizeimage; pixmp 294 drivers/media/platform/qcom/venus/venc.c struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; pixmp 295 drivers/media/platform/qcom/venus/venc.c struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; pixmp 300 drivers/media/platform/qcom/venus/venc.c memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); pixmp 302 drivers/media/platform/qcom/venus/venc.c fmt = find_format(inst, pixmp->pixelformat, f->type); pixmp 305 drivers/media/platform/qcom/venus/venc.c pixmp->pixelformat = V4L2_PIX_FMT_H264; pixmp 307 drivers/media/platform/qcom/venus/venc.c pixmp->pixelformat = V4L2_PIX_FMT_NV12; pixmp 310 drivers/media/platform/qcom/venus/venc.c fmt = find_format(inst, pixmp->pixelformat, f->type); pixmp 313 drivers/media/platform/qcom/venus/venc.c pixmp->width = clamp(pixmp->width, frame_width_min(inst), pixmp 315 drivers/media/platform/qcom/venus/venc.c pixmp->height = clamp(pixmp->height, frame_height_min(inst), pixmp 319 drivers/media/platform/qcom/venus/venc.c pixmp->height = ALIGN(pixmp->height, 32); pixmp 321 drivers/media/platform/qcom/venus/venc.c pixmp->width = ALIGN(pixmp->width, 2); pixmp 322 drivers/media/platform/qcom/venus/venc.c pixmp->height = ALIGN(pixmp->height, 2); pixmp 324 drivers/media/platform/qcom/venus/venc.c if (pixmp->field == V4L2_FIELD_ANY) pixmp 325 drivers/media/platform/qcom/venus/venc.c pixmp->field = V4L2_FIELD_NONE; pixmp 326 drivers/media/platform/qcom/venus/venc.c pixmp->num_planes = fmt->num_planes; pixmp 327 drivers/media/platform/qcom/venus/venc.c pixmp->flags = 0; pixmp 329 drivers/media/platform/qcom/venus/venc.c sizeimage = venus_helper_get_framesz(pixmp->pixelformat, pixmp 330 drivers/media/platform/qcom/venus/venc.c pixmp->width, pixmp 331 drivers/media/platform/qcom/venus/venc.c pixmp->height); pixmp 335 drivers/media/platform/qcom/venus/venc.c pfmt[0].bytesperline = ALIGN(pixmp->width, 128); pixmp 354 drivers/media/platform/qcom/venus/venc.c struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; pixmp 360 drivers/media/platform/qcom/venus/venc.c orig_pixmp = *pixmp; pixmp 367 drivers/media/platform/qcom/venus/venc.c pixfmt_out = pixmp->pixelformat; pixmp 370 drivers/media/platform/qcom/venus/venc.c pixfmt_cap = pixmp->pixelformat; pixmp 385 drivers/media/platform/qcom/venus/venc.c inst->colorspace = pixmp->colorspace; pixmp 386 drivers/media/platform/qcom/venus/venc.c inst->ycbcr_enc = pixmp->ycbcr_enc; pixmp 387 drivers/media/platform/qcom/venus/venc.c inst->quantization = pixmp->quantization; pixmp 388 drivers/media/platform/qcom/venus/venc.c inst->xfer_func = pixmp->xfer_func; pixmp 406 drivers/media/platform/qcom/venus/venc.c inst->output_buf_size = pixmp->plane_fmt[0].sizeimage; pixmp 414 drivers/media/platform/qcom/venus/venc.c struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; pixmp 425 drivers/media/platform/qcom/venus/venc.c pixmp->pixelformat = fmt->pixfmt; pixmp 428 drivers/media/platform/qcom/venus/venc.c pixmp->width = inst->width; pixmp 429 drivers/media/platform/qcom/venus/venc.c pixmp->height = inst->height; pixmp 430 drivers/media/platform/qcom/venus/venc.c pixmp->colorspace = inst->colorspace; pixmp 431 drivers/media/platform/qcom/venus/venc.c pixmp->ycbcr_enc = inst->ycbcr_enc; pixmp 432 drivers/media/platform/qcom/venus/venc.c pixmp->quantization = inst->quantization; pixmp 433 drivers/media/platform/qcom/venus/venc.c pixmp->xfer_func = inst->xfer_func; pixmp 435 drivers/media/platform/qcom/venus/venc.c pixmp->width = inst->out_width; pixmp 436 drivers/media/platform/qcom/venus/venc.c pixmp->height = inst->out_height; pixmp 476 drivers/staging/media/meson/vdec/vdec.c struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; pixmp 477 drivers/staging/media/meson/vdec/vdec.c struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; pixmp 482 drivers/staging/media/meson/vdec/vdec.c memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); pixmp 485 drivers/staging/media/meson/vdec/vdec.c fmt_out = find_format(fmts, size, pixmp->pixelformat); pixmp 487 drivers/staging/media/meson/vdec/vdec.c pixmp->pixelformat = V4L2_PIX_FMT_MPEG2; pixmp 488 drivers/staging/media/meson/vdec/vdec.c fmt_out = find_format(fmts, size, pixmp->pixelformat); pixmp 492 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height); pixmp 494 drivers/staging/media/meson/vdec/vdec.c pixmp->num_planes = 1; pixmp 497 drivers/staging/media/meson/vdec/vdec.c if (!vdec_supports_pixfmt_cap(fmt_out, pixmp->pixelformat)) pixmp 498 drivers/staging/media/meson/vdec/vdec.c pixmp->pixelformat = fmt_out->pixfmts_cap[0]; pixmp 501 drivers/staging/media/meson/vdec/vdec.c if (pixmp->pixelformat == V4L2_PIX_FMT_NV12M) { pixmp 503 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height); pixmp 504 drivers/staging/media/meson/vdec/vdec.c pfmt[0].bytesperline = ALIGN(pixmp->width, 64); pixmp 507 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height) / 2; pixmp 508 drivers/staging/media/meson/vdec/vdec.c pfmt[1].bytesperline = ALIGN(pixmp->width, 64); pixmp 509 drivers/staging/media/meson/vdec/vdec.c pixmp->num_planes = 2; pixmp 510 drivers/staging/media/meson/vdec/vdec.c } else if (pixmp->pixelformat == V4L2_PIX_FMT_YUV420M) { pixmp 512 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height); pixmp 513 drivers/staging/media/meson/vdec/vdec.c pfmt[0].bytesperline = ALIGN(pixmp->width, 64); pixmp 516 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height) / 4; pixmp 517 drivers/staging/media/meson/vdec/vdec.c pfmt[1].bytesperline = ALIGN(pixmp->width, 64) / 2; pixmp 520 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height) / 4; pixmp 521 drivers/staging/media/meson/vdec/vdec.c pfmt[2].bytesperline = ALIGN(pixmp->width, 64) / 2; pixmp 522 drivers/staging/media/meson/vdec/vdec.c pixmp->num_planes = 3; pixmp 528 drivers/staging/media/meson/vdec/vdec.c pixmp->width = clamp(pixmp->width, (u32)256, fmt_out->max_width); pixmp 529 drivers/staging/media/meson/vdec/vdec.c pixmp->height = clamp(pixmp->height, (u32)144, fmt_out->max_height); pixmp 531 drivers/staging/media/meson/vdec/vdec.c if (pixmp->field == V4L2_FIELD_ANY) pixmp 532 drivers/staging/media/meson/vdec/vdec.c pixmp->field = V4L2_FIELD_NONE; pixmp 551 drivers/staging/media/meson/vdec/vdec.c struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; pixmp 554 drivers/staging/media/meson/vdec/vdec.c pixmp->pixelformat = sess->pixfmt_cap; pixmp 556 drivers/staging/media/meson/vdec/vdec.c pixmp->pixelformat = sess->fmt_out->pixfmt; pixmp 559 drivers/staging/media/meson/vdec/vdec.c pixmp->width = sess->width; pixmp 560 drivers/staging/media/meson/vdec/vdec.c pixmp->height = sess->height; pixmp 561 drivers/staging/media/meson/vdec/vdec.c pixmp->colorspace = sess->colorspace; pixmp 562 drivers/staging/media/meson/vdec/vdec.c pixmp->ycbcr_enc = sess->ycbcr_enc; pixmp 563 drivers/staging/media/meson/vdec/vdec.c pixmp->quantization = sess->quantization; pixmp 564 drivers/staging/media/meson/vdec/vdec.c pixmp->xfer_func = sess->xfer_func; pixmp 566 drivers/staging/media/meson/vdec/vdec.c pixmp->width = sess->width; pixmp 567 drivers/staging/media/meson/vdec/vdec.c pixmp->height = sess->height; pixmp 579 drivers/staging/media/meson/vdec/vdec.c struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; pixmp 586 drivers/staging/media/meson/vdec/vdec.c orig_pixmp = *pixmp; pixmp 591 drivers/staging/media/meson/vdec/vdec.c pixfmt_out = pixmp->pixelformat; pixmp 594 drivers/staging/media/meson/vdec/vdec.c pixfmt_cap = pixmp->pixelformat; pixmp 609 drivers/staging/media/meson/vdec/vdec.c sess->colorspace = pixmp->colorspace; pixmp 610 drivers/staging/media/meson/vdec/vdec.c sess->ycbcr_enc = pixmp->ycbcr_enc; pixmp 611 drivers/staging/media/meson/vdec/vdec.c sess->quantization = pixmp->quantization; pixmp 612 drivers/staging/media/meson/vdec/vdec.c sess->xfer_func = pixmp->xfer_func;