Home
last modified time | relevance | path

Searched refs:format (Results 8776 - 8800 of 12933) sorted by relevance

1...<<351352353354355356357358359360>>...518

/third_party/mesa3d/src/amd/vulkan/
H A Dradv_pipeline.c479 unsigned format, ntype, swap; in radv_choose_spi_color_format() local
481 format = radv_translate_colorformat(vk_format); in radv_choose_spi_color_format()
486 ac_choose_spi_color_formats(format, swap, ntype, false, use_rbplus, &formats); in radv_choose_spi_color_format()
499 format_is_int8(VkFormat format) in format_is_int8() argument
501 const struct util_format_description *desc = vk_format_description(format); in format_is_int8()
502 int channel = vk_format_get_first_non_void_channel(format); in format_is_int8()
508 format_is_int10(VkFormat format) in format_is_int10() argument
510 const struct util_format_description *desc = vk_format_description(format); in format_is_int10()
522 format_is_float32(VkFormat format) in format_is_float32() argument
524 const struct util_format_description *desc = vk_format_description(format); in format_is_float32()
616 radv_format_meta_fs_key(struct radv_device *device, VkFormat format) radv_format_meta_fs_key() argument
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/
H A Dneural_network_core_test.cpp1188 OH_NN_Format format = static_cast<OH_NN_Format>(OH_NN_FLOAT32); in HWTEST_F() local
1189 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetFormat(tensorDesc, format); in HWTEST_F()
1201 OH_NN_Format format = static_cast<OH_NN_Format>(OH_NN_FLOAT32); in HWTEST_F() local
1202 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetFormat(tensorDesc, format); in HWTEST_F()
1214 OH_NN_Format* format = nullptr; in HWTEST_F() local
1215 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetFormat(tensorDesc, format); in HWTEST_F()
1227 OH_NN_Format* format = nullptr; in HWTEST_F() local
1228 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetFormat(tensorDesc, format); in HWTEST_F()
1240 OH_NN_Format format = OH_NN_FORMAT_NONE; in HWTEST_F() local
1241 OH_NN_ReturnCode ret = OH_NNTensorDesc_GetFormat(tensorDesc, &format); in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/
H A DNativeInterfaceDependCheckTest.cpp61 OH_AVFormat *format = OH_AVFormat_Create(); in Configure() local
62 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_CHANNEL_COUNT, CHANNEL_COUNT); in Configure()
63 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in Configure()
64 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_F32LE); in Configure()
65 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_F32LE); in Configure()
66 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOUT, STEREO); in Configure()
67 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AAC_IS_ADTS, 1); in Configure()
68 OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, BITS_RATE); in Configure()
70 OH_AVErrCode ret = encoderDemo->NativeConfigure(handle, format); in Configure()
72 OH_AVFormat_Destroy(format); in Configure()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-simple.c3730 /* This is the grayscale bus format */
4359 enum mipi_dsi_pixel_format format; member
4387 .format = MIPI_DSI_FMT_RGB888,
4417 .format = MIPI_DSI_FMT_RGB888,
4445 .format = MIPI_DSI_FMT_RGB888,
4473 .format = MIPI_DSI_FMT_RGB888,
4502 .format = MIPI_DSI_FMT_RGB888,
4530 .format = MIPI_DSI_FMT_RGB888,
4561 .format = MIPI_DSI_FMT_RGB888,
4610 dsi->format in panel_simple_dsi_probe()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/atmel/
H A Datmel-isc-base.c46 "Sensor is preferred to output the specified format (1-on 0-off), default 1");
990 * Checks the current configured format, if ISC can output it,
991 * considering which type of format the ISC receives from the sensor
1057 * Configures the RLP and DMA modules, depending on the output format
1059 * If direct_dump == true, just dump raw data 8/16 bits depending on format.
1161 * Configuring pipeline modules, depending on which format the ISC outputs
1162 * and considering which format it has as input from the sensor.
1172 /* if sensor format is RAW, we convert inside ISC */ in isc_try_configure_pipeline()
1181 /* if sensor format is RAW, we convert inside ISC */ in isc_try_configure_pipeline()
1191 /* if sensor format i in isc_try_configure_pipeline()
1264 struct v4l2_subdev_format format = { isc_try_fmt() local
1390 struct v4l2_subdev_format format = { isc_set_fmt() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/atm/
H A Dueagle-atm.c38 #define uea_dbg(usb_dev, format, args...) \
42 "[ueagle-atm dbg] %s: " format, \
46 #define uea_vdbg(usb_dev, format, args...) \
50 "[ueagle-atm vdbg] " format, ##args); \
59 #define uea_err(usb_dev, format, args...) \
60 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args)
62 #define uea_warn(usb_dev, format, args...) \
63 dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args)
65 #define uea_info(usb_dev, format, args...) \
66 dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##arg
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
H A Ddc.c212 * Enable alpha blending if pixel format has an alpha in tegra_plane_setup_blending_legacy()
351 yuv = tegra_plane_format_is_yuv(window->format, &planar); in tegra_dc_setup_window()
357 tegra_plane_writel(plane, window->format, DC_WIN_COLOR_DEPTH); in tegra_dc_setup_window()
623 err = tegra_plane_format(state->fb->format->format, in tegra_plane_atomic_check()
624 &plane_state->format, in tegra_plane_atomic_check()
677 if (state->fb->format->num_planes > 2) { in tegra_plane_atomic_check()
731 window.bits_per_pixel = fb->format->cpp[0] * 8; in tegra_plane_atomic_update()
738 window.format = state->format; in tegra_plane_atomic_update()
[all...]
/kernel/linux/linux-6.6/drivers/usb/atm/
H A Dueagle-atm.c38 #define uea_dbg(usb_dev, format, args...) \
42 "[ueagle-atm dbg] %s: " format, \
46 #define uea_vdbg(usb_dev, format, args...) \
50 "[ueagle-atm vdbg] " format, ##args); \
59 #define uea_err(usb_dev, format, args...) \
60 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args)
62 #define uea_warn(usb_dev, format, args...) \
63 dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args)
65 #define uea_info(usb_dev, format, args...) \
66 dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##arg
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_midi2.c609 unsigned int format, status, blk; in process_ump_stream_msg() local
611 format = ump_stream_message_format(*data); in process_ump_stream_msg()
615 if (format) in process_ump_stream_msg()
640 if (format) in process_ump_stream_msg()
2096 u32 val, const char *format, char *page) in f_midi2_opts_uint_show()
2101 result = sprintf(page, format, val); in f_midi2_opts_uint_show()
2206 #define F_MIDI2_BLOCK_OPT(name, format, minval, maxval) \
2212 format "\n", page); \
2393 #define F_MIDI2_EP_OPT(name, format, minval, maxval) \
2399 format "\
2095 f_midi2_opts_uint_show(struct f_midi2_opts *opts, u32 val, const char *format, char *page) f_midi2_opts_uint_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov8865.c632 /* Bits for the format register, used for binning. */
2705 struct v4l2_subdev_format *format) in ov8865_get_fmt()
2708 struct v4l2_mbus_framefmt *mbus_format = &format->format; in ov8865_get_fmt()
2712 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in ov8865_get_fmt()
2714 format->pad); in ov8865_get_fmt()
2726 struct v4l2_subdev_format *format) in ov8865_set_fmt()
2729 struct v4l2_mbus_framefmt *mbus_format = &format->format; in ov8865_set_fmt()
2767 if (format in ov8865_set_fmt()
2703 ov8865_get_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) ov8865_get_fmt() argument
2724 ov8865_set_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) ov8865_set_fmt() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_dp.c23 #include <linux/media-bus-format.h>
87 enum dp_pixelformat format; member
475 drm_warn(mtk_dp->drm_dev, "Unsupported color format: %d\n", in mtk_dp_set_color_format()
1323 mtk_dp->info.format = DP_PIXELFORMAT_RGB; in mtk_dp_initialize_priv_data()
1372 pix_clk_mhz = mtk_dp->info.format == DP_PIXELFORMAT_YUV420 ? in mtk_dp_sdp_set_down_cnt_init_in_hblank()
1837 return mtk_dp_set_color_format(mtk_dp, mtk_dp->info.format); in mtk_dp_video_config()
2354 * format. Use this condition, we can support more resolution. in mtk_dp_bridge_atomic_get_input_bus_fmts()
2387 input_bus_format = bridge_state->input_bus_cfg.format; in mtk_dp_bridge_atomic_check()
2389 dev_dbg(mtk_dp->dev, "input format 0x%04x, output format in mtk_dp_bridge_atomic_check()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
H A Ddd_draw.c31 #include "util/format/u_format.h"
234 util_dump_format(FILE *f, enum pipe_format format) in util_dump_format() argument
236 fprintf(f, "%s", util_format_name(format)); in util_dump_format()
474 DUMP_M(format, info, dst.format); in dd_dump_blit()
479 DUMP_M(format, info, src.format); in dd_dump_blit()
1449 enum pipe_format format, in dd_context_generate_mipmap()
1463 record->call.info.generate_mipmap.format = format; in dd_context_generate_mipmap()
1447 dd_context_generate_mipmap(struct pipe_context *_pipe, struct pipe_resource *res, enum pipe_format format, unsigned base_level, unsigned last_level, unsigned first_layer, unsigned last_layer) dd_context_generate_mipmap() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp337 dbgs() << format("%08x %bb.%u\t", BBI.Offset, J) in dumpBBs()
340 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
1073 << format(" insn address=%#x", UserOffset) << " in " in isCPEntryInRange()
1075 << format("%#x-%x\t", BBI.Offset, BBI.postOffset()) << *MI in isCPEntryInRange()
1076 << format("CPE address=%#x offset=%+d: ", CPEOffset, in isCPEntryInRange()
1288 << format(", expected CPE offset %#x\n", CPEOffset)); in createNewWater()
1331 LLVM_DEBUG(dbgs() << format("Split in middle of big block before %#x", in createNewWater()
1339 LLVM_DEBUG(dbgs() << format(", adjusted to %#x", BaseInsertOffset) in createNewWater()
1376 LLVM_DEBUG(dbgs() << format("Move inside block: %#x\n", BaseInsertOffset)); in createNewWater()
1550 << format(" offse in handleConstantPoolUser()
[all...]
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sSpecialFloatTests.cpp434 GLuint format = 0;
439 case FBO_RGBA4: internalFormat = GL_RGBA4; format = GL_RGBA; type = GL_UNSIGNED_SHORT_4_4_4_4; break;
440 case FBO_RGB5_A1: internalFormat = GL_RGB5_A1; format = GL_RGBA; type = GL_UNSIGNED_SHORT_5_5_5_1; break;
441 case FBO_RGB565: internalFormat = GL_RGB565; format = GL_RGB; type = GL_UNSIGNED_SHORT_5_6_5; break;
442 case FBO_RGBA8: internalFormat = GL_RGBA8; format = GL_RGBA; type = GL_UNSIGNED_BYTE; break;
443 case FBO_RGB10_A2: internalFormat = GL_RGB10_A2; format = GL_RGBA; type = GL_UNSIGNED_INT_2_10_10_10_REV; break;
444 case FBO_RGBA_FLOAT16: internalFormat = GL_RGBA16F; format = GL_RGBA; type = GL_HALF_FLOAT; break;
445 case FBO_RGBA_FLOAT32: internalFormat = GL_RGBA32F; format = GL_RGBA; type = GL_FLOAT; break;
454 << ", format = " << glu::getTextureFormatStr(format)
[all...]
/drivers/hdf_core/framework/model/audio/common/src/
H A Daudio_platform_base.c103 int32_t AudioFormatToBitWidth(enum AudioFormat format, uint32_t *bitWidth) in AudioFormatToBitWidth() argument
109 switch (format) { in AudioFormatToBitWidth()
127 AUDIO_DRIVER_LOG_ERR("format: %d is not define.", format); in AudioFormatToBitWidth()
143 if (AudioFormatToBitWidth(param->format, &platformData->renderPcmInfo.bitWidth) != HDF_SUCCESS) { in AudioSetPcmInfo()
161 if (AudioFormatToBitWidth(param->format, &platformData->capturePcmInfo.bitWidth) != HDF_SUCCESS) { in AudioSetPcmInfo()
/drivers/hdf_core/framework/model/camera/device_impl/src/
H A Dcamera_stream.c109 isFailed |= !HdfSbufWriteUint32(rspData, ctrlConfig.pixelFormat.pixel.format); in CameraSendFmtData()
137 isFailed |= !HdfSbufReadUint32(reqData, &ctrlConfig->pixelFormat.pixel.format); in CameraReceiveFmtData()
307 if (!HdfSbufWriteUint32(rspData, enumFmt.pixelFormat.pixel.format)) { in CameraEnumFmtData()
308 HDF_LOGE("%s: Write format failed!", __func__); in CameraEnumFmtData()
379 isFailed |= !HdfSbufReadUint32(reqData, &enumFormat.pixelFormat.pixel.format); in CameraEnumFmt()
385 isFailed |= !HdfSbufReadUint32(reqData, &enumFormat.pixelFormat.pixel.format); in CameraEnumFmt()
/drivers/peripheral/audio/test/systemtest/hdi_service/common/adapter/src/
H A Daudio_idlhdi_adapter_test.cpp535 attrs.format = AUDIO_FORMAT_TYPE_PCM_16_BIT; in HWTEST_F()
537 attrs.startThreshold = DEEP_BUFFER_RENDER_PERIOD_SIZE / (attrs.format * attrs.channelCount / MOVE_LEFT_NUM); in HWTEST_F()
574 attrs.format = AUDIO_FORMAT_TYPE_PCM_16_BIT; in HWTEST_F()
576 attrs.startThreshold = DEEP_BUFFER_RENDER_PERIOD_SIZE / (attrs.format * attrs.channelCount / MOVE_LEFT_NUM); in HWTEST_F()
810 attrs.format = AUDIO_FORMAT_TYPE_AAC_MAIN; in HWTEST_F()
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dneural_network_core.cpp926 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_SetFormat(NN_TensorDesc *tensorDesc, OH_NN_Format format) in OH_NNTensorDesc_SetFormat() argument
934 return tensorDescImpl->SetFormat(format); in OH_NNTensorDesc_SetFormat()
937 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_GetFormat(const NN_TensorDesc *tensorDesc, OH_NN_Format *format) in OH_NNTensorDesc_GetFormat() argument
943 if (format == nullptr) { in OH_NNTensorDesc_GetFormat()
944 LOGE("OH_NNTensorDesc_GetFormat failed, format is nullptr."); in OH_NNTensorDesc_GetFormat()
949 return tensorDescImpl->GetFormat(format); in OH_NNTensorDesc_GetFormat()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dpa_renderer_stream_impl.cpp114 sampleSpec->format, sampleSpec->rate); in InitParams()
120 if (static_cast<uint8_t>(sampleSpec->format) != processConfig_.streamInfo.format) { // In plan in InitParams()
121 AUDIO_WARNING_LOG("Unequal format, in server: %{public}d, in client: %{public}d", sampleSpec->format, in InitParams()
122 processConfig_.streamInfo.format); in InitParams()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_receiver_napi.cpp156 DECLARE_NAPI_GETTER("format", JsGetFormat), in Init()
261 static bool checkFormat(int32_t format) in checkFormat() argument
264 if (imgEnum.numVal == format) { in checkFormat()
280 if (!checkFormat(args.format)) { in CreateImageReceiverJsObject()
286 napi_create_int32(env, args.format, &(inputArgs.argv[PARAM2])); in CreateImageReceiverJsObject()
573 .format = pixelFormat, in DoTest()
717 IMAGE_ERR("DoCallBackTest format %{public}d", imageReceiver1->iraContext_->GetFormat()); in DoCallBackTest()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dpp.c173 enum surface_pixel_format format, in dpp3_cnv_setup()
206 switch (format) { in dpp3_cnv_setup()
392 scl_data->format == PIXEL_FORMAT_FP16) in dpp3_get_optimal_number_of_taps()
442 if ((scl_data->format == PIXEL_FORMAT_420BPP8) || (scl_data->format == PIXEL_FORMAT_420BPP10)) in dpp3_get_optimal_number_of_taps()
171 dpp3_cnv_setup( struct dpp *dpp_base, enum surface_pixel_format format, enum expansion_mode mode, struct dc_csc_transform input_csc_color_matrix, enum dc_color_space input_color_space, struct cnv_alpha_2bit_lut *alpha_2bit_lut) dpp3_cnv_setup() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline_state.c323 if (kfb->base.format->hsub > 1) in komeda_layer_check_cfg()
378 for (i = 0; i < fb->format->num_planes; i++) in komeda_layer_validate()
422 for (i = 0; i < kfb->base.format->num_planes; i++) in komeda_wb_layer_validate()
851 /* if format doesn't have alpha, fix blend mode to PIXEL_NONE */ in komeda_complete_data_flow_cfg()
852 if (!fb->format->has_alpha) in komeda_complete_data_flow_cfg()
859 dflow->is_yuv = fb->format->is_yuv; in komeda_complete_data_flow_cfg()
995 /* Consider YUV format, after split, the split source w/h in komeda_split_data_flow()
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
H A Dcx18-av-core.c884 /* Set format to NTSC-M */ in cx18_av_s_std()
934 struct v4l2_subdev_format *format) in cx18_av_set_fmt()
936 struct v4l2_mbus_framefmt *fmt = &format->format; in cx18_av_set_fmt()
942 if (format->pad || fmt->code != MEDIA_BUS_FMT_FIXED) in cx18_av_set_fmt()
977 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in cx18_av_set_fmt()
1044 CX18_INFO_DEV(sd, "Detected format: %s\n", in log_video_status()
1200 CX18_INFO_DEV(sd, "Selected 65 MHz format: %s\n", p); in log_audio_status()
1210 CX18_INFO_DEV(sd, "Selected 45 MHz format: %s\n", p); in log_audio_status()
932 cx18_av_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_format *format) cx18_av_set_fmt() argument
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dsaa717x.c286 0x58f, 0x023, /* Audio format */
984 struct v4l2_subdev_format *format) in saa717x_set_fmt()
986 struct v4l2_mbus_framefmt *fmt = &format->format; in saa717x_set_fmt()
991 if (format->pad || fmt->code != MEDIA_BUS_FMT_FIXED) in saa717x_set_fmt()
1003 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in saa717x_set_fmt()
982 saa717x_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_format *format) saa717x_set_fmt() argument
/kernel/linux/linux-5.10/sound/pci/mixart/
H A Dmixart.c279 /* we don't yet know the format, so config 16 bit pcm audio for instance */ in snd_mixart_add_ref_pipe()
504 static int mixart_set_format(struct mixart_stream *stream, snd_pcm_format_t format) in mixart_set_format() argument
523 switch(format){ in mixart_set_format()
554 "error mixart_set_format() : unknown format\n"); in mixart_set_format()
597 snd_pcm_format_t format; in snd_mixart_hw_params() local
604 /* set up format for the stream */ in snd_mixart_hw_params()
605 format = params_format(hw); in snd_mixart_hw_params()
620 /* set the format to the board */ in snd_mixart_hw_params()
621 err = mixart_set_format(stream, format); in snd_mixart_hw_params()

Completed in 73 milliseconds

1...<<351352353354355356357358359360>>...518