Home
last modified time | relevance | path

Searched refs:aspect (Results 101 - 125 of 251) sorted by relevance

1234567891011

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DDawnNative.cpp217 Aspect aspect = in IsTextureSubresourceInitialized() local
219 SubresourceRange range(aspect, {baseArrayLayer, layerCount}, {baseMipLevel, levelCount}); in IsTextureSubresourceInitialized()
H A DBindGroup.cpp133 Aspect aspect = view->GetAspects(); in ValidateTextureBinding() local
135 DAWN_INVALID_IF(!HasOneBit(aspect), "Multiple aspects selected in %s.", view); in ValidateTextureBinding()
141 texture->GetFormat().GetAspectInfo(aspect).supportedSampleTypes; in ValidateTextureBinding()
/third_party/ffmpeg/libavfilter/
H A Dvf_stereo3d.c153 AVRational aspect; member
371 s->aspect = inlink->sample_aspect_ratio; in config_output()
412 s->aspect.num *= 2; in config_output()
418 s->aspect.num *= 2; in config_output()
424 s->aspect.den *= 2; in config_output()
430 s->aspect.den *= 2; in config_output()
494 s->aspect.den *= 2; in config_output()
500 s->aspect.den *= 2; in config_output()
506 s->aspect.num *= 2; in config_output()
522 s->aspect in config_output()
[all...]
H A Dvf_pad_opencl.c68 AVRational aspect; member
254 AVRational adjusted_aspect = ctx->aspect; in pad_opencl_config_output()
378 { "aspect", "pad to fit an aspect instead of a resolution", OFFSET(aspect), AV_OPT_TYPE_RATIONAL, {.dbl = 0}, 0, INT16_MAX, FLAGS },
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryRequirementsTests.cpp856 const VkImageAspectFlags aspect);
1228 bool ImageMemoryRequirementsOriginal::isFormatMatchingAspect (const VkFormat format, const VkImageAspectFlags aspect) in isFormatMatchingAspect() argument
1230 DE_ASSERT(aspect == VK_IMAGE_ASPECT_COLOR_BIT || aspect == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)); in isFormatMatchingAspect()
1235 return (aspect == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) == isDepthStencilFormat; in isFormatMatchingAspect()
1515 const VkImageAspectFlags aspect = allAspects[loopAspectNdx]; in execTest() local
1522 if (isFormatMatchingAspect(format, aspect)) in execTest()
1525 if (aspect == depthStencilAspect) in execTest()
1984 const VkImageAspectFlagBits aspect = getPlaneAspect(planeNdx); in testMultiplaneImages() local
1994 aspect in testMultiplaneImages()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkFormat.hpp41 Format getAspectFormat(VkImageAspectFlags aspect) const;
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
H A DCommandBufferMTL.h42 Aspect aspect,
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
H A Dboard-dm644x-evm.c713 .aspect = {11, 10},
725 .aspect = {54, 59},
741 .aspect = {1, 1},
753 .aspect = {1, 1},
H A Dboard-dm355-evm.c276 .aspect = {11, 10},
288 .aspect = {54, 59},
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/
H A Dch7006_mode.c335 uint64_t scale, aspect; in ch7006_setup_properties() local
348 aspect = ch_mode->enc_hdisp*fixed1; in ch7006_setup_properties()
349 do_div(aspect, ch_mode->enc_vdisp); in ch7006_setup_properties()
351 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties()
/kernel/linux/linux-6.6/drivers/gpu/drm/i2c/
H A Dch7006_mode.c335 uint64_t scale, aspect; in ch7006_setup_properties() local
348 aspect = ch_mode->enc_hdisp*fixed1; in ch7006_setup_properties()
349 do_div(aspect, ch_mode->enc_vdisp); in ch7006_setup_properties()
351 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties()
/third_party/cups-filters/filter/
H A Dimagetopdf.c133 static float aspect; /* Aspect ratio */ variable
1274 aspect = (float)cupsImageGetYPPI(img) / (float)cupsImageGetXPPI(img); in main()
1279 fprintf(stderr, "DEBUG: cupsImageGetXPPI(img) = %d, cupsImageGetYPPI(img) = %d, aspect = %f\n", in main()
1280 cupsImageGetXPPI(img), cupsImageGetYPPI(img), aspect); in main()
1283 ysize = xsize * cupsImageGetHeight(img) / cupsImageGetWidth(img) / aspect; in main()
1288 xsize = ysize * cupsImageGetWidth(img) * aspect / cupsImageGetHeight(img); in main()
1292 ysize2 = xsize2 * cupsImageGetHeight(img) / cupsImageGetWidth(img) / aspect; in main()
1297 xsize2 = ysize2 * cupsImageGetWidth(img) * aspect / cupsImageGetHeight(img); in main()
/kernel/linux/linux-5.10/drivers/ps3/
H A Dps3av_cmd.c328 int aspect, u32 id) in ps3av_cmd_set_av_video_cs()
337 if (aspect == -1) in ps3av_cmd_set_av_video_cs()
338 aspect = 0; in ps3av_cmd_set_av_video_cs()
354 av_video_cs->aspect = aspect; in ps3av_cmd_set_av_video_cs()
327 ps3av_cmd_set_av_video_cs(void *p, u32 avport, int video_vid, int cs_out, int aspect, u32 id) ps3av_cmd_set_av_video_cs() argument
/kernel/linux/linux-6.6/drivers/ps3/
H A Dps3av_cmd.c328 int aspect, u32 id) in ps3av_cmd_set_av_video_cs()
337 if (aspect == -1) in ps3av_cmd_set_av_video_cs()
338 aspect = 0; in ps3av_cmd_set_av_video_cs()
354 av_video_cs->aspect = aspect; in ps3av_cmd_set_av_video_cs()
327 ps3av_cmd_set_av_video_cs(void *p, u32 avport, int video_vid, int cs_out, int aspect, u32 id) ps3av_cmd_set_av_video_cs() argument
/third_party/ffmpeg/libavcodec/
H A Dituh263enc.c90 * Return the 4 bit value that specifies the given aspect ratio.
91 * This may be one of the standard aspect ratios or it specifies
92 * that the aspect will be stored explicitly later.
94 av_const int ff_h263_aspect_to_info(AVRational aspect){ in ff_h263_aspect_to_info() argument
97 if(aspect.num==0 || aspect.den==0) aspect= (AVRational){1,1}; in ff_h263_aspect_to_info()
100 if(av_cmp_q(ff_h263_pixel_aspect[i], aspect) == 0){ in ff_h263_aspect_to_info()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_blit.c540 /* Perform a blit for each aspect requested by the caller. PIPE_MASK_R is in crocus_blit()
541 * used to represent the color aspect. */ in crocus_blit()
544 unsigned aspect = 1 << u_bit_scan(&aspect_mask); in crocus_blit() local
547 crocus_resource_for_aspect(devinfo, info->src.resource, aspect); in crocus_blit()
549 crocus_resource_for_aspect(devinfo, info->dst.resource, aspect); in crocus_blit()
552 pipe_format_for_aspect(info->src.format, aspect); in crocus_blit()
554 pipe_format_for_aspect(info->dst.format, aspect); in crocus_blit()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBlitter.cpp60 VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(subresourceRange.aspectMask); in clear() local
61 vk::Format dstFormat = viewFormat.getAspectFormat(aspect); in clear()
109 VkExtent3D extent = dest->getMipLevelExtent(aspect, subres.mipLevel); in clear()
120 assert_cast<uint32_t>(dest->rowPitchBytes(aspect, subres.mipLevel)), // dPitchB in clear()
122 assert_cast<uint32_t>(dest->slicePitchBytes(aspect, subres.mipLevel)), // dSliceB in clear()
192 VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(subresourceRange.aspectMask); in fastClear() local
254 int rowPitchBytes = dest->rowPitchBytes(aspect, subres.mipLevel); in fastClear()
255 int slicePitchBytes = dest->slicePitchBytes(aspect, subres.mipLevel); in fastClear()
256 VkExtent3D extent = dest->getMipLevelExtent(aspect, subres.mipLevel); in fastClear()
2339 VkImageAspectFlagBits aspect in updateBorders() local
2386 VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(srcSubresource.aspectMask); copyCubeEdge() local
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-dv-timings.h168 * @aspect: preferred aspect ratio. GTF has no method of determining the
169 * aspect ratio in order to derive the image width from the
171 * the native screen aspect ratio is used for this. If it
180 u32 polarities, bool interlaced, struct v4l2_fract aspect,
184 * v4l2_calc_aspect_ratio - calculate the aspect ratio based on bytes
190 * Determines the aspect ratio from the EDID.
197 * v4l2_dv_timings_aspect_ratio - calculate the aspect ratio based on the
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-dv-timings.h168 * @aspect: preferred aspect ratio. GTF has no method of determining the
169 * aspect ratio in order to derive the image width from the
171 * the native screen aspect ratio is used for this. If it
180 u32 polarities, bool interlaced, struct v4l2_fract aspect,
184 * v4l2_calc_aspect_ratio - calculate the aspect ratio based on bytes
190 * Determines the aspect ratio from the EDID.
197 * v4l2_dv_timings_aspect_ratio - calculate the aspect ratio based on the
/third_party/skia/third_party/externals/dawn/src/utils/
H A DWGPUHelpers.cpp195 wgpu::TextureAspect aspect) { in CreateImageCopyTexture()
200 imageCopyTexture.aspect = aspect; in CreateImageCopyTexture()
192 CreateImageCopyTexture(wgpu::Texture texture, uint32_t mipLevel, wgpu::Origin3D origin, wgpu::TextureAspect aspect) CreateImageCopyTexture() argument
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DTextureVk.cpp488 // readonly for a single aspect via DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL and in VulkanImageLayout()
870 VkImageAspectFlags Texture::GetVkAspectMask(wgpu::TextureAspect aspect) const { in GetVkAspectMask()
872 switch (aspect) { in GetVkAspectMask()
1184 textureCopy.aspect = range.aspects; in ClearTexture()
1204 for (Aspect aspect : IterateEnumMask(range.aspects)) { in ClearTexture()
1207 SubresourceRange::SingleMipAndLayer(level, layer, aspect))) { in ClearTexture()
1211 aspects |= aspect; in ClearTexture()
H A DCommandBufferVk.cpp70 Aspect aspect) { in ComputeImageCopyRegion()
75 region.srcSubresource.aspectMask = VulkanAspectMask(aspect); in ComputeImageCopyRegion()
77 region.dstSubresource.aspectMask = VulkanAspectMask(aspect); in ComputeImageCopyRegion()
446 ASSERT(srcCopy.aspect == dstCopy.aspect); in RecordCopyImageWithTemporaryBuffer()
448 const TexelBlockInfo& blockInfo = format.GetAspectInfo(srcCopy.aspect).block; in RecordCopyImageWithTemporaryBuffer()
692 for (Aspect aspect : IterateEnumMask(src.texture->GetFormat().aspects)) { in RecordCommands()
693 ASSERT(dst.texture->GetFormat().aspects & aspect); in RecordCommands()
695 ComputeImageCopyRegion(src, dst, copy->copySize, aspect); in RecordCommands()
67 ComputeImageCopyRegion(const TextureCopy& srcCopy, const TextureCopy& dstCopy, const Extent3D& copySize, Aspect aspect) ComputeImageCopyRegion() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp334 VkImageAspectFlags aspect) in createImageAttachmentView()
338 aspect, in createImageAttachmentView()
352 VkImageAspectFlags aspect, in createSrcPrimaryInputImageView()
359 aspect == (VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT) in createSrcPrimaryInputImageView()
361 : aspect, in createSrcPrimaryInputImageView()
375 VkImageAspectFlags aspect, in createSrcSecondaryInputImageView()
378 if ((aspect == (VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT)) && !separateStencilUsage) in createSrcSecondaryInputImageView()
495 VkImageAspectFlagBits aspect) in createImageAttachmentViews()
500 views[imageNdx] = safeSharedPtr(new vk::Unique<VkImageView>(createImageAttachmentView(vkd, device, **images[imageNdx], format, aspect))); in createImageAttachmentViews()
330 createImageAttachmentView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlags aspect) createImageAttachmentView() argument
348 createSrcPrimaryInputImageView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlags aspect, TestSeparateUsage testSeparateUsage) createSrcPrimaryInputImageView() argument
371 createSrcSecondaryInputImageView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlags aspect, TestSeparateUsage separateStencilUsage) createSrcSecondaryInputImageView() argument
491 createImageAttachmentViews(const DeviceInterface& vkd, VkDevice device, const std::vector<VkImageSp>& images, VkFormat format, VkImageAspectFlagBits aspect) createImageAttachmentViews() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesImageSparseResidency.cpp437 // Bind device memory for each aspect in iterate()
440 const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : VK_IMAGE_ASPECT_COLOR_BIT; in iterate() local
441 const deUint32 aspectIndex = getSparseAspectRequirementsIndex(sparseMemoryRequirements, aspect); in iterate()
444 TCU_THROW(NotSupportedError, "Not supported image aspect"); in iterate()
453 const VkImageSubresource subresource = { aspect, mipLevelNdx, layerNdx }; in iterate()
626 const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : VK_IMAGE_ASPECT_COLOR_BIT; in iterate() local
627 const VkImageSubresourceRange subresourceRange = makeImageSubresourceRange(aspect, 0u, 1u, 0u, getNumLayers(m_imageType, m_imageSize)); in iterate()
724 const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : VK_IMAGE_ASPECT_COLOR_BIT; in iterate() local
731 makeImageSubresourceLayers(aspect, 0u, 0u, imageCreateInfo.arrayLayers), // VkImageSubresourceLayers imageSubresource; in iterate()
795 const VkImageAspectFlags aspect in iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp334 VkImageAspectFlags aspect) in createImageAttachmentView()
338 aspect, in createImageAttachmentView()
352 VkImageAspectFlags aspect, in createSrcPrimaryInputImageView()
359 aspect == (VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT) in createSrcPrimaryInputImageView()
361 : aspect, in createSrcPrimaryInputImageView()
375 VkImageAspectFlags aspect, in createSrcSecondaryInputImageView()
378 if ((aspect == (VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT)) && !separateStencilUsage) in createSrcSecondaryInputImageView()
495 VkImageAspectFlagBits aspect) in createImageAttachmentViews()
500 views[imageNdx] = safeSharedPtr(new vk::Unique<VkImageView>(createImageAttachmentView(vkd, device, **images[imageNdx], format, aspect))); in createImageAttachmentViews()
330 createImageAttachmentView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlags aspect) createImageAttachmentView() argument
348 createSrcPrimaryInputImageView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlags aspect, TestSeparateUsage testSeparateUsage) createSrcPrimaryInputImageView() argument
371 createSrcSecondaryInputImageView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlags aspect, TestSeparateUsage separateStencilUsage) createSrcSecondaryInputImageView() argument
491 createImageAttachmentViews(const DeviceInterface& vkd, VkDevice device, const std::vector<VkImageSp>& images, VkFormat format, VkImageAspectFlagBits aspect) createImageAttachmentViews() argument

Completed in 35 milliseconds

1234567891011