/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | imx-pxp.c | 65 static struct pxp_fmt formats[] = { variable 152 #define NUM_FORMATS ARRAY_SIZE(formats) 177 fmt = &formats[k]; in find_format() 185 return &formats[k]; in find_format() 268 /* Missing V4L2 pixel formats for ARGB1555 and ARGB4444 */ in pxp_v4l2_pix_fmt_to_out_format() 850 * horizontally chroma subsampled formats. in pxp_start() 1043 if (formats[i].types & type) { in pxp_enum_fmt() 1057 fmt = &formats[i]; in pxp_enum_fmt() 1179 f->fmt.pix.pixelformat = formats[0].fourcc; in pxp_try_fmt_vid_cap() 1207 f->fmt.pix.pixelformat = formats[ in pxp_try_fmt_vid_out() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-jpeg/ |
H A D | mtk_jpeg_core.c | 221 return mtk_jpeg_enum_fmt(jpeg->variant->formats, in mtk_jpeg_enum_fmt_vid_cap() 232 return mtk_jpeg_enum_fmt(jpeg->variant->formats, in mtk_jpeg_enum_fmt_vid_out() 361 fmt = mtk_jpeg_find_format(jpeg->variant->formats, in mtk_jpeg_try_fmt_vid_cap_mplane() 390 fmt = mtk_jpeg_find_format(jpeg->variant->formats, in mtk_jpeg_try_fmt_vid_out_mplane() 432 q_data->fmt = mtk_jpeg_find_format(jpeg->variant->formats, in mtk_jpeg_s_fmt_mplane() 719 mtk_jpeg_find_format(jpeg->variant->formats, in mtk_jpeg_check_resolution_change() 742 q_data->fmt = mtk_jpeg_find_format(jpeg->variant->formats, in mtk_jpeg_set_queue_data() 1181 q->fmt = mtk_jpeg_find_format(jpeg->variant->formats, in mtk_jpeg_set_default_params() 1190 q->fmt = mtk_jpeg_find_format(jpeg->variant->formats, in mtk_jpeg_set_default_params() 1516 .formats [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/ |
H A D | ipu3-v4l2.c | 84 /* Initialize CSS formats */ in imgu_subdev_s_stream() 112 dev_err(dev, "failed to set initial formats pipe %u with (%d)", in imgu_subdev_s_stream() 569 static const struct imgu_fmt formats[] = { variable 582 for (i = 0; i < ARRAY_SIZE(formats); i++) { in find_format() 583 if (formats[i].fourcc == f->fmt.pix_mp.pixelformat && in find_format() 584 formats[i].type == type) in find_format() 585 return &formats[i]; in find_format() 588 return type == VID_CAPTURE ? &formats[DEF_VID_CAPTURE] : in find_format() 589 &formats[DEF_VID_OUTPUT]; in find_format() 612 for (i = j = 0; i < ARRAY_SIZE(formats); in enum_fmts() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/ipu3/ |
H A D | ipu3-v4l2.c | 84 /* Initialize CSS formats */ in imgu_subdev_s_stream() 112 dev_err(dev, "failed to set initial formats pipe %u with (%d)", in imgu_subdev_s_stream() 578 static const struct imgu_fmt formats[] = { variable 591 for (i = 0; i < ARRAY_SIZE(formats); i++) { in find_format() 592 if (formats[i].fourcc == f->fmt.pix_mp.pixelformat && in find_format() 593 formats[i].type == type) in find_format() 594 return &formats[i]; in find_format() 597 return type == VID_CAPTURE ? &formats[DEF_VID_CAPTURE] : in find_format() 598 &formats[DEF_VID_OUTPUT]; in find_format() 621 for (i = j = 0; i < ARRAY_SIZE(formats); in enum_fmts() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nxp/ |
H A D | imx-pxp.c | 73 static struct pxp_fmt formats[] = { variable 160 #define NUM_FORMATS ARRAY_SIZE(formats) 192 fmt = &formats[k]; in find_format() 200 return &formats[k]; in find_format() 309 /* Missing V4L2 pixel formats for ARGB1555 and ARGB4444 */ in pxp_v4l2_pix_fmt_to_out_format() 974 * horizontally chroma subsampled formats. in pxp_start() 1146 if (formats[i].types & type) { in pxp_enum_fmt() 1160 fmt = &formats[i]; in pxp_enum_fmt() 1282 f->fmt.pix.pixelformat = formats[0].fourcc; in pxp_try_fmt_vid_cap() 1310 f->fmt.pix.pixelformat = formats[ in pxp_try_fmt_vid_out() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/stm/ |
H A D | ltdc.c | 251 /* RGB formats */ 262 /* Indexed formats */ 606 * All non-alpha color formats derived from native alpha color formats are 1570 u32 *formats; in ltdc_plane_create() local 1577 /* Allocate the biggest size according to supported color formats */ in ltdc_plane_create() 1578 formats = devm_kzalloc(dev, (ldev->caps.pix_fmt_nb + in ltdc_plane_create() 1582 sizeof(*formats), GFP_KERNEL); in ltdc_plane_create() 1589 /* XR24 & RX24 like formats supported only on primary layer */ in ltdc_plane_create() 1593 formats[nb_fm in ltdc_plane_create() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tmsgfmt.cpp | 167 const UnicodeString formats[] = {"0.0<=Arg<1.0", in testBug1() local 170 ChoiceFormat *cf = new ChoiceFormat(limit, formats, 3); in testBug1() 615 // nested formats in testMsgFormatPlural() 809 //Select, plural, and number formats heavily nested in testMsgFormatSelect() 811 //Create the MessageFormat with Select, plural, and number formats heavily nested in testMsgFormatSelect() 1211 const Format** formats = msg.getFormats(count); in testAdopt() local 1222 if (!formats || !formatsCmp || (count <= 0) || (count != countCmp)) { in testAdopt() 1230 a = formats[i]; in testAdopt() 1243 msg.applyPattern( formatStrChange, err ); //set msg formats to something different in testAdopt() 1279 // ICU 4.8 does not support toPattern() when there are custom formats (fro in testAdopt() 1534 UnicodeString formats[] = { TestRBNF() local 1745 const UnicodeString formats[] = {"0.0<=Arg<1.0", testCoverage() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemWsiSwapchainTests.cpp | 93 // VK_EXT_swapchain_colorspace adds new surface formats. Driver can enumerate in getRequiredWsiExtensions() 94 // the formats regardless of whether VK_EXT_swapchain_colorspace was enabled, in getRequiredWsiExtensions() 98 // 1) Filter out non-core formats to stay within valid usage. in getRequiredWsiExtensions() 175 TEST_DIMENSION_IMAGE_FORMAT, //!< Test all supported formats 248 const std::vector<vk::VkSurfaceFormatKHR>& formats, in executeSwapchainParameterCases() 273 formats[0].format, in executeSwapchainParameterCases() 274 formats[0].colorSpace, in executeSwapchainParameterCases() 418 uint32_t testCount = static_cast<uint32_t>(formats.size()); in executeSwapchainParameterCases() 419 for (std::vector<vk::VkSurfaceFormatKHR>::const_iterator curFmt = formats.begin(); curFmt != formats in executeSwapchainParameterCases() 244 executeSwapchainParameterCases(vk::wsi::Type wsiType, TestDimension dimension, const ProtectedContext& context, const vk::VkSurfaceCapabilitiesKHR& capabilities, const std::vector<vk::VkSurfaceFormatKHR>& formats, const std::vector<vk::VkPresentModeKHR>& presentModes, bool isExtensionForPresentModeEnabled, SwapchainCreationExecutor testExecutor) executeSwapchainParameterCases() argument 876 const std::vector<vk::VkSurfaceFormatKHR> formats = vk::wsi::getPhysicalDeviceSurfaceFormats(vki, executeSwapchainParameterCases() local 959 const std::vector<vk::VkSurfaceFormatKHR> formats = vk::wsi::getPhysicalDeviceSurfaceFormats(vki, getBasicSwapchainParameters() local [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-pcm.c | 528 hw->formats = ULLONG_MAX; in soc_pcm_hw_init() 554 hw->formats &= p->formats; in soc_pcm_hw_update_format() 640 u64 formats = hw->formats; in soc_pcm_init_runtime_hw() local 649 if (formats) in soc_pcm_init_runtime_hw() 650 hw->formats &= formats; in soc_pcm_init_runtime_hw() 760 err_msg = "formats"; in soc_hw_sanity_check() 761 if (!hw->formats) in soc_hw_sanity_check() 1689 u64 formats = hw->formats; dpcm_runtime_setup_fe() local [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | sink-input.c | 246 pa_idxset *formats = NULL; in pa_sink_input_new_data_set_sink() local 260 /* Extended API: let's see if this sink supports the formats the client can provide */ in pa_sink_input_new_data_set_sink() 261 formats = pa_sink_check_formats(s, data->req_formats); in pa_sink_input_new_data_set_sink() 263 if (formats && !pa_idxset_isempty(formats)) { in pa_sink_input_new_data_set_sink() 264 /* Sink supports at least one of the requested formats */ in pa_sink_input_new_data_set_sink() 273 data->nego_formats = formats; in pa_sink_input_new_data_set_sink() 275 /* Sink doesn't support any of the formats requested by the client */ in pa_sink_input_new_data_set_sink() 276 if (formats) in pa_sink_input_new_data_set_sink() 277 pa_idxset_free(formats, (pa_free_cb_ in pa_sink_input_new_data_set_sink() 285 pa_sink_input_new_data_set_formats(pa_sink_input_new_data *data, pa_idxset *formats) pa_sink_input_new_data_set_formats() argument 385 pa_idxset *formats; pa_sink_input_new() local [all...] |
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-sink.c | 181 pa_idxset *formats; member 1771 return pa_idxset_copy(u->formats, (pa_copy_func_t) pa_format_info_copy); in sink_get_formats() 1774 static bool sink_set_formats(pa_sink *s, pa_idxset *formats) { in sink_set_formats() argument 1782 PA_IDXSET_FOREACH(f, formats, idx) { in sink_set_formats() 1788 pa_idxset_free(u->formats, (pa_free_cb_t) pa_format_info_free); in sink_set_formats() 1789 u->formats = pa_idxset_new(NULL, NULL); in sink_set_formats() 1799 /* First insert non-PCM formats since we prefer those. */ in sink_set_formats() 1800 PA_IDXSET_FOREACH(f, formats, idx) { in sink_set_formats() 1804 pa_idxset_put(u->formats, g, NULL); in sink_set_formats() 1808 /* Now add any PCM formats */ in sink_set_formats() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 109 * it returns little endian byte order or host byte order framebuffer formats. 160 static const struct drm_format_info formats[] = { in __drm_format_info() local 742 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in __drm_format_info() 743 if (formats[i].format == format) { in __drm_format_info() 744 return &formats[i]; in __drm_format_info() 756 * Unsupported pixel formats will generate a warning in the kernel log.
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_scaler.c | 35 const struct exynos_drm_ipp_formats *formats; member 459 scaler->scaler_data->formats, in scaler_bind() 704 .formats = exynos5420_formats, 711 .formats = exynos5420_formats, /* intentional */
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 107 * it returns little endian byte order or host byte order framebuffer formats. 159 static const struct drm_format_info formats[] = { in __drm_format_info() local 300 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in __drm_format_info() 301 if (formats[i].format == format) in __drm_format_info() 302 return &formats[i]; in __drm_format_info() 313 * Unsupported pixel formats will generate a warning in the kernel log.
|
/kernel/linux/linux-5.10/sound/pci/au88x0/ |
H A D | au88x0_pcm.c | 26 .formats = 47 .formats = 67 .formats = 89 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | adav80x.c | 770 .formats = ADAV80X_FORMATS, 777 .formats = ADAV80X_FORMATS, 789 .formats = ADAV80X_FORMATS, 796 .formats = ADAV80X_FORMATS,
|
H A D | adau1761.c | 872 .formats = ADAU1761_FORMATS, 879 .formats = ADAU1761_FORMATS, 891 .formats = ADAU1761_FORMATS, 898 .formats = ADAU1761_FORMATS,
|
H A D | isabelle.c | 1049 .formats = ISABELLE_FORMATS, 1060 .formats = ISABELLE_FORMATS, 1071 .formats = ISABELLE_FORMATS, 1082 .formats = ISABELLE_FORMATS,
|
H A D | uda1380.c | 661 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 667 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 677 .formats = SNDRV_PCM_FMTBIT_S16_LE, 688 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
/kernel/linux/linux-5.10/sound/pci/oxygen/ |
H A D | oxygen_pcm.c | 35 .formats = SNDRV_PCM_FMTBIT_S16_LE | 63 .formats = SNDRV_PCM_FMTBIT_S16_LE | 91 .formats = SNDRV_PCM_FMTBIT_S16_LE, 159 if (runtime->hw.formats & SNDRV_PCM_FMTBIT_S32_LE) { in oxygen_open()
|
/kernel/linux/linux-5.10/sound/soc/intel/keembay/ |
H A D | kmb_platform.c | 38 .formats = SNDRV_PCM_FMTBIT_S16_LE | 593 .formats = (SNDRV_PCM_FMTBIT_S32_LE | 605 .formats = (SNDRV_PCM_FMTBIT_S32_LE | 624 .formats = (SNDRV_PCM_FMTBIT_S32_LE |
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-common.c | 236 static const struct v4l2_format_info formats[] = { in v4l2_format_info() local 237 /* RGB formats */ in v4l2_format_info() 256 /* YUV packed formats */ in v4l2_format_info() 262 /* YUV planar formats */ in v4l2_format_info() 278 /* YUV planar formats, non contiguous variant */ in v4l2_format_info() 291 /* Bayer RGB formats */ in v4l2_format_info() 315 for (i = 0; i < ARRAY_SIZE(formats); ++i) in v4l2_format_info() 316 if (formats[i].format == format) in v4l2_format_info() 317 return &formats[i]; in v4l2_format_info() 418 /* Single planar API cannot be used for multi plane formats in v4l2_fill_pixfmt() [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | uvc_v4l2.c | 82 list_for_each_entry(format, &uvc->header->formats, entry) { in find_format_by_index() 101 list_for_each_entry(format, &uvc->header->formats, entry) { in find_frame_by_index() 121 list_for_each_entry(format, &uvc->header->formats, entry) { in find_format_by_pix() 149 list_for_each_entry(format, &uvc->header->formats, entry) { in find_closest_frame_by_size()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 117 * it returns little endian byte order or host byte order framebuffer formats. 149 static const struct drm_format_info formats[] = { in __drm_format_info() local 317 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in __drm_format_info() 318 if (formats[i].format == format) in __drm_format_info() 319 return &formats[i]; in __drm_format_info() 330 * Unsupported pixel formats will generate a warning in the kernel log.
|
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_scaler.c | 36 const struct exynos_drm_ipp_formats *formats; member 462 scaler->scaler_data->formats, in scaler_bind() 699 .formats = exynos5420_formats, 706 .formats = exynos5420_formats, /* intentional */
|