Home
last modified time | relevance | path

Searched refs:v4l2_fmt (Results 1 – 3 of 3) sorted by relevance

/drivers/media/platform/
Drenesas-ceu.c790 static int __ceu_try_fmt(struct ceu_device *ceudev, struct v4l2_format *v4l2_fmt, in __ceu_try_fmt() argument
794 struct v4l2_pix_format_mplane *pix = &v4l2_fmt->fmt.pix_mp; in __ceu_try_fmt()
881 static int ceu_try_fmt(struct ceu_device *ceudev, struct v4l2_format *v4l2_fmt) in ceu_try_fmt() argument
885 return __ceu_try_fmt(ceudev, v4l2_fmt, &mbus_code); in ceu_try_fmt()
891 static int ceu_set_fmt(struct ceu_device *ceudev, struct v4l2_format *v4l2_fmt) in ceu_set_fmt() argument
906 ret = __ceu_try_fmt(ceudev, v4l2_fmt, &mbus_code); in ceu_set_fmt()
911 v4l2_fill_mbus_format_mplane(&format.format, &v4l2_fmt->fmt.pix_mp); in ceu_set_fmt()
916 ceudev->v4l2_pix = v4l2_fmt->fmt.pix_mp; in ceu_set_fmt()
930 struct v4l2_format v4l2_fmt = { in ceu_set_default_fmt() local
951 ret = ceu_try_fmt(ceudev, &v4l2_fmt); in ceu_set_default_fmt()
[all …]
/drivers/media/platform/qcom/venus/
Dhelpers.c541 static u32 to_hfi_raw_fmt(u32 v4l2_fmt) in to_hfi_raw_fmt() argument
543 switch (v4l2_fmt) { in to_hfi_raw_fmt()
960 u32 venus_helper_get_framesz(u32 v4l2_fmt, u32 width, u32 height) in venus_helper_get_framesz() argument
965 switch (v4l2_fmt) { in venus_helper_get_framesz()
992 hfi_fmt = to_hfi_raw_fmt(v4l2_fmt); in venus_helper_get_framesz()
1561 int venus_helper_get_out_fmts(struct venus_inst *inst, u32 v4l2_fmt, in venus_helper_get_out_fmts() argument
1566 u32 ubwc_fmt, fmt = to_hfi_raw_fmt(v4l2_fmt); in venus_helper_get_out_fmts()
Dhelpers.h29 u32 venus_helper_get_framesz(u32 v4l2_fmt, u32 width, u32 height);