/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesImageAlignedMipSize.cpp | 280 for (size_t formatNdx = 0; formatNdx < imageParameters[imageTypeNdx].formats.size(); ++formatNdx) in createImageAlignedMipSizeTests() 282 VkFormat format = imageParameters[imageTypeNdx].formats[formatNdx].format; in createImageAlignedMipSizeTests() 287 // skip test for images with odd sizes for some YCbCr formats in createImageAlignedMipSizeTests()
|
H A D | vktSparseResourcesTestsUtil.hpp | 82 std::vector<TestFormat> formats; member 87 , formats (formats_) in TestImageParameters()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_sprite.c | 290 * are limited to 32bpp RGB formats we don't actually need in intel_plane_check_src_coordinates() 2084 "horizontal flip is not supported with linear surface formats\n"); in skl_plane_check_fb() 2144 "Source color keying not supported with P01x formats\n"); in skl_plane_check_fb() 3022 const u32 *formats; in skl_universal_plane_create() local 3049 formats = icl_get_plane_formats(dev_priv, pipe, in skl_universal_plane_create() 3052 formats = glk_get_plane_formats(dev_priv, pipe, in skl_universal_plane_create() 3055 formats = skl_get_plane_formats(dev_priv, pipe, in skl_universal_plane_create() 3077 formats, num_formats, modifiers, in skl_universal_plane_create() 3136 const u32 *formats; in intel_sprite_plane_create() local 3157 formats in intel_sprite_plane_create() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_heif_test.cpp | 382 std::set<string> formats;
in HWTEST_F() local 383 uint32_t ret = imageSource->GetSupportedFormats(formats);
in HWTEST_F() 489 * @tc.steps: step1.GetSupportedFormats(formats)
in HWTEST_F() 490 * @tc.expected: step1. GetSupportedFormats(formats) success
in HWTEST_F() 498 std::set<std::string> formats;
in HWTEST_F() local 499 uint32_t ret = imageSource->GetSupportedFormats(formats);
in HWTEST_F() 525 std::set<string> formats;
in HWTEST_F() local 526 uint32_t ret = imageSource->GetSupportedFormats(formats);
in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/media/common/saa7146/ |
H A D | saa7146_video.c | 21 static struct saa7146_format formats[] = { variable 77 due to this, it's impossible to provide additional *packed* formats, which are simply byte swapped 84 for (i = 0; i < ARRAY_SIZE(formats); i++) { in saa7146_format_by_fourcc() 85 if (formats[i].pixelformat == fourcc) { in saa7146_format_by_fourcc() 86 return formats+i; in saa7146_format_by_fourcc() 481 /* planar formats are not allowed for overlay video, clipping and video dma would clash */ in vidioc_s_fbuf() 507 if (f->index >= ARRAY_SIZE(formats)) in vidioc_enum_fmt_vid_cap() 509 f->pixelformat = formats[f->index].pixelformat; in vidioc_enum_fmt_vid_cap()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
H A D | cx23885-video.c | 68 static struct cx23885_fmt formats[] = { variable 80 for (i = 0; i < ARRAY_SIZE(formats); i++) in format_by_fourcc() 81 if (formats[i].fourcc == fourcc) in format_by_fourcc() 82 return formats+i; in format_by_fourcc() 388 /* All other formats are top field first */ in buffer_prepare() 660 if (unlikely(f->index >= ARRAY_SIZE(formats))) in vidioc_enum_fmt_vid_cap() 663 f->pixelformat = formats[f->index].fourcc; in vidioc_enum_fmt_vid_cap()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | adau1373.c | 1198 .formats = ADAU1373_FORMATS, 1205 .formats = ADAU1373_FORMATS, 1218 .formats = ADAU1373_FORMATS, 1225 .formats = ADAU1373_FORMATS, 1238 .formats = ADAU1373_FORMATS, 1245 .formats = ADAU1373_FORMATS,
|
H A D | hdac_hdmi.c | 51 u64 formats; member 308 u64 formats = SNDRV_PCM_FMTBIT_S16; in hdac_hdmi_eld_limit_formats() local 324 formats |= SNDRV_PCM_FMTBIT_S32; in hdac_hdmi_eld_limit_formats() 330 formats); in hdac_hdmi_eld_limit_formats() 672 &cvt->params.formats, in hdac_hdmi_query_cvt_params() 1569 u64 formats; in hdac_hdmi_create_dais() local 1580 &rates, &formats, &bps); in hdac_hdmi_create_dais() 1607 hdmi_dais[i].playback.formats = formats; in hdac_hdmi_create_dais()
|
/kernel/linux/linux-5.10/sound/usb/ |
H A D | stream.c | 102 subs->formats |= fp->formats; in snd_usb_init_substream() 495 subs->formats |= fp->formats; in __snd_usb_add_audio_stream() 718 /* get audio formats */ in snd_usb_get_audioformat_uac12() 1047 fp->formats = badd_formats; in snd_usb_get_audioformat_uac3() 1166 fp->formats == SNDRV_PCM_FMTBIT_S16_LE && in __snd_usb_parse_audio_interface() 1222 /* parse PCM formats */ in snd_usb_parse_audio_interface() 1228 /* parse non-PCM formats */ in snd_usb_parse_audio_interface()
|
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8173/ |
H A D | mt8173-afe-pcm.c | 541 .formats = SNDRV_PCM_FMTBIT_S16_LE, 552 .formats = SNDRV_PCM_FMTBIT_S16_LE, 564 .formats = SNDRV_PCM_FMTBIT_S16_LE, 571 .formats = SNDRV_PCM_FMTBIT_S16_LE, 591 .formats = SNDRV_PCM_FMTBIT_S16_LE, 606 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp.c | 82 * @bus_fmt: Media bus formats (live formats) 83 * @swap: Flag to swap R & B for RGB formats, and U & V for YUV formats 128 * @formats: Array of supported formats 129 * @num_formats: Number of formats in @formats array 133 const struct zynqmp_disp_format *formats; member 257 /* List of video layer formats */ [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx23885/ |
H A D | cx23885-video.c | 68 static struct cx23885_fmt formats[] = { variable 80 for (i = 0; i < ARRAY_SIZE(formats); i++) in format_by_fourcc() 81 if (formats[i].fourcc == fourcc) in format_by_fourcc() 82 return formats+i; in format_by_fourcc() 389 /* All other formats are top field first */ in buffer_prepare() 661 if (unlikely(f->index >= ARRAY_SIZE(formats))) in vidioc_enum_fmt_vid_cap() 664 f->pixelformat = formats[f->index].fourcc; in vidioc_enum_fmt_vid_cap()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | adau1373.c | 1197 .formats = ADAU1373_FORMATS, 1204 .formats = ADAU1373_FORMATS, 1217 .formats = ADAU1373_FORMATS, 1224 .formats = ADAU1373_FORMATS, 1237 .formats = ADAU1373_FORMATS, 1244 .formats = ADAU1373_FORMATS,
|
/kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
H A D | skl-messages.c | 448 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_module_format() 497 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_ext_module_format() 732 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_setup_out_format() 759 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; in skl_set_src_format() 778 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; in skl_set_updown_mixer_format() 1187 fmt = &module->formats[src_mcfg->fmt_idx]; in skl_bind_modules()
|
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8173/ |
H A D | mt8173-afe-pcm.c | 539 .formats = SNDRV_PCM_FMTBIT_S16_LE, 550 .formats = SNDRV_PCM_FMTBIT_S16_LE, 562 .formats = SNDRV_PCM_FMTBIT_S16_LE, 569 .formats = SNDRV_PCM_FMTBIT_S16_LE, 589 .formats = SNDRV_PCM_FMTBIT_S16_LE, 604 .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
/kernel/linux/linux-6.6/sound/usb/ |
H A D | stream.c | 101 subs->formats |= fp->formats; in snd_usb_init_substream() 497 subs->formats |= fp->formats; in __snd_usb_add_audio_stream() 720 /* get audio formats */ in snd_usb_get_audioformat_uac12() 1049 fp->formats = badd_formats; in snd_usb_get_audioformat_uac3() 1169 fp->formats == SNDRV_PCM_FMTBIT_S16_LE && in __snd_usb_parse_audio_interface() 1252 /* parse PCM formats */ in snd_usb_parse_audio_interface() 1258 /* parse non-PCM formats */ in snd_usb_parse_audio_interface()
|
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeCanvasTestPart2.cpp | 723 OH_Drawing_ColorFormat formats[] = { in HWTEST_F() local 740 OH_Drawing_Image_Info imageInfo = {width, height, formats[i], alphaFormats[j]}; in HWTEST_F() 741 OH_Drawing_BitmapFormat cFormat{formats[i], alphaFormats[j]}; in HWTEST_F() 936 OH_Drawing_ColorFormat formats[] = { in HWTEST_F() local 953 OH_Drawing_Image_Info imageInfo = {width, height, formats[i], alphaFormats[j]}; in HWTEST_F() 954 OH_Drawing_BitmapFormat cFormat{formats[i], alphaFormats[j]}; in HWTEST_F()
|
/third_party/python/Lib/ |
H A D | shutil.py | 1050 """Returns a list of supported formats for archiving and unarchiving. 1054 formats = [(name, registry[2]) for name, registry in 1056 formats.sort() 1057 return formats 1144 """Returns a list of supported formats for unpacking. 1149 formats = [(name, info[0], info[3]) for name, info in 1151 formats.sort() 1152 return formats
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassUnusedClearAttachmentTests.cpp | 129 std::vector<VkFormat> formats; in getFormats() local 132 formats.push_back(FORMAT_DEPTH_STENCIL); in getFormats() 134 formats.push_back(VK_FORMAT_UNDEFINED); in getFormats() 137 formats.push_back(FORMAT_DEPTH); in getFormats() 139 formats.push_back(FORMAT_STENCIL); in getFormats() 141 return formats; in getFormats() 269 // Check support for the needed color, depth and stencil formats. in checkSupport()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsFboUtil.cpp | 265 for (const FormatKey* i2 = entryIt->formats.begin(); i2 != entryIt->formats.end(); i2++) in addExtFormats() 521 Checker::Checker (const glu::RenderContext& ctx, const FormatDB& formats) in Checker() argument 522 : m_renderCtx(ctx), m_formats(formats) in Checker() 549 FboVerifier::FboVerifier (const FormatDB& formats, CheckerFactory& factory, const glu::RenderContext& renderCtx) in FboVerifier() argument 550 : m_formats (formats) in FboVerifier()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassUnusedClearAttachmentTests.cpp | 129 std::vector<VkFormat> formats; in getFormats() local 132 formats.push_back(FORMAT_DEPTH_STENCIL); in getFormats() 134 formats.push_back(VK_FORMAT_UNDEFINED); in getFormats() 137 formats.push_back(FORMAT_DEPTH); in getFormats() 139 formats.push_back(FORMAT_STENCIL); in getFormats() 141 return formats; in getFormats() 270 // Check support for the needed color, depth and stencil formats. in checkSupport()
|
/foundation/multimedia/image_framework/frameworks/kits/cj/src/ |
H A D | image_ffi.cpp | 276 std::set<std::string> formats; in FfiOHOSGetSupportedFormats() local 277 *errCode = instance->GetSupportedFormats(formats); in FfiOHOSGetSupportedFormats() 279 size_t size = formats.size(); in FfiOHOSGetSupportedFormats() 294 for (const std::string& str: formats) { in FfiOHOSGetSupportedFormats() 1341 std::set<std::string> formats; in FfiOHOSImagePackerGetSupportedFormats() local 1342 uint32_t formatsRet = imagePacker->GetSupportedFormats(formats); in FfiOHOSImagePackerGetSupportedFormats() 1344 IMAGE_LOGE("fail to get supported formats"); in FfiOHOSImagePackerGetSupportedFormats() 1349 auto size = formats.size(); in FfiOHOSImagePackerGetSupportedFormats() 1363 for (const auto& format : formats) { in FfiOHOSImagePackerGetSupportedFormats() 1375 arrInfo.size = static_cast<int64_t>(formats in FfiOHOSImagePackerGetSupportedFormats() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispccdc.c | 616 info = omap3isp_video_format_info(ccdc->formats[CCDC_PAD_SINK].code); in ccdc_configure_alaw() 814 format = &ccdc->formats[CCDC_PAD_SOURCE_VP]; in ccdc_config_vp() 835 info = omap3isp_video_format_info(ccdc->formats[CCDC_PAD_SINK].code); in ccdc_config_vp() 868 * @field: Field order when storing interlaced formats in memory. 970 format = &ccdc->formats[CCDC_PAD_SINK]; in ccdc_config_sync_if() 1040 /* CCDC formats descriptions */ 1147 format = &ccdc->formats[CCDC_PAD_SINK]; in ccdc_configure() 1223 format = &ccdc->formats[CCDC_PAD_SOURCE_OF]; in ccdc_configure() 1229 * formats in that case. in ccdc_configure() 1256 if (ccdc->formats[CCDC_PAD_SIN in ccdc_configure() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispccdc.c | 616 info = omap3isp_video_format_info(ccdc->formats[CCDC_PAD_SINK].code); in ccdc_configure_alaw() 814 format = &ccdc->formats[CCDC_PAD_SOURCE_VP]; in ccdc_config_vp() 835 info = omap3isp_video_format_info(ccdc->formats[CCDC_PAD_SINK].code); in ccdc_config_vp() 868 * @field: Field order when storing interlaced formats in memory. 970 format = &ccdc->formats[CCDC_PAD_SINK]; in ccdc_config_sync_if() 1040 /* CCDC formats descriptions */ 1154 format = &ccdc->formats[CCDC_PAD_SINK]; in ccdc_configure() 1229 format = &ccdc->formats[CCDC_PAD_SOURCE_OF]; in ccdc_configure() 1235 * formats in that case. in ccdc_configure() 1262 if (ccdc->formats[CCDC_PAD_SIN in ccdc_configure() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nxp/dw100/ |
H A D | dw100.c | 120 } formats[] = { variable 187 for (i = 0; i < ARRAY_SIZE(formats); i++) { in dw100_find_pixel_format() 188 const struct dw100_fmt *fmt = &formats[i]; in dw100_find_pixel_format() 615 ctx->q_data[DW100_QUEUE_SRC].fmt = &formats[0]; in dw100_open() 626 v4l2_fill_pixfmt_mp(pix_fmt, formats[0].fourcc, DW100_DEF_W, DW100_DEF_H); in dw100_open() 706 for (i = 0; i < ARRAY_SIZE(formats); i++) { in dw100_enum_fmt_vid() 707 if (formats[i].types & to_dw100_fmt_type(f->type)) { in dw100_enum_fmt_vid() 709 f->pixelformat = formats[i].fourcc; in dw100_enum_fmt_vid() 763 fmt = &formats[0]; in dw100_try_fmt()
|