Home
last modified time | relevance | path

Searched refs:fmts (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/media/platform/qcom/venus/
H A Dhfi_platform_v4.c29 .fmts[0] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_NV12_UBWC},
30 .fmts[1] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12_UBWC},
31 .fmts[2] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12},
32 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21},
52 .fmts[0] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_NV12_UBWC},
53 .fmts[1] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_YUV420_TP10_UBWC},
54 .fmts[2] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12_UBWC},
55 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12},
56 .fmts[4] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21},
57 .fmts[5] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_P010},
[all …]
H A Dhfi_platform_v6.c29 .fmts[0] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_NV12_UBWC},
30 .fmts[1] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12_UBWC},
31 .fmts[2] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12},
32 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21},
52 .fmts[0] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_NV12_UBWC},
53 .fmts[1] = {HFI_BUFFER_OUTPUT, HFI_COLOR_FORMAT_YUV420_TP10_UBWC},
54 .fmts[2] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12_UBWC},
55 .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12},
56 .fmts[4] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21},
57 .fmts[5] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_P010},
[all …]
H A Dhfi_parser.c144 static void fill_raw_fmts(struct hfi_plat_caps *cap, const void *fmts, in fill_raw_fmts() argument
147 const struct raw_formats *formats = fmts; in fill_raw_fmts()
152 memcpy(&cap->fmts[cap->num_fmts], formats, num_fmts * sizeof(*formats)); in fill_raw_fmts()
H A Dhfi_platform.h37 struct raw_formats fmts[MAX_FMT_ENTRIES]; member
/linux/include/acpi/
H A Dnhlt.h43 #define __acpi_nhlt_first_fmtcfg(fmts) \ argument
44 ((void *)(fmts + 1))
49 #define __acpi_nhlt_get_fmtcfg(fmts, fmt, i) \ argument
50 ((i) ? __acpi_nhlt_next_fmtcfg(fmt) : __acpi_nhlt_first_fmtcfg(fmts))
74 #define for_each_nhlt_fmtcfg(fmts, fmt) \ argument
76 __i < (fmts)->formats_count && \
77 (fmt = __acpi_nhlt_get_fmtcfg(fmts, fmt, __i)); \
/linux/drivers/media/usb/gspca/
H A Dse401.c49 struct v4l2_pix_format fmts[MAX_MODES]; member
256 sd->fmts[i].width = widths[i]; in sd_config()
257 sd->fmts[i].height = heights[i]; in sd_config()
258 sd->fmts[i].field = V4L2_FIELD_NONE; in sd_config()
259 sd->fmts[i].colorspace = V4L2_COLORSPACE_SRGB; in sd_config()
260 sd->fmts[i].priv = 1; in sd_config()
266 sd->fmts[i].priv = 2; in sd_config()
275 sd->fmts[i].priv = 4; in sd_config()
280 if (sd->fmts[i].priv == 1) { in sd_config()
282 sd->fmts[i].pixelformat = V4L2_PIX_FMT_SBGGR8; in sd_config()
[all …]
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_format_caps.c119 u32 *fmts; in komeda_get_layer_fourcc_list() local
122 fmts = kcalloc(table->n_formats, sizeof(u32), GFP_KERNEL); in komeda_get_layer_fourcc_list()
123 if (!fmts) in komeda_get_layer_fourcc_list()
136 if (fmts[j] == cap->fourcc) in komeda_get_layer_fourcc_list()
140 fmts[n++] = cap->fourcc; in komeda_get_layer_fourcc_list()
146 return fmts; in komeda_get_layer_fourcc_list()
/linux/drivers/media/i2c/
H A Dmt9m001.c102 const struct mt9m001_datafmt *fmts; member
262 if (mt9m001->fmts == mt9m001_colour_fmts) in mt9m001_set_selection()
390 if (mt9m001->fmts == mt9m001_colour_fmts) in mt9m001_set_fmt()
393 fmt = mt9m001_find_datafmt(mf->code, mt9m001->fmts, in mt9m001_set_fmt()
596 mt9m001->fmts = mt9m001_colour_fmts; in mt9m001_video_probe()
600 mt9m001->fmts = mt9m001_monochrome_fmts; in mt9m001_video_probe()
610 mt9m001->fmt = &mt9m001->fmts[0]; in mt9m001_video_probe()
663 try_fmt->code = mt9m001->fmts[0].code; in mt9m001_init_state()
664 try_fmt->colorspace = mt9m001->fmts[0].colorspace; in mt9m001_init_state()
683 code->code = mt9m001->fmts[code->index].code; in mt9m001_enum_mbus_code()
/linux/drivers/staging/media/starfive/camss/
H A Dstf-isp.c39 if (fmt_table->fmts[i].code == mcode) in stf_g_fmt_by_mcode()
40 return &fmt_table->fmts[i]; in stf_g_fmt_by_mcode()
106 fmt->code = formats->fmts[0].code; in isp_try_format()
121 code->code = formats->fmts[code->index].code; in isp_enum_mbus_code()
H A Dstf-isp.h405 const struct stf_isp_format *fmts; member
/linux/drivers/staging/media/ipu3/
H A Dipu3-v4l2.c64 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES] = { NULL }; in imgu_subdev_s_stream() local
90 fmts[i] = imgu_pipe->queue_enabled[node] ? in imgu_subdev_s_stream()
110 r = imgu_css_fmt_set(&imgu->css, fmts, rects, pipe); in imgu_subdev_s_stream()
696 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES] = { NULL }; in imgu_fmt() local
732 fmts[i] = NULL; in imgu_fmt()
737 fmts[i] = &f->fmt.pix_mp; in imgu_fmt()
742 fmts[i] = kmemdup(&imgu_pipe->nodes[inode].vdev_fmt.fmt.pix_mp, in imgu_fmt()
745 if (!fmts[i]) { in imgu_fmt()
750 fmts[i] = &imgu_pipe->nodes[inode].vdev_fmt.fmt.pix_mp; in imgu_fmt()
769 if (!fmts[css_q]) { in imgu_fmt()
[all …]
H A Dipu3-css.h171 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES],
175 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES],
H A Dipu3-css.c1673 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], in imgu_css_fmt_try()
1714 if (fmts[i]) in imgu_css_fmt_try()
1716 qnames[i], fmts[i]->width, fmts[i]->height, in imgu_css_fmt_try()
1717 fmts[i]->pixelformat); in imgu_css_fmt_try()
1721 if (imgu_css_queue_init(&q[i], fmts[i], in imgu_css_fmt_try()
1800 if (fmts[i]) { in imgu_css_fmt_try()
1808 *fmts[i] = q[i].fmt.mpix; in imgu_css_fmt_try()
1829 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], in imgu_css_fmt_set()
1845 r = imgu_css_fmt_try(css, fmts, all_rects, pipe); in imgu_css_fmt_set()
1850 if (imgu_css_queue_init(&css_pipe->queue[i], fmts[i], in imgu_css_fmt_set()
H A Dipu3.c456 struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES] = { NULL }; in imgu_video_nodes_init() local
473 fmts[imgu_node_map[i].css_queue] = in imgu_video_nodes_init()
489 imgu_css_fmt_set(&imgu->css, fmts, rects, j); in imgu_video_nodes_init()
/linux/scripts/gdb/linux/
H A Dtimerlist.py80 fmts = [(" .{} : {} nsecs", 'expires_next'),
86 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
/linux/tools/perf/util/
H A Dblock-info.h49 struct block_fmt fmts[PERF_HPP_REPORT__BLOCK_MAX_INDEX]; member
H A Dblock-info.c451 init_block_hist(bh, block_report->fmts, block_hpps, nr_hpps); in process_block_report()
461 block_report->fmts[i].total_cycles = total_cycles; in process_block_report()
462 block_report->fmts[i].block_cycles = block_report->cycles; in process_block_report()
/linux/lib/zlib_dfltcc/
H A Ddfltcc.h27 char fmts[2]; member
H A Ddfltcc_inflate.c27 is_bit_set(dfltcc_state->af.fmts, DFLTCC_FMT0); in dfltcc_can_inflate()
H A Ddfltcc_deflate.c35 !is_bit_set(dfltcc_state->common.af.fmts, DFLTCC_FMT0)) in dfltcc_can_deflate()
/linux/sound/soc/intel/avs/
H A Dtopology.h26 struct avs_audio_format *fmts; member
H A Dtopology.c348 AVS_DEFINE_PTR_PARSER(audio_format, struct avs_audio_format, fmts);
583 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->fmts, in avs_tplg_parse_audio_formats()
584 &tplg->num_fmts, sizeof(*tplg->fmts), in avs_tplg_parse_audio_formats()
/linux/drivers/gpu/drm/
H A Ddrm_connector.c1022 u32 *fmts = NULL; in drm_display_info_set_bus_formats() local
1028 fmts = kmemdup(formats, sizeof(*formats) * num_formats, in drm_display_info_set_bus_formats()
1030 if (!fmts) in drm_display_info_set_bus_formats()
1035 info->bus_formats = fmts; in drm_display_info_set_bus_formats()
/linux/tools/perf/
H A Dbuiltin-trace.c1412 static const struct syscall_fmt *__syscall_fmt__find(const struct syscall_fmt *fmts, in __syscall_fmt__find() argument
1416 return bsearch(name, fmts, nmemb, sizeof(struct syscall_fmt), syscall_fmt__cmp); in __syscall_fmt__find()
1425 static const struct syscall_fmt *__syscall_fmt__find_by_alias(const struct syscall_fmt *fmts, in __syscall_fmt__find_by_alias() argument
1431 if (fmts[i].alias && strcmp(fmts[i].alias, alias) == 0) in __syscall_fmt__find_by_alias()
1432 return &fmts[i]; in __syscall_fmt__find_by_alias()
1981 __syscall_arg_fmt__find_by_name(const struct syscall_arg_fmt *fmts, const int nmemb, in __syscall_arg_fmt__find_by_name() argument
1984 return bsearch(name, fmts, nmemb, sizeof(struct syscall_arg_fmt), syscall_arg_fmt__cmp); in __syscall_arg_fmt__find_by_name()
/linux/sound/usb/
H A Dpcm.c730 struct snd_mask *fmts = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_check_valid_format() local
739 snd_mask_intersect(&check_fmts, fmts); in hw_check_valid_format()

12