Home
last modified time | relevance | path

Searched refs:format (Results 1476 - 1500 of 12638) sorted by relevance

1...<<51525354555657585960>>...506

/third_party/vk-gl-cts/framework/common/
H A DtcuSurfaceAccess.hpp34 inline deUint8 getColorMask (const tcu::PixelFormat& format) in getColorMask() argument
36 return (deUint8)((format.redBits ? tcu::RGBA::RED_MASK : 0) | in getColorMask()
37 (format.greenBits ? tcu::RGBA::GREEN_MASK : 0) | in getColorMask()
38 (format.blueBits ? tcu::RGBA::BLUE_MASK : 0) | in getColorMask()
39 (format.alphaBits ? tcu::RGBA::ALPHA_MASK : 0)); in getColorMask()
47 (mask&tcu::RGBA::ALPHA_MASK) ? tcu::floatToU8(v.w()) : 0xFF); //!< \note Alpha defaults to full saturation when reading masked format in toRGBAMasked()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrContext.cpp44 deUint32 format = GL_NONE; in texImage2D() local
54 format = internalFormat; in texImage2D()
61 format = transferFmt.format; in texImage2D()
67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL); in texImage2D()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/
H A Dbluetooth_renderer_sink.cpp80 HDI::Audio_Bluetooth::AudioFormat format; member
192 AudioFormat ConvertToHdiFormat(HdiAdapterFormat format);
193 ConvertHdiFormat ConvertToHdiAdapterFormat(AudioFormat format);
199 void DfxOperation(BufferDesc &buffer, AudioSampleFormat format, AudioChannel channel) const;
318 attrs.format = AUDIO_FORMAT_TYPE_PCM_16_BIT; in InitAttrs()
387 uint32_t PcmFormatToBits(AudioFormat format) in PcmFormatToBits() argument
389 switch (format) { in PcmFormatToBits()
409 param.format = attr_.format; in CreateRender()
410 param.frameSize = PcmFormatToBits(param.format) * para in CreateRender()
429 ConvertToHdiFormat(HdiAdapterFormat format) ConvertToHdiFormat() argument
578 DfxOperation(BufferDesc &buffer, AudioSampleFormat format, AudioChannel channel) const DfxOperation() argument
589 ConvertToHdiAdapterFormat(AudioFormat format) ConvertToHdiAdapterFormat() argument
1037 HdiFormatToByte(HDI::Audio_Bluetooth::AudioFormat format) HdiFormatToByte() argument
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/sample/
H A Dvenc_sample.cpp86 void VEncCallbackTest::OnStreamChanged(std::shared_ptr<FormatMock> format) in OnStreamChanged() argument
88 UNITTEST_INFO_LOG("format changed: %s", format->DumpInfo()); in OnStreamChanged()
134 void VEncCallbackTestExt::OnStreamChanged(std::shared_ptr<FormatMock> format) in OnStreamChanged() argument
136 UNITTEST_INFO_LOG("format changed: %s", format->DumpInfo()); in OnStreamChanged()
289 int32_t VideoEncSample::Configure(std::shared_ptr<FormatMock> format) in Configure() argument
294 return videoEnc_->Configure(format); in Configure()
378 int32_t VideoEncSample::SetParameter(std::shared_ptr<FormatMock> format) in SetParameter() argument
383 return videoEnc_->SetParameter(format); in SetParameter()
632 InputLtrParam(std::shared_ptr<FormatMock> format, int32_t frameInputCount, std::shared_ptr<AVBufferMock> buffer) InputLtrParam() argument
669 auto format = signal_->inFormatQueue_.front(); InputParamLoopFunc() local
729 auto format = GetInputDescription(); InputLoopInner() local
857 std::shared_ptr<FormatMock> format = buffer->GetParameter(); CheckFormatKey() local
957 std::shared_ptr<FormatMock> format = buffer->GetParameter(); InputLoopInnerExt() local
969 auto format = GetInputDescription(); InputLoopInnerExt() local
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dmt9p031.c125 struct v4l2_mbus_framefmt format; member
385 struct v4l2_mbus_framefmt *format = &mt9p031->format; in mt9p031_set_params() local
417 xskip = DIV_ROUND_CLOSEST(crop->width, format->width); in mt9p031_set_params()
418 yskip = DIV_ROUND_CLOSEST(crop->height, format->height); in mt9p031_set_params()
508 code->code = mt9p031->format.code; in mt9p031_enum_mbus_code()
518 if (fse->index >= 8 || fse->code != mt9p031->format.code) in mt9p031_enum_frame_size()
538 return &mt9p031->format; in __mt9p031_get_pad_format()
564 fmt->format = *__mt9p031_get_pad_format(mt9p031, cfg, fmt->pad, in mt9p031_get_format()
571 struct v4l2_subdev_format *format) in mt9p031_set_format()
569 mt9p031_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_format *format) mt9p031_set_format() argument
969 struct v4l2_mbus_framefmt *format; mt9p031_open() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/ti/cal/
H A Dcal-video.c124 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; in __subdev_get_format()
146 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; in __subdev_set_format()
201 ctx_dbg(3, ctx, "Fourcc format (0x%08x) not found.\n", in cal_legacy_try_fmt_vid_cap()
274 v4l2_fill_mbus_format(&sd_fmt.format, &f->fmt.pix, fmtinfo->code); in cal_legacy_s_fmt_vid_cap()
276 ret = __subdev_set_format(ctx, &sd_fmt.format); in cal_legacy_s_fmt_vid_cap()
281 if (sd_fmt.format.code != fmtinfo->code) { in cal_legacy_s_fmt_vid_cap()
283 "%s subdev changed format on us, this should not happen\n", in cal_legacy_s_fmt_vid_cap()
288 v4l2_fill_pix_format(&ctx->v_fmt.fmt.pix, &sd_fmt.format); in cal_legacy_s_fmt_vid_cap()
291 ctx->v_fmt.fmt.pix.field = sd_fmt.format.field; in cal_legacy_s_fmt_vid_cap()
314 /* check for valid format */ in cal_legacy_enum_framesizes()
467 struct v4l2_pix_format *format = &f->fmt.pix; cal_mc_try_fmt() local
689 const struct v4l2_mbus_framefmt *format; cal_video_check_format() local
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dimx290.c658 const struct v4l2_mbus_framefmt *format, in imx290_set_black_level()
661 unsigned int bpp = imx290_format_info(imx290, format->code)->bpp; in imx290_set_black_level()
705 const struct v4l2_mbus_framefmt *format) in imx290_setup_format()
710 info = imx290_format_info(imx290, format->code); in imx290_setup_format()
714 dev_err(imx290->dev, "Could not set format registers\n"); in imx290_setup_format()
718 return imx290_set_black_level(imx290, format, in imx290_setup_format()
740 const struct v4l2_mbus_framefmt *format; in imx290_set_ctrl() local
761 format = v4l2_subdev_get_pad_format(&imx290->sd, state, 0); in imx290_set_ctrl()
788 imx290_set_black_level(imx290, format, 0, &ret); in imx290_set_ctrl()
797 imx290_set_black_level(imx290, format, in imx290_set_ctrl()
657 imx290_set_black_level(struct imx290 *imx290, const struct v4l2_mbus_framefmt *format, unsigned int black_level, int *err) imx290_set_black_level() argument
704 imx290_setup_format(struct imx290 *imx290, const struct v4l2_mbus_framefmt *format) imx290_setup_format() argument
957 const struct v4l2_mbus_framefmt *format; imx290_start_streaming() local
1117 struct v4l2_mbus_framefmt *format; imx290_set_fmt() local
1154 struct v4l2_mbus_framefmt *format; imx290_get_selection() local
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DDecimalQuantityTest.java241 for (LocalizedNumberFormatter format : formats) { in testDecimalQuantityWithFormats()
246 format.formatImpl(q0, nsb1); in testDecimalQuantityWithFormats()
247 format.formatImpl(q1, nsb2); in testDecimalQuantityWithFormats()
693 FormattedNumber fn = formatter.format(input); in testScientificAndCompactSuppressedExponent()
705 String.format("formatted number %s toString: %f", skeleton, input), in testScientificAndCompactSuppressedExponent()
709 String.format("formatted number %s toLong: %f", skeleton, input), in testScientificAndCompactSuppressedExponent()
713 String.format("formatted number %s toDouble: %f", skeleton, input), in testScientificAndCompactSuppressedExponent()
717 String.format("formatted number %s toBigDecimal: %f", skeleton, input), in testScientificAndCompactSuppressedExponent()
721 String.format("formatted number %s toPlainString: %f", skeleton, input), in testScientificAndCompactSuppressedExponent()
725 String.format("formatte in testScientificAndCompactSuppressedExponent()
[all...]
/third_party/mesa3d/src/gbm/backends/dri/
H A Dgbm_dri.c151 unsigned int format, in image_get_buffers()
163 return dri->image_get_buffers(driDrawable, format, stamp, in image_get_buffers()
661 uint32_t format, in gbm_dri_is_format_supported()
670 format = gbm_core.v0.format_canonicalize(format); in gbm_dri_is_format_supported()
671 if (gbm_format_to_dri_format(format) == 0) in gbm_dri_is_format_supported()
677 switch (format) { in gbm_dri_is_format_supported()
687 /* This returns false if the format isn't supported */ in gbm_dri_is_format_supported()
688 if (!dri->image->queryDmaBufModifiers(dri->screen, format, 0, NULL, NULL, in gbm_dri_is_format_supported()
697 uint32_t format, in gbm_dri_get_format_modifier_plane_count()
150 image_get_buffers(__DRIdrawable *driDrawable, unsigned int format, uint32_t *stamp, void *loaderPrivate, uint32_t buffer_mask, struct __DRIimageList *buffers) image_get_buffers() argument
660 gbm_dri_is_format_supported(struct gbm_device *gbm, uint32_t format, uint32_t usage) gbm_dri_is_format_supported() argument
696 gbm_dri_get_format_modifier_plane_count(struct gbm_device *gbm, uint32_t format, uint64_t modifier) gbm_dri_get_format_modifier_plane_count() argument
1150 create_dumb(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) create_dumb() argument
1208 gbm_dri_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t usage, const uint64_t *modifiers, const unsigned int count) gbm_dri_bo_create() argument
1342 gbm_dri_surface_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t flags, const uint64_t *modifiers, const unsigned count) gbm_dri_surface_create() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dttcolr.c447 apaint->format = (FT_PaintFormat)FT_NEXT_BYTE( p ); in read_paint()
449 if ( apaint->format >= FT_COLR_PAINT_FORMAT_MAX ) in read_paint()
452 if ( apaint->format == FT_COLR_PAINTFORMAT_COLR_LAYERS ) in read_paint()
478 else if ( apaint->format == FT_COLR_PAINTFORMAT_SOLID ) in read_paint()
486 else if ( apaint->format == FT_COLR_PAINTFORMAT_COLR_GLYPH ) in read_paint()
503 if ( apaint->format == FT_COLR_PAINTFORMAT_LINEAR_GRADIENT ) in read_paint()
523 else if ( apaint->format == FT_COLR_PAINTFORMAT_RADIAL_GRADIENT ) in read_paint()
542 else if ( apaint->format == FT_COLR_PAINTFORMAT_SWEEP_GRADIENT ) in read_paint()
561 if ( apaint->format == FT_COLR_PAINTFORMAT_GLYPH ) in read_paint()
570 else if ( apaint->format in read_paint()
833 FT_Byte format; FT_LOCAL_DEF() local
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluTexture.cpp41 static inline int computePixelStore (const tcu::TextureFormat& format) in computePixelStore() argument
43 int pixelSize = format.getPixelSize(); in computePixelStore()
52 Texture1D::Texture1D (const RenderContext& context, deUint32 format, deUint32 dataType, int width) in Texture1D() argument
54 , m_format (format) in Texture1D()
55 , m_refTexture (mapGLTransferFormat(format, dataType), width) in Texture1D()
97 gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr()); in upload()
105 Texture2D::Texture2D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height) in Texture2D() argument
108 , m_format (format) in Texture2D()
109 , m_refTexture (mapGLTransferFormat(format, dataType), width, height, isES2Context(context.getType())) in Texture2D()
139 TCU_THROW(NotSupportedError, "Compressed texture format no in Texture2D()
350 TextureCube(const RenderContext& context, deUint32 format, deUint32 dataType, int size) TextureCube() argument
475 Texture1DArray(const RenderContext& context, deUint32 format, deUint32 dataType, int width, int numLevels) Texture1DArray() argument
529 Texture2DArray(const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int numLevels) Texture2DArray() argument
645 Texture3D(const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int depth) Texture3D() argument
770 TextureCubeArray(const RenderContext& context, deUint32 format, deUint32 dataType, int size, int numLayers) TextureCubeArray() argument
922 const tcu::TextureFormat format = mapGLInternalFormat(m_format); getFullRefTexture() local
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/mantis/
H A Dmantis_common.h27 #define dprintk(y, z, format, arg...) do { \
30 printk(KERN_ERR "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
32 printk(KERN_NOTICE "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
34 printk(KERN_INFO "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
36 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
38 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
41 printk(format , ##arg); \
/kernel/linux/linux-5.10/drivers/media/radio/wl128x/
H A Dfmdrv.h43 #define fmerr(format, ...) \
44 printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__)
45 #define fmwarn(format, ...) \
46 printk(KERN_WARNING "fmdrv: " format, ##__VA_ARGS__)
48 #define fmdbg(format, ...) \
49 printk(KERN_DEBUG "fmdrv: " format, ## __VA_ARGS__)
51 #define fmdbg(format, ...) do {} while(0)
62 /* RX RDS data format */
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
H A Dxilinx-vip.h105 * struct xvip_video_format - Xilinx Video IP video format description
106 * @vf_code: AXI4 video format code
107 * @width: AXI4 format width in bits per component
109 * @code: media bus format code
111 * @fourcc: V4L2 pixel format FCC identifier
125 void xvip_set_format_size(struct v4l2_mbus_framefmt *format,
190 const struct v4l2_mbus_framefmt *format) in xvip_set_frame_size()
193 (format->height << XVIP_ACTIVE_VSIZE_SHIFT) | in xvip_set_frame_size()
194 (format->width << XVIP_ACTIVE_HSIZE_SHIFT)); in xvip_set_frame_size()
198 struct v4l2_mbus_framefmt *format) in xvip_get_frame_size()
189 xvip_set_frame_size(struct xvip_device *xvip, const struct v4l2_mbus_framefmt *format) xvip_set_frame_size() argument
197 xvip_get_frame_size(struct xvip_device *xvip, struct v4l2_mbus_framefmt *format) xvip_get_frame_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/wl128x/
H A Dfmdrv.h43 #define fmerr(format, ...) \
44 printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__)
45 #define fmwarn(format, ...) \
46 printk(KERN_WARNING "fmdrv: " format, ##__VA_ARGS__)
48 #define fmdbg(format, ...) \
49 printk(KERN_DEBUG "fmdrv: " format, ## __VA_ARGS__)
51 #define fmdbg(format, ...) do {} while(0)
62 /* RX RDS data format */
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/
H A Dxilinx-vip.h105 * struct xvip_video_format - Xilinx Video IP video format description
106 * @vf_code: AXI4 video format code
107 * @width: AXI4 format width in bits per component
109 * @code: media bus format code
111 * @fourcc: V4L2 pixel format FCC identifier
125 void xvip_set_format_size(struct v4l2_mbus_framefmt *format,
190 const struct v4l2_mbus_framefmt *format) in xvip_set_frame_size()
193 (format->height << XVIP_ACTIVE_VSIZE_SHIFT) | in xvip_set_frame_size()
194 (format->width << XVIP_ACTIVE_HSIZE_SHIFT)); in xvip_set_frame_size()
198 struct v4l2_mbus_framefmt *format) in xvip_get_frame_size()
189 xvip_set_frame_size(struct xvip_device *xvip, const struct v4l2_mbus_framefmt *format) xvip_set_frame_size() argument
197 xvip_get_frame_size(struct xvip_device *xvip, struct v4l2_mbus_framefmt *format) xvip_get_frame_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/mantis/
H A Dmantis_common.h27 #define dprintk(y, z, format, arg...) do { \
30 printk(KERN_ERR "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
32 printk(KERN_NOTICE "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
34 printk(KERN_INFO "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
36 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
38 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
41 printk(format , ##arg); \
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Ddps920ab.c71 .format[PSC_VOLTAGE_IN] = linear,
72 .format[PSC_VOLTAGE_OUT] = linear,
73 .format[PSC_CURRENT_IN] = linear,
74 .format[PSC_CURRENT_OUT] = linear,
75 .format[PSC_POWER] = linear,
76 .format[PSC_FAN] = linear,
77 .format[PSC_TEMPERATURE] = linear,
H A Dxdpe12284.c87 info->format[PSC_VOLTAGE_OUT] = linear; in xdpe122_identify()
90 info->format[PSC_VOLTAGE_OUT] = vid; in xdpe122_identify()
134 .format[PSC_VOLTAGE_IN] = linear,
135 .format[PSC_TEMPERATURE] = linear,
136 .format[PSC_CURRENT_IN] = linear,
137 .format[PSC_CURRENT_OUT] = linear,
138 .format[PSC_POWER] = linear,
/third_party/ffmpeg/libavformat/
H A Dnistspheredec.c37 char buffer[256], coding[32] = "pcm", format[32] = "01"; in nist_read_header() local
97 sscanf(buffer, "%*s %*s %31s", format); in nist_read_header()
99 if (!av_strcasecmp(format, "01")) { in nist_read_header()
101 } else if (!av_strcasecmp(format, "10")) { in nist_read_header()
103 } else if (!av_strcasecmp(format, "mu-law")) { in nist_read_header()
105 } else if (av_strcasecmp(format, "1")) { in nist_read_header()
106 avpriv_request_sample(s, "sample byte format %s", format); in nist_read_header()
/third_party/mesa3d/src/freedreno/fdl/
H A Dfd_layout_test.c50 fdl6_layout(&layout, testcase->format, in fdl_test_layout()
57 fdl5_layout(&layout, testcase->format, in fdl_test_layout()
78 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
85 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
97 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
107 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
115 util_format_short_name(testcase->format), layout.width0, in fdl_test_layout()
/third_party/python/Lib/distutils/
H A Darchive_util.py197 """Returns the first format from the 'format' list that is unknown.
201 for format in formats:
202 if format not in ARCHIVE_FORMATS:
203 return format
206 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
210 'base_name' is the name of the file to create, minus any format-specific
211 extension; 'format' is the archive format: one of "zip", "tar", "gztar",
237 format_info = ARCHIVE_FORMATS[format]
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A Dgen_blit11helper.py153 return template_compiled_blitshader_include.format(
162 return template_get_blitshader_case.format(
174 return template_get_blitshader_case_dimension.format(
189 case = template_map_blitshader_case.format(
279 (" \"d3d11/shaders/compiled/{0}\",").format(blitshader[2].replace(
287 content = template_blitshader_source.format(
303 content = template_blitshaders_gni.format(
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DFormatAdapters.h38 void format(llvm::raw_ostream &Stream, StringRef Style) { in format() function in llvm::detail::final
40 FmtAlign(Adapter, Where, Amount, Fill).format(Stream, Style); in format()
52 void format(llvm::raw_ostream &Stream, StringRef Style) { in format() function in llvm::detail::final
55 Adapter.format(Stream, Style); in format()
67 void format(llvm::raw_ostream &Stream, StringRef Style) { in format() function in llvm::detail::final
70 Adapter.format(Stream, Style); in format()
80 void format(llvm::raw_ostream &Stream, StringRef Style) { Stream << Item; } in format() function in llvm::detail::ErrorAdapter
/third_party/skia/third_party/externals/tint/src/ast/
H A Dstorage_texture.cc28 // in the WGSL writer to emit the texture format names.
29 std::ostream& operator<<(std::ostream& out, ImageFormat format) { in operator <<() argument
30 switch (format) { in operator <<()
149 : Base(pid, src, d), format(fmt), type(subtype), access(ac) {} in StorageTexture()
157 out << "texture_storage_" << dim << "<" << format << ", " << access << ">"; in FriendlyName()
165 return ctx->dst->create<StorageTexture>(src, dim, format, ty, access); in Clone()
168 Type* StorageTexture::SubtypeFor(ImageFormat format, ProgramBuilder& builder) { in SubtypeFor() argument
169 switch (format) { in SubtypeFor()

Completed in 20 milliseconds

1...<<51525354555657585960>>...506