Searched refs:pix_fmt_mp (Results 1 – 3 of 3) sorted by relevance
| /drivers/media/platform/mediatek/vcodec/decoder/ |
| A D | mtk_vcodec_dec.c | 303 pix_fmt_mp->width = clamp(pix_fmt_mp->width, MTK_VDEC_MIN_W, frmsize->max_width); in vidioc_try_fmt() 304 pix_fmt_mp->height = clamp(pix_fmt_mp->height, MTK_VDEC_MIN_H, frmsize->max_height); in vidioc_try_fmt() 318 tmp_w = pix_fmt_mp->width; in vidioc_try_fmt() 326 pix_fmt_mp->width += 64; in vidioc_try_fmt() 333 tmp_w, tmp_h, pix_fmt_mp->width, pix_fmt_mp->height, in vidioc_try_fmt() 334 pix_fmt_mp->width * pix_fmt_mp->height); in vidioc_try_fmt() 338 pix_fmt_mp->width * pix_fmt_mp->height; in vidioc_try_fmt() 339 pix_fmt_mp->plane_fmt[0].bytesperline = pix_fmt_mp->width; in vidioc_try_fmt() 343 (pix_fmt_mp->width * pix_fmt_mp->height) / 2; in vidioc_try_fmt() 345 pix_fmt_mp->width; in vidioc_try_fmt() [all …]
|
| /drivers/media/platform/mediatek/vcodec/encoder/ |
| A D | mtk_vcodec_enc.c | 311 pix_fmt_mp->height = clamp(pix_fmt_mp->height, MTK_VENC_MIN_H, max_height); in vidioc_try_fmt_out() 312 pix_fmt_mp->width = clamp(pix_fmt_mp->width, MTK_VENC_MIN_W, max_width); in vidioc_try_fmt_out() 326 if (pix_fmt_mp->width < tmp_w && (pix_fmt_mp->width + 16) <= max_width) in vidioc_try_fmt_out() 328 if (pix_fmt_mp->height < tmp_h && (pix_fmt_mp->height + 32) <= max_height) in vidioc_try_fmt_out() 334 pix_fmt_mp->height, in vidioc_try_fmt_out() 340 pix_fmt_mp->width * pix_fmt_mp->height + in vidioc_try_fmt_out() 342 pix_fmt_mp->plane_fmt[0].bytesperline = pix_fmt_mp->width; in vidioc_try_fmt_out() 346 (pix_fmt_mp->width * pix_fmt_mp->height) / 2 + in vidioc_try_fmt_out() 350 pix_fmt_mp->width; in vidioc_try_fmt_out() 355 (pix_fmt_mp->width * pix_fmt_mp->height) / 4 + in vidioc_try_fmt_out() [all …]
|
| /drivers/media/platform/samsung/s5p-mfc/ |
| A D | s5p_mfc_enc.c | 1398 pix_fmt_mp->width = 0; in vidioc_g_fmt() 1399 pix_fmt_mp->height = 0; in vidioc_g_fmt() 1400 pix_fmt_mp->field = V4L2_FIELD_NONE; in vidioc_g_fmt() 1408 pix_fmt_mp->width = ctx->img_width; in vidioc_g_fmt() 1409 pix_fmt_mp->height = ctx->img_height; in vidioc_g_fmt() 1411 pix_fmt_mp->field = V4L2_FIELD_NONE; in vidioc_g_fmt() 1449 pix_fmt_mp->plane_fmt[0].sizeimage; in vidioc_try_fmt() 1461 v4l_bound_align_image(&pix_fmt_mp->width, 8, 3840, 1, &pix_fmt_mp in vidioc_try_fmt() 1464 v4l_bound_align_image(&pix_fmt_mp->width, 8, 1920, 1, &pix_fmt_mp in vidioc_try_fmt() 1501 ctx->img_width = pix_fmt_mp->width; in vidioc_s_fmt() [all …]
|
Completed in 15 milliseconds