/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Framebuffer11.cpp | 198 // In ES 3.0.4, if a specified attachment has base internal format DEPTH_STENCIL but the in invalidateBase() 251 GLenum format, in readPixelsImpl() 258 const gl::FramebufferAttachment *readAttachment = mState.getReadPixelsAttachment(format); in readPixelsImpl() 264 const angle::Format &angleFormat = GetFormatFromFormatType(format, type); in readPixelsImpl() 272 return mRenderer->readFromAttachment(context, *readAttachment, area, format, type, in readPixelsImpl() 389 const angle::Format &angleFormat = d3d11::Format::Get(sizedFormat, caps).format(); in getImplementationColorReadFormat() 249 readPixelsImpl(const gl::Context *context, const gl::Rectangle &area, GLenum format, GLenum type, size_t outputPitch, const gl::PixelPackState &pack, gl::Buffer *packBuffer, uint8_t *pixels) readPixelsImpl() argument
|
H A D | renderer11_utils.h | 102 DXGI_FORMAT format, 392 void init(Resource11<ResourceT> &&texture, const DescT &desc, const d3d11::Format &format) in init() argument 401 mFormatSet = &format; in init() 406 void set(ResourceT *object, const d3d11::Format &format) in set() argument 410 mFormatSet = &format; in set()
|
/third_party/vk-gl-cts/external/amber/src/src/vkscript/ |
H A D | parser.cc | 136 shader->SetFormat(section.format); in ProcessShaderBlock() 171 return Result(make_error(tokenizer, "Missing framebuffer format")); in ProcessRequireBlock() 177 make_error(tokenizer, "Failed to parse framebuffer format: " + in ProcessRequireBlock() 191 return Result(make_error(tokenizer, "Missing depthStencil format")); in ProcessRequireBlock() 197 make_error(tokenizer, "Failed to parse depthstencil format: " + in ProcessRequireBlock() 336 Format* format; in ProcessVertexDataBlock() member 359 return Result(make_error(tokenizer, "Vertex data format too short: " + in ProcessVertexDataBlock() 366 make_error(tokenizer, "Invalid format in vertex data header: " + in ProcessVertexDataBlock() 391 auto* type = header.format->GetType(); in ProcessVertexDataBlock() 403 auto& segs = header.format in ProcessVertexDataBlock() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | VulkanImageTest.cpp | 125 EXPECT_EQ(info.format, VK_FORMAT_R8G8B8A8_UNORM); in TEST_P() 179 helper.readPixels(vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, info.format, {}, in TEST_P() 233 helper.readPixels(vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, info.format, {}, info.extent, in TEST_P() 247 helper.readPixels(vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, info.format, {}, info.extent, in TEST_P() 305 helper.readPixels(vkImage, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, info.format, {}, in TEST_P()
|
/third_party/skia/src/gpu/ |
H A D | GrGpu.h | 119 * @param format the format for the texture (not currently used). 147 const GrBackendFormat& format, 162 const GrBackendFormat& format, 171 const GrBackendFormat& format, 178 const GrBackendFormat& format, 258 * is not allowed for the format of the surface or if the rectangle 289 * the color type is not allowed for the format of the surface or 555 * texture format. 657 const GrBackendFormat& format, [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrYUVtoRGBEffect.cpp | 341 SkString format; in getShaderDfxInfo() local 342 format.printf("ShaderDfx_GrYUVtoRGBEffect"); in getShaderDfxInfo() 344 format.appendf("_%d_%d", plane, channel); in getShaderDfxInfo() 346 format.appendf("_%d_%d_%d", fYUVColorSpace, fSnap[0], fSnap[1]); in getShaderDfxInfo() 347 return format; in getShaderDfxInfo()
|
/third_party/skia/third_party/externals/microhttpd/doc/examples/ |
H A D | sessions.c | 16 asprintf (char **resultp, const char *format, ...) in asprintf() argument 22 if (format == NULL) in asprintf() 25 va_start (argptr, format); in asprintf() 27 len = _vscprintf ((char *) format, argptr); in asprintf() 34 int len2 = _vscprintf ((char *) format, argptr); in asprintf()
|
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/ |
H A D | DrawCallPerf.cpp | 290 descriptor.format = wgpu::TextureFormat::RGBA8Unorm; in SetUp() 293 descriptor.format = wgpu::TextureFormat::Depth24PlusStencil8; in SetUp() 355 renderPipelineDesc.cAttributes[0].format = wgpu::VertexFormat::Float32x4; in SetUp() 357 renderPipelineDesc.cTargets[0].format = wgpu::TextureFormat::RGBA8Unorm; in SetUp() 458 descriptor.colorFormats = &renderPipelineDesc.cTargets[0].format; in SetUp()
|
/third_party/skia/third_party/externals/freetype/src/sdf/ |
H A D | ftsdfrend.c | 271 /* check whether slot format is correct before rendering */ in ft_sdf_render() 272 if ( slot->format != render->glyph_format ) in ft_sdf_render() 368 slot->format = FT_GLYPH_FORMAT_BITMAP; in ft_sdf_render() 390 if ( slot->format != render->glyph_format ) in ft_sdf_transform() 415 if ( slot->format == render->glyph_format ) in ft_sdf_get_cbox() 495 /* check whether slot format is correct before rendering */ in ft_bsdf_render() 496 if ( slot->format != render->glyph_format ) in ft_bsdf_render()
|
/third_party/skia/third_party/externals/opengl-registry/xml/ |
H A D | genglvnd.py | 242 format("/* Generated on date %s */" % time.strftime("%Y%m%d")), 248 format("#define GL_GLEXT_VERSION %s" % time.strftime("%Y%m%d")), 253 format("#define WGL_WGLEXT_VERSION %s" % time.strftime("%Y%m%d")), 258 format("#define GLX_GLXEXT_VERSION %s" % time.strftime("%Y%m%d")), 263 format("#define EGL_EGLEXT_VERSION %s" % time.strftime("%Y%m%d")),
|
H A D | genheaders.py | 241 format('/* Generated on date %s */' % time.strftime('%Y%m%d')), 247 format('#define GL_GLEXT_VERSION %s' % time.strftime('%Y%m%d')), 252 format('#define WGL_WGLEXT_VERSION %s' % time.strftime('%Y%m%d')), 257 format('#define GLX_GLXEXT_VERSION %s' % time.strftime('%Y%m%d')), 262 format('#define EGL_EGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
|
/third_party/python/Lib/test/ |
H A D | test_htmlparser.py | 290 s = '<{element}>{content}</{element}>'.format(element=element, 311 s = '<script>{content}</{element}>'.format(element=element, 353 self._run_check('<a href="foo{0}zar">a{0}z</a>'.format(charref), 361 '{0}</a>{0}'.format(charref), 372 '<style>{0}</style>{1}'.format(text, charref),
|
/third_party/skia/third_party/externals/egl-registry/api/ |
H A D | genheaders.py | 243 format('/* Generated on date %s */' % time.strftime('%Y%m%d')), 249 format('#define GL_GLEXT_VERSION %s' % time.strftime('%Y%m%d')), 254 format('#define WGL_WGLEXT_VERSION %s' % time.strftime('%Y%m%d')), 259 format('#define GLX_GLXEXT_VERSION %s' % time.strftime('%Y%m%d')), 264 format('#define EGL_EGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
|
/third_party/python/Lib/test/test_importlib/ |
H A D | util.py | 64 name = '{}_{}'.format(kind, cls.__name__) 112 return '{}.{}'.format(parent, name), path 136 "cannot uncache {0}".format(name)) 199 'unrecognized arguments: {0}'.format(kwargs.keys())) 379 file.write(source.format(name))
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDitheringTests.cpp | 67 static inline IVec4 pixelFormatToIVec4 (const PixelFormat& format) in pixelFormatToIVec4() argument 69 return IVec4(format.redBits, format.greenBits, format.blueBits, format.alphaBits); in pixelFormatToIVec4()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/ |
H A D | vktMultiViewRenderUtil.cpp | 53 VkImageAspectFlags getAspectFlags (tcu::TextureFormat format) in getAspectFlags() argument 56 aspectFlag |= (tcu::hasDepthComponent(format.order)? VK_IMAGE_ASPECT_DEPTH_BIT : 0); in getAspectFlags() 57 aspectFlag |= (tcu::hasStencilComponent(format.order)? VK_IMAGE_ASPECT_STENCIL_BIT : 0); in getAspectFlags() 112 VkImageCreateInfo makeImageCreateInfo (const VkImageType imageType, const VkExtent3D& extent, const VkFormat format, const VkImageUsageFlags usage, const VkSampleCountFlagBits samples) in makeImageCreateInfo() argument 120 format, // VkFormat format; in makeImageCreateInfo() 174 colorFormat, // VkFormat format; || VkFormat format; in makeRenderPass() 198 dsFormat, // VkFormat format; || VkFormat format; in makeRenderPass() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleBaseResolve.cpp | 77 // Check if device supports image format as color attachment in iterate() 84 imageMSInfo.format = mapTextureFormat(m_imageFormat); in iterate() 116 imageMSInfo.format, // VkFormat format; in iterate() 129 imageRSInfo.format, // VkFormat format; in iterate() 187 const Unique<VkImageView> imageMSView(makeImageView(deviceInterface, device, **imageMS, mapImageViewType(m_imageType), imageMSInfo.format, fullImageRange)); in iterate() 188 const Unique<VkImageView> imageRSView(makeImageView(deviceInterface, device, **imageRS, mapImageViewType(m_imageType), imageMSInfo.format, fullImageRange)); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
H A D | vktRobustnessUtil.cpp | 246 void populateBufferWithTestValues (void* buffer, VkDeviceSize size, VkFormat format) in populateBufferWithTestValues() argument 253 if (isUintFormat(format)) in populateBufferWithTestValues() 257 else if (isIntFormat(format)) in populateBufferWithTestValues() 261 else if (isFloatFormat(format)) in populateBufferWithTestValues() 265 else if (format == VK_FORMAT_A2B10G10R10_UNORM_PACK32) in populateBufferWithTestValues() 385 m_colorFormat, // VkFormat format; in GraphicsEnvironment() 409 m_colorFormat, // VkFormat format; in GraphicsEnvironment()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | extFFmpegDemuxer.h | 137 AVPixelFormat format; member in FFmpegDemuxer 181 LOG(INFO) << "Media format: " << fmtc->iformat->long_name << " (" << fmtc->iformat->name << ")"; in FFmpegDemuxer() 194 format = (AVPixelFormat)fmtc->streams[iVideoStream]->codecpar->format; in FFmpegDemuxer() 196 if (fmtc->streams[iVideoStream]->codecpar->format == AV_PIX_FMT_YUV420P10LE) in FFmpegDemuxer() 198 if (fmtc->streams[iVideoStream]->codecpar->format == AV_PIX_FMT_YUV420P12LE) in FFmpegDemuxer()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fDitheringTests.cpp | 67 static inline IVec4 pixelFormatToIVec4 (const PixelFormat& format) in pixelFormatToIVec4() argument 69 return IVec4(format.redBits, format.greenBits, format.blueBits, format.alphaBits); in pixelFormatToIVec4()
|
/third_party/vulkan-loader/loader/ |
H A D | extension_manual.c | 43 VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, in GetPhysicalDeviceExternalImageFormatPropertiesNV() 56 return disp->GetPhysicalDeviceExternalImageFormatPropertiesNV(unwrapped_phys_dev, format, type, tiling, usage, flags, in GetPhysicalDeviceExternalImageFormatPropertiesNV() 61 VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV() 81 phys_dev_term->phys_dev, format, type, tiling, usage, flags, &pExternalImageFormatProperties->imageFormatProperties); in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV() 85 phys_dev_term->phys_dev, format, type, tiling, usage, flags, externalHandleType, pExternalImageFormatProperties); in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV() 42 GetPhysicalDeviceExternalImageFormatPropertiesNV( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkExternalMemoryHandleTypeFlagsNV externalHandleType, VkExternalImageFormatPropertiesNV *pExternalImageFormatProperties) GetPhysicalDeviceExternalImageFormatPropertiesNV() argument 60 terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkExternalMemoryHandleTypeFlagsNV externalHandleType, VkExternalImageFormatPropertiesNV *pExternalImageFormatProperties) terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV() argument
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
H A D | drv_hdmi_infoframe.c | 305 /* hdmi video format */
in hdmi_vendor_specific_infoframe_pack() 306 ptr[7] = ((hi_u32)vsif_content->format & 0x7) << 5; /* 5'b, bit[8:6] */
in hdmi_vendor_specific_infoframe_pack() 307 if (vsif_content->format == HDMI_VIDEO_FORMAT_4K) {
in hdmi_vendor_specific_infoframe_pack() 309 } else if (vsif_content->format == HDMI_VIDEO_FORMAT_3D) {
in hdmi_vendor_specific_infoframe_pack() 531 } else if (h14_vsif_content->format == HDMI_VIDEO_FORMAT_4K) {
in vsif_length() 533 } else if (h14_vsif_content->format == HDMI_VIDEO_FORMAT_3D) {
in vsif_length() 577 h14_vsif_content->format = HDMI_VIDEO_FORMAT_4K;
in drv_hdmi_vendor_infoframe_send() 586 h14_vsif_content->format = HDMI_VIDEO_FORMAT_3D;
in drv_hdmi_vendor_infoframe_send() 589 h14_vsif_content->format = HDMI_VIDEO_FORMAT_NONE;
in drv_hdmi_vendor_infoframe_send()
|
/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()
|