Searched refs:pixmp (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/staging/media/meson/vdec/ |
A D | vdec.c | 502 memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); in vdec_try_fmt_common() 519 pixmp->width = clamp(pixmp->width, (u32)256, fmt_out->max_width); in vdec_try_fmt_common() 520 pixmp->height = clamp(pixmp->height, (u32)144, fmt_out->max_height); in vdec_try_fmt_common() 521 output_size = get_output_size(pixmp->width, pixmp->height); in vdec_try_fmt_common() 527 pixmp->num_planes = 1; in vdec_try_fmt_common() 540 pixmp->num_planes = 2; in vdec_try_fmt_common() 550 pixmp->num_planes = 3; in vdec_try_fmt_common() 582 pixmp->width = sess->width; in vdec_g_fmt() 583 pixmp->height = sess->height; in vdec_g_fmt() 589 pixmp->width = sess->width; in vdec_g_fmt() [all …]
|
/linux-6.3-rc2/drivers/media/platform/qcom/venus/ |
A D | venc.c | 175 memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); in venc_try_fmt_common() 190 pixmp->width = clamp(pixmp->width, frame_width_min(inst), in venc_try_fmt_common() 192 pixmp->height = clamp(pixmp->height, frame_height_min(inst), in venc_try_fmt_common() 195 pixmp->width = ALIGN(pixmp->width, 128); in venc_try_fmt_common() 196 pixmp->height = ALIGN(pixmp->height, 32); in venc_try_fmt_common() 198 pixmp->width = ALIGN(pixmp->width, 2); in venc_try_fmt_common() 199 pixmp->height = ALIGN(pixmp->height, 2); in venc_try_fmt_common() 204 pixmp->flags = 0; in venc_try_fmt_common() 207 pixmp->width, in venc_try_fmt_common() 208 pixmp->height); in venc_try_fmt_common() [all …]
|
A D | vdec.c | 175 memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); in vdec_try_fmt_common() 190 pixmp->width = clamp(pixmp->width, frame_width_min(inst), in vdec_try_fmt_common() 192 pixmp->height = clamp(pixmp->height, frame_height_min(inst), in vdec_try_fmt_common() 196 pixmp->height = ALIGN(pixmp->height, 32); in vdec_try_fmt_common() 199 pixmp->field = V4L2_FIELD_NONE; in vdec_try_fmt_common() 201 pixmp->flags = 0; in vdec_try_fmt_common() 203 szimage = venus_helper_get_framesz(pixmp->pixelformat, pixmp->width, in vdec_try_fmt_common() 204 pixmp->height); in vdec_try_fmt_common() 282 pixmp->width = inst->width; in vdec_g_fmt() 283 pixmp->height = inst->height; in vdec_g_fmt() [all …]
|
/linux-6.3-rc2/drivers/media/platform/amphion/ |
A D | vpu_v4l2.c | 166 if (pixmp->num_planes > 1) in vpu_calc_fmt_bytesperline() 234 fmt->pixfmt = pixmp->pixelformat; in vpu_try_fmt_common() 240 fmt->width = pixmp->width; in vpu_try_fmt_common() 241 fmt->height = pixmp->height; in vpu_try_fmt_common() 246 fmt->field = pixmp->field == V4L2_FIELD_ANY ? V4L2_FIELD_NONE : pixmp->field; in vpu_try_fmt_common() 253 pixmp->width = fmt->width; in vpu_try_fmt_common() 254 pixmp->height = fmt->height; in vpu_try_fmt_common() 255 pixmp->flags = fmt->flags; in vpu_try_fmt_common() 257 pixmp->field = fmt->field; in vpu_try_fmt_common() 258 memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); in vpu_try_fmt_common() [all …]
|
A D | vdec.c | 320 pixmp->pixelformat = cur_fmt->pixfmt; in vdec_g_fmt() 322 pixmp->width = cur_fmt->width; in vdec_g_fmt() 323 pixmp->height = cur_fmt->height; in vdec_g_fmt() 324 pixmp->field = cur_fmt->field; in vdec_g_fmt() 325 pixmp->flags = cur_fmt->flags; in vdec_g_fmt() 408 pixmp->pixelformat = cur_fmt->pixfmt; in vdec_s_fmt_common() 410 pixmp->width = cur_fmt->width; in vdec_s_fmt_common() 411 pixmp->height = cur_fmt->height; in vdec_s_fmt_common() 416 pixmp->field = cur_fmt->field; in vdec_s_fmt_common() 464 fc.fmt.pix_mp.width = pixmp->width; in vdec_s_fmt() [all …]
|
A D | venc.c | 180 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in venc_g_fmt() local 186 pixmp->pixelformat = cur_fmt->pixfmt; in venc_g_fmt() 187 pixmp->num_planes = cur_fmt->mem_planes; in venc_g_fmt() 188 pixmp->width = cur_fmt->width; in venc_g_fmt() 189 pixmp->height = cur_fmt->height; in venc_g_fmt() 190 pixmp->field = cur_fmt->field; in venc_g_fmt() 191 pixmp->flags = cur_fmt->flags; in venc_g_fmt() 192 for (i = 0; i < pixmp->num_planes; i++) { in venc_g_fmt() 193 pixmp->plane_fmt[i].bytesperline = cur_fmt->bytesperline[i]; in venc_g_fmt() 194 pixmp->plane_fmt[i].sizeimage = vpu_get_fmt_plane_size(cur_fmt, i); in venc_g_fmt()
|
Completed in 20 milliseconds