Lines Matching refs:fs
115 const struct s5c73m3_frame_size *fs, in s5c73m3_fill_mbus_fmt() argument
118 mf->width = fs->width; in s5c73m3_fill_mbus_fmt()
119 mf->height = fs->height; in s5c73m3_fill_mbus_fmt()
799 const struct s5c73m3_frame_size *fs; in s5c73m3_find_frame_size() local
804 fs = s5c73m3_resolutions[idx]; in s5c73m3_find_frame_size()
807 int dist = abs(fs->width - fmt->width) + in s5c73m3_find_frame_size()
808 abs(fs->height - fmt->height); in s5c73m3_find_frame_size()
811 best_fs = fs; in s5c73m3_find_frame_size()
813 ++fs; in s5c73m3_find_frame_size()
822 const struct s5c73m3_frame_size **fs) in s5c73m3_oif_try_format() argument
829 *fs = s5c73m3_find_frame_size(&fmt->format, RES_ISP); in s5c73m3_oif_try_format()
833 *fs = s5c73m3_find_frame_size(&fmt->format, RES_JPEG); in s5c73m3_oif_try_format()
844 *fs = state->oif_pix_size[RES_ISP]; in s5c73m3_oif_try_format()
846 *fs = s5c73m3_find_frame_size( in s5c73m3_oif_try_format()
853 s5c73m3_fill_mbus_fmt(&fmt->format, *fs, code); in s5c73m3_oif_try_format()
859 const struct s5c73m3_frame_size **fs) in s5c73m3_try_format() argument
864 *fs = s5c73m3_find_frame_size(&fmt->format, RES_ISP); in s5c73m3_try_format()
867 *fs = s5c73m3_find_frame_size(&fmt->format, RES_JPEG); in s5c73m3_try_format()
871 s5c73m3_fill_mbus_fmt(&fmt->format, *fs, code); in s5c73m3_try_format()
991 const struct s5c73m3_frame_size *fs; in s5c73m3_get_fmt() local
1005 fs = state->sensor_pix_size[RES_ISP]; in s5c73m3_get_fmt()
1009 fs = state->sensor_pix_size[RES_JPEG]; in s5c73m3_get_fmt()
1015 s5c73m3_fill_mbus_fmt(&fmt->format, fs, code); in s5c73m3_get_fmt()
1026 const struct s5c73m3_frame_size *fs; in s5c73m3_oif_get_fmt() local
1040 fs = state->oif_pix_size[RES_ISP]; in s5c73m3_oif_get_fmt()
1044 fs = state->oif_pix_size[RES_JPEG]; in s5c73m3_oif_get_fmt()
1048 fs = state->oif_pix_size[RES_ISP]; in s5c73m3_oif_get_fmt()
1054 s5c73m3_fill_mbus_fmt(&fmt->format, fs, code); in s5c73m3_oif_get_fmt()
1271 const struct s5c73m3_frame_size *fs; in s5c73m3_oif_enum_frame_size() local
1273 fs = state->oif_pix_size[RES_ISP]; in s5c73m3_oif_enum_frame_size()
1274 w = fs->width; in s5c73m3_oif_enum_frame_size()
1275 h = fs->height; in s5c73m3_oif_enum_frame_size()