/third_party/vk-gl-cts/framework/common/ |
H A D | tcuImageIO.cpp | 48 * TextureLevel storage is set to match image data. Only PNG format is 135 static int textureFormatToPNGFormat (const TextureFormat& format) in textureFormatToPNGFormat() argument 137 if (format == TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8)) in textureFormatToPNGFormat() 139 else if (format == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in textureFormatToPNGFormat() 142 throw InternalError("Unsupported texture format", DE_NULL, __FILE__, __LINE__); in textureFormatToPNGFormat() 146 * \brief Write image to file in PNG format 223 * \note Only ETC1_RGB8_NO_MIPMAPS format is supported
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | debug.cpp | 151 void ScopedPerfEventHelper::begin(const char *format, ...) in begin() argument 156 va_start(vararg, format); in begin() 159 size_t len = FormatStringIntoVector(format, vararg, buffer); in begin()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_private.h | 1570 VkFormat format; 1889 unsigned radv_format_meta_fs_key(struct radv_device *device, VkFormat format); 2322 bool radv_is_buffer_format_supported(VkFormat format, bool *scaled); 2323 void radv_translate_vertex_format(const struct radv_physical_device *pdevice, VkFormat format, 2327 uint32_t radv_translate_colorformat(VkFormat format); 2328 uint32_t radv_translate_color_numformat(VkFormat format, const struct util_format_description *desc, 2331 unsigned radv_translate_colorswap(VkFormat format, bool do_endian_swap); 2332 uint32_t radv_translate_dbformat(VkFormat format); 2333 uint32_t radv_translate_tex_dataformat(VkFormat format, const struct util_format_description *desc, 2335 uint32_t radv_translate_tex_numformat(VkFormat format, cons [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_barycentric/ |
H A D | vktFragmentShadingBarycentricTests.cpp | 114 static VkImageCreateInfo makeImageCreateInfo (const VkFormat format, const uint32_t width, uint32_t height, VkSampleCountFlagBits samples) in makeImageCreateInfo() argument 123 format, // VkFormat format; in makeImageCreateInfo() 139 static Move<VkRenderPass> makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat format, VkSampleCountFlagBits samples) in makeRenderPass() argument 144 format, // VkFormat format; in makeRenderPass() local 157 format, // VkFormat format; in makeRenderPass() local 248 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format; in makeGraphicsPipeline() 254 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format; in makeGraphicsPipeline() 682 const VkFormat format = VK_FORMAT_R32_UINT; iterate() local 1039 verify(VkFormat format, BufferWithMemory* referenceBuffer, BufferWithMemory* resultBuffer) verify() argument 1087 const VkFormat format = VK_FORMAT_R8G8B8A8_UNORM; iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrUtil.cpp | 64 MultiPlaneImageData::MultiPlaneImageData (VkFormat format, const UVec2& size) in MultiPlaneImageData() argument 65 : m_format (format) in MultiPlaneImageData() 66 , m_description (getPlanarFormatDescription(format)) in MultiPlaneImageData() 190 void checkImageSupport (Context& context, VkFormat format, VkImageCreateFlags createFlags, VkImageTiling tiling) in checkImageSupport() argument 207 format); in checkImageSupport() 213 TCU_THROW(NotSupportedError, "YCbCr conversion is not supported for format"); in checkImageSupport() 216 TCU_THROW(NotSupportedError, "Disjoint planes are not supported for format"); in checkImageSupport() 220 void fillRandomNoNaN(de::Random* randomGen, deUint8* const data, deUint32 size, const vk::VkFormat format) in fillRandomNoNaN() argument 225 switch (format) in fillRandomNoNaN() 262 // Set first bit of each channel to 0 to avoid NaNs, only format i in fillRandomNoNaN() 297 fillRandom(de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format, const bool noNan) fillRandom() argument 348 allocateAndBindImageMemory(const DeviceInterface& vkd, VkDevice device, Allocator& allocator, VkImage image, VkFormat format, VkImageCreateFlags createFlags, vk::MemoryRequirement requirement) allocateAndBindImageMemory() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrUtil.cpp | 64 MultiPlaneImageData::MultiPlaneImageData (VkFormat format, const UVec2& size) in MultiPlaneImageData() argument 65 : m_format (format) in MultiPlaneImageData() 66 , m_description (getPlanarFormatDescription(format)) in MultiPlaneImageData() 190 void checkImageSupport (Context& context, VkFormat format, VkImageCreateFlags createFlags, VkImageTiling tiling) in checkImageSupport() argument 207 format); in checkImageSupport() 213 TCU_THROW(NotSupportedError, "YCbCr conversion is not supported for format"); in checkImageSupport() 216 TCU_THROW(NotSupportedError, "Disjoint planes are not supported for format"); in checkImageSupport() 220 void fillRandomNoNaN(de::Random* randomGen, deUint8* const data, deUint32 size, const vk::VkFormat format) in fillRandomNoNaN() argument 225 switch (format) in fillRandomNoNaN() 262 // Set first bit of each channel to 0 to avoid NaNs, only format i in fillRandomNoNaN() 297 fillRandom(de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format, const bool noNan) fillRandom() argument 348 allocateAndBindImageMemory(const DeviceInterface& vkd, VkDevice device, Allocator& allocator, VkImage image, VkFormat format, VkImageCreateFlags createFlags, vk::MemoryRequirement requirement) allocateAndBindImageMemory() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | decode.c | 320 if (frame->format == AV_PIX_FMT_NONE) frame->format = avctx->pix_fmt; in decode_simple_internal() 338 if (frame->format == AV_SAMPLE_FMT_NONE) in decode_simple_internal() 339 frame->format = avctx->sample_fmt; in decode_simple_internal() 388 frame->nb_samples - avci->skip_samples, avctx->ch_layout.nb_channels, frame->format); in decode_simple_internal() 670 avci->initial_format = frame->format; in avcodec_receive_frame() 695 changed = avci->initial_format != frame->format; in avcodec_receive_frame() 865 sub->format = 0; in avcodec_decode_subtitle2() 867 sub->format = 1; in avcodec_decode_subtitle2() 918 // If the last element of the list is a software format, choos in avcodec_default_get_format() [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_render_pass.c | 59 reference2[i].aspectMask = vk_format_aspects(att->format); in translate_references() 122 .format = pCreateInfo->pAttachments[i].format, in vk_common_CreateRenderPass() 334 .format = desc->format, in vk_render_pass_attachment_init() 335 .aspects = vk_format_aspects(desc->format), in vk_render_pass_attachment_init() 370 .aspects = vk_format_aspects(pass_att->format), in vk_subpass_attachment_init() 662 color_formats[a] = att->format; in vk_common_CreateRenderPass2() 681 if (vk_format_has_depth(att->format)) in vk_common_CreateRenderPass2() 682 depth_format = att->format; in vk_common_CreateRenderPass2() [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_state.c | 228 /* The hardware colormask is clunky a must be swizzled depending on the format. 585 /* The blend color is dependent on the colorbuffer format. */ in r300_set_blend_color() 587 switch (cb->format) { in r300_set_blend_color() 622 switch (cb ? cb->format : 0) { in r300_set_blend_color() 847 util_format_short_name(surf->format), in r300_print_fb_surf_info() 852 tex->last_level, util_format_short_name(surf->format)); in r300_print_fb_surf_info() 983 switch (util_format_get_blocksize(state->zsbuf->format)) { in r300_set_framebuffer_state() 1656 hwformat = r300_translate_texformat(templ->format, in r300_create_sampler_view_custom() 1662 fprintf(stderr, "r300: Oops. Got unsupported format %s in %s.\n", in r300_create_sampler_view_custom() 1663 util_format_short_name(templ->format), __func_ in r300_create_sampler_view_custom() 1832 enum pipe_format format; r300_vertex_psc() local [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | resampler.c | 230 /* Return true if a is a more precise sample format than b, else return false */ 294 * support the S16 sample format. */ in choose_work_format() 301 * any sample format. */ in choose_work_format() 395 r->work_format = choose_work_format(method, a->format, b->format, r->map_required); in pa_resampler_new() 398 if (r->i_ss.format != r->work_format) { in pa_resampler_new() 400 if (!(r->to_work_format_func = pa_get_convert_to_float32ne_function(r->i_ss.format))) in pa_resampler_new() 404 if (!(r->to_work_format_func = pa_get_convert_to_s16ne_function(r->i_ss.format))) in pa_resampler_new() 409 if (r->o_ss.format != r->work_format) { in pa_resampler_new() 411 if (!(r->from_work_format_func = pa_get_convert_from_float32ne_function(r->o_ss.format))) in pa_resampler_new() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineSamplerBorderSwizzleTests.cpp | 224 FormatType getFormatType (VkFormat format, bool useStencil) in getFormatType() argument 226 if (isIntFormat(format)) in getFormatType() 229 if (isUintFormat(format) || useStencil) in getFormatType() 235 // Output color attachment format will vary slightly with the chosen texture format to accomodate different clear colors. 472 // This one is a bit special compared to others we test. Single component alpha format borders use [0,0,0,Ba] as the in getExpectedColor() 498 // * Taking into account the texture format instead of the color buffer format when calculating acceptable thresholds. 503 // The color buffer format is supposed to be at least as precise as the texture format 1230 getRandomClearColor(VkFormat format, de::Random& rnd, bool useStencil) getRandomClearColor() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktGlobalPriorityQueueTests.cpp | 82 VkFormat format; member 105 this->format = fmt; in selectFormat() 183 imageInfo.format = m_config.format; in createImage() 206 return makeImageView(vkd, dev, image, VK_IMAGE_VIEW_TYPE_2D, m_config.format, range); in createView() 479 TCU_THROW(NotSupportedError, "Unable to find a proper format"); in checkSupport() 593 const auto format = mapVkFormat(m_config.format); in initPrograms() local 594 const auto imageFormat = image::getShaderImageFormatQualifier(format); in initPrograms() 595 const auto imageType = image::getShaderImageType(format, imag in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryRequirementsTests.cpp | 855 virtual bool isFormatMatchingAspect (const VkFormat format, 1035 if (isYCbCrFormat(info.format) in isImageSupported() 1099 switch (info.format) in isImageSupported() 1171 const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(vki, physDevice, info.format); in isImageSupported() 1180 physDevice, info.format, info.imageType, info.tiling, info.usage, info.flags, &imageFormatProperties); in isImageSupported() 1228 bool ImageMemoryRequirementsOriginal::isFormatMatchingAspect (const VkFormat format, const VkImageAspectFlags aspect) in isFormatMatchingAspect() argument 1233 const bool isDepthStencilFormat = (format >= VK_FORMAT_D16_UNORM && format <= VK_FORMAT_D32_SFLOAT_S8_UINT); in isFormatMatchingAspect() 1258 str << imageInfo.format << " "; in getImageInfoString() 1520 const VkFormat format in execTest() local 1948 const VkFormat format = multiplaneFormats[formatNdx]; testMultiplaneImages() local [all...] |
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DGpu.cpp | 297 const GrBackendFormat& format, in onCreateTexture() 305 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in onCreateTexture() 345 const GrBackendFormat& format, in onCreateCompressedTexture() 351 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in onCreateCompressedTexture() 354 SkDEBUGCODE(SkImage::CompressionType compression = GrBackendFormatToCompressionType(format)); in onCreateCompressedTexture() 414 const GrBackendFormat& format, in onCreateCompressedTexture() 822 SkDEBUGCODE(DXGI_FORMAT format = d3dTex->dxgiFormat()); in onTransferPixelsTo() 825 SkASSERT(!GrDxgiFormatIsCompressed(format)); in onTransferPixelsTo() 827 SkASSERT(GrDxgiFormatBytesPerBlock(format) == GrColorTypeBytesPerPixel(bufferColorType)); in onTransferPixelsTo() 893 SkDEBUGCODE(DXGI_FORMAT format in onTransferPixelsFrom() 296 onCreateTexture(SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrProtected isProtected, int mipLevelCount, uint32_t levelClearMask) onCreateTexture() argument 344 onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, const void* data, size_t dataSize) onCreateCompressedTexture() argument 413 onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, OH_NativeBuffer* nativeBuffer, size_t bufferSize) onCreateCompressedTexture() argument 1051 is_bgra(DXGI_FORMAT format) is_bgra() argument 1351 onCreateBackendTexture(SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, GrMipmapped mipMapped, GrProtected isProtected) onCreateBackendTexture() argument 1494 onCreateCompressedBackendTexture( SkISize dimensions, const GrBackendFormat& format, GrMipmapped mipMapped, GrProtected isProtected) onCreateCompressedBackendTexture() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_asm.c | 2539 unsigned *format, in r600_vertex_data_type() 2545 *format = 0; in r600_vertex_data_type() 2551 *format = FMT_10_11_11_FLOAT; in r600_vertex_data_type() 2557 *format = FMT_5_6_5; in r600_vertex_data_type() 2563 *format = FMT_1_5_5_5; in r600_vertex_data_type() 2569 *format = FMT_5_5_5_1; in r600_vertex_data_type() 2594 *format = FMT_16_FLOAT; in r600_vertex_data_type() 2597 *format = FMT_16_16_FLOAT; in r600_vertex_data_type() 2601 *format = FMT_16_16_16_16_FLOAT; in r600_vertex_data_type() 2608 *format in r600_vertex_data_type() 2538 r600_vertex_data_type(enum pipe_format pformat, unsigned *format, unsigned *num_format, unsigned *format_comp, unsigned *endian) r600_vertex_data_type() argument 2726 unsigned format, num_format, format_comp, endian; r600_create_vertex_fetch_shader() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationES2.cpp | 323 static inline bool Valid1to4ComponentFloatColorBufferFormat(const Context *context, GLenum format) in Valid1to4ComponentFloatColorBufferFormat() argument 326 (format == GL_RGBA32F || format == GL_RGB32F || format == GL_RG32F || in Valid1to4ComponentFloatColorBufferFormat() 327 format == GL_R32F)) || in Valid1to4ComponentFloatColorBufferFormat() 329 (format == GL_RGBA16F || format == GL_RGB16F || format == GL_RG16F || in Valid1to4ComponentFloatColorBufferFormat() 330 format == GL_R16F)); in Valid1to4ComponentFloatColorBufferFormat() 333 static inline bool Valid2to4ComponentFloatColorBufferFormat(const Context *context, GLenum format) in Valid2to4ComponentFloatColorBufferFormat() argument 341 Valid3to4ComponentFloatColorBufferFormat(const Context *context, GLenum format) Valid3to4ComponentFloatColorBufferFormat() argument 349 Valid4ComponentFloatColorBufferFormat(const Context *context, GLenum format) Valid4ComponentFloatColorBufferFormat() argument 817 ValidateES2TexImageParameters(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLsizei imageSize, const void *pixels) ValidateES2TexImageParameters() argument 847 ValidateES2TexImageParametersBase(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLsizei imageSize, const void *pixels) ValidateES2TexImageParametersBase() argument 2621 ValidateTexImage2D(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) ValidateTexImage2D() argument 2646 ValidateTexImage2DRobustANGLE(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLsizei bufSize, const void *pixels) ValidateTexImage2DRobustANGLE() argument 2677 ValidateTexSubImage2D(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels) ValidateTexSubImage2D() argument 2703 ValidateTexSubImage2DRobustANGLE(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, const void *pixels) ValidateTexSubImage2DRobustANGLE() argument 2734 ValidateTexSubImage3DOES(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels) ValidateTexSubImage3DOES() argument 2845 ValidateCompressedTexSubImage2DRobustANGLE(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLsizei dataSize, const void *data) ValidateCompressedTexSubImage2DRobustANGLE() argument 2867 ValidateCompressedTexSubImage2D(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data) ValidateCompressedTexSubImage2D() argument 2916 ValidateCompressedTexSubImage3DOES(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data) ValidateCompressedTexSubImage3DOES() argument 5722 ValidateReadPixels(const Context *context, angle::EntryPoint entryPoint, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels) ValidateReadPixels() argument 6126 ValidateTexImage3DOES(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels) ValidateTexImage3DOES() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | FrameCapture.cpp | 1940 CaptureVertexPointer(*replayState, true, attrib.format->channelCount, in CaptureVertexPointerES1() 1941 attrib.format->vertexAttribType, binding.getStride(), in CaptureVertexPointerES1() 1946 CaptureNormalPointer(*replayState, true, attrib.format->vertexAttribType, in CaptureVertexPointerES1() 1950 Capture(setupCalls, CaptureColorPointer(*replayState, true, attrib.format->channelCount, in CaptureVertexPointerES1() 1951 attrib.format->vertexAttribType, in CaptureVertexPointerES1() 1956 CapturePointSizePointerOES(*replayState, true, attrib.format->vertexAttribType, in CaptureVertexPointerES1() 1961 CaptureTexCoordPointer(*replayState, true, attrib.format->channelCount, in CaptureVertexPointerES1() 1962 attrib.format->vertexAttribType, binding.getStride(), in CaptureVertexPointerES1() 2015 if (attrib.format != defaultAttrib.format || attri in CaptureVertexArrayState() 2180 const gl::InternalFormat &format = *desc.format.info; CaptureTextureContents() local 2845 const gl::InternalFormat &format = *desc.format.info; CaptureShareGroupMidExecutionSetup() local 4539 const gl::InternalFormat &format = *texture->getFormat(targetPacked, level).info; captureCompressedTextureData() local 6614 const gl::InternalFormat &format = *texture->getFormat(target, textureLevel).info; getCachedTextureLevelData() local [all...] |
/drivers/hdf_core/framework/support/platform/src/hdmi/ |
H A D | hdmi_infoframe.c | 72 data[UINT8_ARRAY_TELEMENT_7] = ((uint8_t)vsifContent->format & HDMI_VENDOR_1_4_FORMAT_MARK) << in HdmiInfoFramePacketVsEncoding() 74 if (vsifContent->format == HDMI_VS_VIDEO_FORMAT_4K) { in HdmiInfoFramePacketVsEncoding() 77 } else if (vsifContent->format == HDMI_VS_VIDEO_FORMAT_3D) { in HdmiInfoFramePacketVsEncoding() 648 } else if (_14Vsif->format == HDMI_VS_VIDEO_FORMAT_4K) { in HdmiGetVsifLength() 650 } else if (_14Vsif->format == HDMI_VS_VIDEO_FORMAT_3D) { in HdmiGetVsifLength() 671 vsif->format = HDMI_VS_VIDEO_FORMAT_4K; in HdmiFill14Vsif() 680 vsif->format = HDMI_VS_VIDEO_FORMAT_3D; in HdmiFill14Vsif() 683 vsif->format = HDMI_VS_VIDEO_FORMAT_NULL; in HdmiFill14Vsif()
|
/third_party/ffmpeg/libavfilter/ |
H A D | qsvvpp.c | 215 static int pix_fmt_to_mfx_fourcc(int format) in pix_fmt_to_mfx_fourcc() argument 217 switch (format) { in pix_fmt_to_mfx_fourcc() 233 switch (frame->format) { in map_frame_to_surface() 271 if (link->format == AV_PIX_FMT_QSV) { in fill_frameinfo_by_link() 279 pix_fmt = link->format; in fill_frameinfo_by_link() 380 if (picref->format != AV_PIX_FMT_QSV) { in submit_frame() 527 if (outlink->format == AV_PIX_FMT_QSV) { in init_vpp_session() 540 out_frames_ctx->format = AV_PIX_FMT_QSV; in init_vpp_session()
|
H A D | vf_lut2.c | 205 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); in config_inputx() 209 s->nb_planesx = av_pix_fmt_count_planes(inlink->format); in config_inputx() 232 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); in config_inputy() 236 s->nb_planesy = av_pix_fmt_count_planes(inlink->format); in config_inputy() 410 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(outlink->format); in lut2_config_output() 421 s->nb_planes = av_pix_fmt_count_planes(outlink->format); in lut2_config_output() 427 if (!s->odepth && srcx->format != srcy->format) { in lut2_config_output() 428 av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n"); in lut2_config_output()
|
/third_party/ffmpeg/libswresample/ |
H A D | resample.c | 205 switch(c->format){ in build_filter() 289 double cutoff0, enum AVSampleFormat format, enum SwrFilterType filter_type, double kaiser_beta, in resample_init() 312 || c->filter_length != filter_length || c->format != format in resample_init() 319 c->format= format; in resample_init() 321 c->felem_size= av_get_bytes_per_sample(c->format); in resample_init() 323 switch(c->format){ in resample_init() 335 av_log(NULL, AV_LOG_ERROR, "Unsupported sample format\n"); in resample_init() 288 resample_init(ResampleContext *c, int out_rate, int in_rate, int filter_size, int phase_shift, int linear, double cutoff0, enum AVSampleFormat format, enum SwrFilterType filter_type, double kaiser_beta, double precision, int cheby, int exact_rational) resample_init() argument
|
/third_party/backends/japi/ |
H A D | Jscanimage.java | 829 private NumberFormat format; // For printing label. field in FixedSaneSlider 838 format = NumberFormat.getInstance(); in FixedSaneSlider() 840 format.setMinimumFractionDigits(1); in FixedSaneSlider() 841 format.setMaximumFractionDigits(1); in FixedSaneSlider() 856 label.setText(format.format(optMM ? in stateChanged() 873 label.setText(format.format(optMM ? in setFromControl()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | unum.cpp | 209 ((const NumberFormat*)fmt)->format(number, res, fp, *status); in unum_formatInt64() 242 ((const NumberFormat*)fmt)->format(number, res, fp, *status); in unum_formatDouble() 253 unum_formatDoubleForFields(const UNumberFormat* format, in unum_formatDoubleForFields() argument 275 ((const NumberFormat*)format)->format(number, res, (FieldPositionIterator*)fpositer, *status); in unum_formatDoubleForFields() 313 ((const NumberFormat*)fmt)->format(numFmtbl, resultStr, fp, *status); in unum_formatDecimal() 352 ((const NumberFormat*)fmt)->format(n, res, fp, *status); in unum_formatDoubleCurrency() 966 ((const NumberFormat*)fmt)->format(*(Formattable::fromUFormattable(number)), res, fp, *status); in unum_formatUFormattable()
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_test_code.py | 54 format patterns to specify test suite dependencies, start and end 200 CONDITION_REGEX = r'({})(?:\s*({})\s*({}))?$'.format(C_IDENTIFIER_REGEX, 336 '''.format(name=name, 364 '''.format(preprocessor_check=preprocessor_check, name=name) 368 '''.format(name=name) 846 break;'''.format(_not=_not, _defined=_defined, 871 break;'''.format(exp_id=exp_id, expression=exp) 964 '''.format(preprocessor_check=preprocessor_check, code=dep_check_code) 969 '''.format(preprocessor_check=preprocessor_check, code=expression_code)
|
/third_party/node/deps/histogram/src/ |
H A D | hdr_histogram.c | 974 static void format_line_string(char* str, size_t len, int significant_figures, format_type format) in format_line_string() argument 983 switch (format) in format_line_string() 1153 static const char* format_head_string(format_type format) in format_head_string() argument 1155 switch (format) in format_head_string() 1172 double value_scale, format_type format) in hdr_percentiles_print() 1180 format_line_string(line_format, 25, h->significant_figures, format); in hdr_percentiles_print() 1181 head_format = format_head_string(format); in hdr_percentiles_print() 1209 if (CLASSIC == format) in hdr_percentiles_print() 1170 hdr_percentiles_print( struct hdr_histogram* h, FILE* stream, int32_t ticks_per_half_distance, double value_scale, format_type format) hdr_percentiles_print() argument
|