/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureBorderClampTests.cpp | 93 bool isDepthFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isDepthFormat() argument 95 if (format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_BGRA) in isDepthFormat() 100 else if (glu::isCompressedFormat(format)) in isDepthFormat() 107 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); in isDepthFormat() 121 bool isStencilFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isStencilFormat() argument 123 if (format == GL_LUMINANCE || format in isStencilFormat() 149 getFormatChannelClass(deUint32 format, tcu::Sampler::DepthStencilMode mode) getFormatChannelClass() argument 177 generateDefaultCompressedData(tcu::CompressedTexture& dst, const tcu::CompressedTexFormat& format) generateDefaultCompressedData() argument [all...] |
H A D | es31fStencilTexturingTests.cpp | 490 static void checkDepthStencilFormatSupport (Context& context, deUint32 format) in checkDepthStencilFormatSupport() argument 492 if (format == GL_STENCIL_INDEX8) in checkDepthStencilFormatSupport() 499 throw tcu::NotSupportedError(glu::getTextureFormatStr(format).toString() + " requires " + reqExt); in checkDepthStencilFormatSupport() 503 DE_ASSERT(format == GL_DEPTH32F_STENCIL8 || format == GL_DEPTH24_STENCIL8); in checkDepthStencilFormatSupport() 520 UploadTex2DCase (Context& context, const char* name, deUint32 format) in UploadTex2DCase() argument 521 : TestCase (context, name, glu::getTextureFormatName(format)) in UploadTex2DCase() 522 , m_format (format) in UploadTex2DCase() 575 UploadTex2DArrayCase (Context& context, const char* name, deUint32 format) in UploadTex2DArrayCase() argument 576 : TestCase (context, name, glu::getTextureFormatName(format)) in UploadTex2DArrayCase() 661 UploadTexCubeCase(Context& context, const char* name, deUint32 format) UploadTexCubeCase() argument 750 RenderTex2DCase(Context& context, const char* name, deUint32 format) RenderTex2DCase() argument 807 ClearTex2DCase(Context& context, const char* name, deUint32 format) ClearTex2DCase() argument 881 CompareModeCase(Context& context, const char* name, deUint32 format) CompareModeCase() argument 940 BaseLevelCase(Context& context, const char* name, deUint32 format) BaseLevelCase() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Surface.cpp | 81 if(isSRGBformat(format)) in write() 88 switch(format) in write() 432 switch(format) in read() 1050 if(isSRGBformat(format)) in read() 1151 switch(format) in lockRect() 1188 SurfaceImplementation(int width, int height, int depth, Format format, void *pixels, int pitch, int slice) in SurfaceImplementation() argument 1189 : Surface(width, height, depth, format, pixels, pitch, slice) {} in SurfaceImplementation() 1190 SurfaceImplementation(Resource *texture, int width, int height, int depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchP = 0) in SurfaceImplementation() argument 1191 : Surface(texture, width, height, depth, border, samples, format, lockable, renderTarget, pitchP) {} in SurfaceImplementation() 1205 Surface *Surface::create(int width, int height, int depth, Format format, voi argument 1210 create(Resource *texture, int width, int height, int depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchPprovided) create() argument 1215 Surface(int width, int height, int depth, Format format, void *pixels, int pitch, int slice) Surface() argument 1271 Surface(Resource *texture, int width, int height, int depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchPprovided) Surface() argument 1513 bytes(Format format) bytes() argument 1653 pitchB(int width, int border, Format format, bool target) pitchB() argument 1695 pitchP(int width, int border, Format format, bool target) pitchP() argument 1702 sliceB(int width, int height, int border, Format format, bool target) sliceB() argument 1737 sliceP(int width, int height, int border, Format format, bool target) sliceP() argument 2496 size(int width, int height, int depth, int border, int samples, Format format) size() argument 2536 isStencil(Format format) isStencil() argument 2564 isDepth(Format format) isDepth() argument 2592 hasQuadLayout(Format format) hasQuadLayout() argument 2623 isPalette(Format format) isPalette() argument 2635 isFloatFormat(Format format) isFloatFormat() argument 2729 isUnsignedComponent(Format format, int component) isUnsignedComponent() argument 2816 isSRGBreadable(Format format) isSRGBreadable() argument 2845 isSRGBwritable(Format format) isSRGBwritable() argument 2864 isSRGBformat(Format format) isSRGBformat() argument 2876 isCompressed(Format format) isCompressed() argument 2902 isSignedNonNormalizedInteger(Format format) isSignedNonNormalizedInteger() argument 2924 isUnsignedNonNormalizedInteger(Format format) isUnsignedNonNormalizedInteger() argument 2946 isNonNormalizedInteger(Format format) isNonNormalizedInteger() argument 2952 isNormalizedInteger(Format format) isNormalizedInteger() argument 2961 componentCount(Format format) componentCount() argument 3037 allocateBuffer(int width, int height, int depth, int border, int samples, Format format) allocateBuffer() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | sh_vou.c | 692 struct v4l2_subdev_format format = { in sh_vou_set_fmt_vid_out() local 695 .format.code = MEDIA_BUS_FMT_YUYV8_2X8, in sh_vou_set_fmt_vid_out() 696 .format.field = V4L2_FIELD_INTERLACED, in sh_vou_set_fmt_vid_out() 697 .format.colorspace = V4L2_COLORSPACE_SMPTE170M, in sh_vou_set_fmt_vid_out() 699 struct v4l2_mbus_framefmt *mbfmt = &format.format; in sh_vou_set_fmt_vid_out() 719 set_fmt, NULL, &format); in sh_vou_set_fmt_vid_out() 803 pr_warn("%s(): Invalid bus-format code %d, using default 8-bit\n", in sh_vou_ntsc_mode() 934 struct v4l2_subdev_format format = { in sh_vou_s_selection() local 937 .format in sh_vou_s_selection() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/ |
H A D | sh_vou.c | 692 struct v4l2_subdev_format format = { in sh_vou_set_fmt_vid_out() local 695 .format.code = MEDIA_BUS_FMT_YUYV8_2X8, in sh_vou_set_fmt_vid_out() 696 .format.field = V4L2_FIELD_INTERLACED, in sh_vou_set_fmt_vid_out() 697 .format.colorspace = V4L2_COLORSPACE_SMPTE170M, in sh_vou_set_fmt_vid_out() 699 struct v4l2_mbus_framefmt *mbfmt = &format.format; in sh_vou_set_fmt_vid_out() 719 set_fmt, NULL, &format); in sh_vou_set_fmt_vid_out() 803 pr_warn("%s(): Invalid bus-format code %d, using default 8-bit\n", in sh_vou_ntsc_mode() 934 struct v4l2_subdev_format format = { in sh_vou_s_selection() local 937 .format in sh_vou_s_selection() [all...] |
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/ |
H A D | temporal_test.cpp | 32 OH_AVFormat *format; member 94 if (format != nullptr) { in TearDown() 95 OH_AVFormat_Destroy(format); in TearDown() 96 format = nullptr; in TearDown() 110 format = OH_AVFormat_Create(); in HWTEST_F() 111 ASSERT_NE(nullptr, format); in HWTEST_F() 113 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, DEFAULT_WIDTH); in HWTEST_F() 114 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, DEFAULT_HEIGHT); in HWTEST_F() 115 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMAT, DEFAULT_PIX_FMT); in HWTEST_F() 116 (void)OH_AVFormat_SetDoubleValue(format, OH_MD_KEY_FRAME_RAT in HWTEST_F() [all...] |
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/ |
H A D | vid_enc.c | 199 port->sPortParam.format.video.nFrameWidth = 176; in vid_enc_Constructor() 200 port->sPortParam.format.video.nFrameHeight = 144; in vid_enc_Constructor() 201 port->sPortParam.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar; in vid_enc_Constructor() 212 strcpy(port->sPortParam.format.video.cMIMEType,"video/H264"); in vid_enc_Constructor() 213 port->sPortParam.format.video.nFrameWidth = 176; in vid_enc_Constructor() 214 port->sPortParam.format.video.nFrameHeight = 144; in vid_enc_Constructor() 215 port->sPortParam.format.video.eCompressionFormat = OMX_VIDEO_CodingAVC; in vid_enc_Constructor() 299 buf_templ.format = PIPE_FORMAT_I8_UNORM; in enc_AllocateBackTexture() 303 buf_templ.width0 = port->sPortParam.format.video.nFrameWidth; in enc_AllocateBackTexture() 304 buf_templ.height0 = port->sPortParam.format in enc_AllocateBackTexture() 448 OMX_VIDEO_PARAM_PORTFORMATTYPE *format = param; vid_enc_GetParameter() local [all...] |
/third_party/python/Lib/importlib/ |
H A D | _bootstrap.py | 139 return '_ModuleLock({!r}) at {}'.format(self.name, id(self)) 160 return '_DummyModuleLock({!r}) at {}'.format(self.name, id(self)) 249 print(message.format(*args), file=sys.stderr) 256 raise ImportError('{!r} is not a built-in module'.format(fullname), 267 raise ImportError('{!r} is not a frozen module'.format(fullname), 313 return '<module {!r}>'.format(name) 315 return '<module {!r} ({!r})>'.format(name, loader) 317 return '<module {!r} from {!r}>'.format(name, filename) 371 args = ['name={!r}'.format(self.name), 372 'loader={!r}'.format(sel [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | TextureVk.cpp | 62 VkAccessFlags VulkanAccessFlags(wgpu::TextureUsage usage, const Format& format) { in VulkanAccessFlags() argument 78 if (format.HasDepthOrStencil()) { in VulkanAccessFlags() 112 VkPipelineStageFlags VulkanPipelineStage(wgpu::TextureUsage usage, const Format& format) { in VulkanPipelineStage() argument 136 if (format.HasDepthOrStencil()) { in VulkanPipelineStage() 218 // Converts Dawn texture format to Vulkan formats. 219 VkFormat VulkanImageFormat(const Device* device, wgpu::TextureFormat format) { in VulkanImageFormat() argument 220 switch (format) { in VulkanImageFormat() 308 // that the format is available. in VulkanImageFormat() 435 // Converts the Dawn usage flags to Vulkan usage flags. Also needs the format to choose 437 VkImageUsageFlags VulkanImageUsage(wgpu::TextureUsage usage, const Format& format) { in VulkanImageUsage() argument 694 VkFormat format = VulkanImageFormat(ToBackend(GetDevice()), GetFormat().format); InitializeFromExternal() local 1023 const Format& format = GetFormat(); TransitionUsageForPassImpl() local 1108 const Format& format = GetFormat(); TransitionUsageAndGetResourceBarrierImpl() local [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | protocol-esound.c | 307 static void format_esd2native(int format, bool swap_bytes, pa_sample_spec *ss) { in format_esd2native() argument 310 ss->channels = (uint8_t) (((format & ESD_MASK_CHAN) == ESD_STEREO) ? 2 : 1); in format_esd2native() 311 if ((format & ESD_MASK_BITS) == ESD_BITS16) in format_esd2native() 312 ss->format = swap_bytes ? PA_SAMPLE_S16RE : PA_SAMPLE_S16NE; in format_esd2native() 314 ss->format = PA_SAMPLE_U8; in format_esd2native() 318 int format = 0; in format_native2esd() local 320 format = (ss->format == PA_SAMPLE_U8) ? ESD_BITS8 : ESD_BITS16; in format_native2esd() 321 format |= (ss->channels >= 2) ? ESD_STEREO : ESD_MONO; in format_native2esd() 323 return format; in format_native2esd() 382 int32_t format, rate; esd_proto_stream_play() local 471 int32_t format, rate; esd_proto_stream_record() local 585 int32_t rate = 44100, format = ESD_STEREO|ESD_BITS16; esd_proto_server_info() local 634 int32_t id, format = ESD_BITS16 | ESD_STEREO, rate = 44100, lvolume = ESD_VOLUME_BASE, rvolume = ESD_VOLUME_BASE; esd_proto_all_info() local 693 int32_t id, rate, lvolume, rvolume, format, len; esd_proto_all_info() local 835 int32_t format, rate, sc_length; esd_proto_sample_cache() local [all...] |
/kernel/linux/common_modules/xpm/core/ |
H A D | xpm_report.h | 23 #define FORMAT_UNDEF "unkown file format" 103 #define JVAL_PAIR(val, format) JSTR(val) ": " #format 104 #define JSTR_PAIR(val, format) JSTR(val) ": " JSTR(format)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/ |
H A D | malidp_drv.h | 66 /* internal format ID */ 67 u8 format; member 90 bool malidp_hw_format_is_linear_only(u32 format); 91 bool malidp_hw_format_is_afbc_only(u32 format); 94 u32 format, u64 modifier);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/ |
H A D | malidp_drv.h | 68 /* internal format ID */ 69 u8 format; member 92 bool malidp_hw_format_is_linear_only(u32 format); 93 bool malidp_hw_format_is_afbc_only(u32 format); 96 u32 format, u64 modifier);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | plane.h | 50 u32 format; member 91 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap); 92 bool tegra_plane_format_is_indexed(unsigned int format); 93 bool tegra_plane_format_is_yuv(unsigned int format, unsigned int *planes, unsigned int *bpc);
|
/third_party/ffmpeg/libavfilter/ |
H A D | audio.c | 52 nb_samples, link->format, align); in ff_default_get_audio_buffer() 68 pool_format != link->format || pool_align != align) { in ff_default_get_audio_buffer() 72 nb_samples, link->format, align); in ff_default_get_audio_buffer() 95 av_samples_set_silence(frame->extended_data, 0, nb_samples, channels, link->format); in ff_default_get_audio_buffer()
|
/third_party/ffmpeg/libavcodec/ |
H A D | rawenc.c | 52 int ret = av_image_get_buffer_size(frame->format, in raw_encode() 62 frame->format, in raw_encode() 67 frame->format == AV_PIX_FMT_YUYV422) { in raw_encode() 72 frame->format == AV_PIX_FMT_RGBA64BE) { in raw_encode()
|
/third_party/astc-encoder/Source/ |
H A D | astcenccli_internal.h | 103 const char* format in print_error() 105 fprintf(stderr, "%s", format); in print_error() 113 const char* format, in print_error() 116 fprintf(stderr, format, args...); in print_error() 180 * @brief Allocate a new image in a canonical format. 112 print_error( const char* format, _Args...args ) print_error() argument
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_server9_bad_saltlen.py | 60 kwargs['ca_password'] = r'-passin "pass:{ca_password}"'.format( 66 kwargs['openssl_extfile'] = '-extfile {openssl_extfile}'.format( 71 cmd = OPENSSL_RSA_PSS_CERT_COMMAND.format(**kwargs) 75 cmd = OPENSSL_RSA_PSS_DGST_COMMAND.format(**kwargs)
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
H A D | warnings_test.py | 70 print('Testing {} ...'.format(file), end='') 73 with open('{}.expected'.format(file), 'rb') as f: 84 print("Test returned error: {}, output:\n{}\n".format(proc.returncode, proc.stdout)) 94 print('{}/{} tests returned correct results'.format(passed, len(files)))
|
/third_party/node/tools/zos/ |
H A D | sdwrap.py | 12 outstr = "{}".format(l) 14 outstr = " {}".format(l) 19 outstr = "{:<71}*\n".format(l[:-1]) 22 outstr = " {:<70}*\n".format(l[:-1])
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_surface.h | 49 enum pipe_format format, 58 util_fill_rect(ubyte * dst, enum pipe_format format, 63 util_fill_box(ubyte * dst, enum pipe_format format, 70 util_fill_zs_box(ubyte *dst, enum pipe_format format,
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_resource.c | 30 enum pipe_format format) in setup_slices() 48 uint32_t nblocksy = util_format_get_nblocksy(format, height); in setup_slices() 88 return setup_slices(rsc, alignment, rsc->b.b.format); in fd3_setup_slices() 114 if (ok_format(tmpl->format)) in fd3_tile_mode() 29 setup_slices(struct fd_resource *rsc, uint32_t alignment, enum pipe_format format) setup_slices() argument
|
/third_party/musl/libc-test/src/functional/ |
H A D | strptime.c | 17 static void checkStrptime(const char *s, const char *format, const struct tm *expected) { in checkStrptime() argument 21 ret = strptime(s, format, &tm); in checkStrptime() 23 t_error("\"%s\": failed to parse \"%s\"\n", format, s); in checkStrptime() 36 t_error("\"%s\": for \"%s\" expected %s but got %s\n", format, s, buf1, buf2); in checkStrptime()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | vfprintf.c | 45 void vfprintf_test(char *file_name, char *format, char *func_name, char *want_reuslt, ...) in vfprintf_test() argument 53 int result = vfprintf(file, format, ap); in vfprintf_test() 66 void vfprintf_n_test(char *file_name, char *format, char *func_name, char *want_reuslt, ...) in vfprintf_n_test() argument 74 int result = vfprintf(file, format, ap); in vfprintf_n_test()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugArangeSet.cpp | 21 OS << format("[0x%*.*" PRIx64 ", ", AddressSize * 2, AddressSize * 2, Address) in dump() 22 << format(" 0x%*.*" PRIx64 ")", AddressSize * 2, AddressSize * 2, in dump() 102 OS << format("Address Range Header: length = 0x%8.8x, version = 0x%4.4x, ", in dump() 104 << format("cu_offset = 0x%8.8x, addr_size = 0x%2.2x, seg_size = 0x%2.2x\n", in dump()
|