Lines Matching refs:fs
122 const struct s5c73m3_frame_size *fs, in s5c73m3_fill_mbus_fmt() argument
125 mf->width = fs->width; in s5c73m3_fill_mbus_fmt()
126 mf->height = fs->height; in s5c73m3_fill_mbus_fmt()
806 const struct s5c73m3_frame_size *fs; in s5c73m3_find_frame_size() local
811 fs = s5c73m3_resolutions[idx]; in s5c73m3_find_frame_size()
814 int dist = abs(fs->width - fmt->width) + in s5c73m3_find_frame_size()
815 abs(fs->height - fmt->height); in s5c73m3_find_frame_size()
818 best_fs = fs; in s5c73m3_find_frame_size()
820 ++fs; in s5c73m3_find_frame_size()
829 const struct s5c73m3_frame_size **fs) in s5c73m3_oif_try_format() argument
836 *fs = s5c73m3_find_frame_size(&fmt->format, RES_ISP); in s5c73m3_oif_try_format()
840 *fs = s5c73m3_find_frame_size(&fmt->format, RES_JPEG); in s5c73m3_oif_try_format()
851 *fs = state->oif_pix_size[RES_ISP]; in s5c73m3_oif_try_format()
853 *fs = s5c73m3_find_frame_size( in s5c73m3_oif_try_format()
860 s5c73m3_fill_mbus_fmt(&fmt->format, *fs, code); in s5c73m3_oif_try_format()
866 const struct s5c73m3_frame_size **fs) in s5c73m3_try_format() argument
871 *fs = s5c73m3_find_frame_size(&fmt->format, RES_ISP); in s5c73m3_try_format()
874 *fs = s5c73m3_find_frame_size(&fmt->format, RES_JPEG); in s5c73m3_try_format()
878 s5c73m3_fill_mbus_fmt(&fmt->format, *fs, code); in s5c73m3_try_format()
998 const struct s5c73m3_frame_size *fs; in s5c73m3_get_fmt() local
1011 fs = state->sensor_pix_size[RES_ISP]; in s5c73m3_get_fmt()
1015 fs = state->sensor_pix_size[RES_JPEG]; in s5c73m3_get_fmt()
1021 s5c73m3_fill_mbus_fmt(&fmt->format, fs, code); in s5c73m3_get_fmt()
1032 const struct s5c73m3_frame_size *fs; in s5c73m3_oif_get_fmt() local
1045 fs = state->oif_pix_size[RES_ISP]; in s5c73m3_oif_get_fmt()
1049 fs = state->oif_pix_size[RES_JPEG]; in s5c73m3_oif_get_fmt()
1053 fs = state->oif_pix_size[RES_ISP]; in s5c73m3_oif_get_fmt()
1059 s5c73m3_fill_mbus_fmt(&fmt->format, fs, code); in s5c73m3_oif_get_fmt()
1275 const struct s5c73m3_frame_size *fs; in s5c73m3_oif_enum_frame_size() local
1277 fs = state->oif_pix_size[RES_ISP]; in s5c73m3_oif_enum_frame_size()
1278 w = fs->width; in s5c73m3_oif_enum_frame_size()
1279 h = fs->height; in s5c73m3_oif_enum_frame_size()