Home
last modified time | relevance | path

Searched refs:aspect (Results 1 – 25 of 195) sorted by relevance

12345678

/external/flac/libFLAC/
Dogg_decoder_aspect.c50 FLAC__bool FLAC__ogg_decoder_aspect_init(FLAC__OggDecoderAspect *aspect) in FLAC__ogg_decoder_aspect_init() argument
53 if(ogg_stream_init(&aspect->stream_state, aspect->serial_number) != 0) in FLAC__ogg_decoder_aspect_init()
56 if(ogg_sync_init(&aspect->sync_state) != 0) in FLAC__ogg_decoder_aspect_init()
59 aspect->version_major = ~(0u); in FLAC__ogg_decoder_aspect_init()
60 aspect->version_minor = ~(0u); in FLAC__ogg_decoder_aspect_init()
62 aspect->need_serial_number = aspect->use_first_serial_number; in FLAC__ogg_decoder_aspect_init()
64 aspect->end_of_stream = false; in FLAC__ogg_decoder_aspect_init()
65 aspect->have_working_page = false; in FLAC__ogg_decoder_aspect_init()
70 void FLAC__ogg_decoder_aspect_finish(FLAC__OggDecoderAspect *aspect) in FLAC__ogg_decoder_aspect_finish() argument
72 (void)ogg_sync_clear(&aspect->sync_state); in FLAC__ogg_decoder_aspect_finish()
[all …]
Dogg_encoder_aspect.c51 FLAC__bool FLAC__ogg_encoder_aspect_init(FLAC__OggEncoderAspect *aspect) in FLAC__ogg_encoder_aspect_init() argument
54 if(ogg_stream_init(&aspect->stream_state, aspect->serial_number) != 0) in FLAC__ogg_encoder_aspect_init()
57 aspect->seen_magic = false; in FLAC__ogg_encoder_aspect_init()
58 aspect->is_first_packet = true; in FLAC__ogg_encoder_aspect_init()
59 aspect->samples_written = 0; in FLAC__ogg_encoder_aspect_init()
64 void FLAC__ogg_encoder_aspect_finish(FLAC__OggEncoderAspect *aspect) in FLAC__ogg_encoder_aspect_finish() argument
66 (void)ogg_stream_clear(&aspect->stream_state); in FLAC__ogg_encoder_aspect_finish()
70 void FLAC__ogg_encoder_aspect_set_serial_number(FLAC__OggEncoderAspect *aspect, long value) in FLAC__ogg_encoder_aspect_set_serial_number() argument
72 aspect->serial_number = value; in FLAC__ogg_encoder_aspect_set_serial_number()
75 FLAC__bool FLAC__ogg_encoder_aspect_set_num_metadata(FLAC__OggEncoderAspect *aspect, unsigned value) in FLAC__ogg_encoder_aspect_set_num_metadata() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp173 vk::VkImageAspectFlagBits aspect, in readSurface() argument
179 if (aspect == vk::VK_IMAGE_ASPECT_COLOR_BIT) in readSurface()
181 …read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IM… in readSurface()
184 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readSurface()
186 …ue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData… in readSurface()
198 vk::VkImageAspectFlagBits aspect, in readVolume() argument
204 if (aspect == vk::VK_IMAGE_ASPECT_COLOR_BIT) in readVolume()
206 …read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::V… in readVolume()
209 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readVolume()
211 …allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, m_pixelAccessData… in readVolume()
[all …]
DvktDrawImageObjectUtil.hpp80 vk::VkImageAspectFlagBits aspect,
89 vk::VkImageAspectFlagBits aspect,
100 vk::VkImageAspectFlagBits aspect,
108 vk::VkImageAspectFlagBits aspect,
121 vk::VkImageAspectFlagBits aspect,
134 vk::VkImageAspectFlagBits aspect,
143 vk::VkImageAspectFlagBits aspect,
151 vk::VkImageAspectFlagBits aspect,
160 vk::VkImageAspectFlagBits aspect,
169 vk::VkImageAspectFlagBits aspect,
[all …]
/external/swiftshader/src/Vulkan/
DVkImage.cpp256 auto aspect = static_cast<VkImageAspectFlagBits>(pSubresource->aspectMask); in getSubresourceLayout() local
257 pLayout->offset = getMemoryOffset(aspect, pSubresource->mipLevel, pSubresource->arrayLayer); in getSubresourceLayout()
258 pLayout->size = getMultiSampledLevelSize(aspect, pSubresource->mipLevel); in getSubresourceLayout()
259 pLayout->rowPitch = rowPitchBytes(aspect, pSubresource->mipLevel); in getSubresourceLayout()
260 pLayout->depthPitch = slicePitchBytes(aspect, pSubresource->mipLevel); in getSubresourceLayout()
261 pLayout->arrayPitch = getLayerSize(aspect); in getSubresourceLayout()
422 auto aspect = static_cast<VkImageAspectFlagBits>(region.imageSubresource.aspectMask); in copy() local
423 Format copyFormat = getFormat(aspect); in copy()
425 VkExtent3D imageExtent = imageExtentInBlocks(region.imageExtent, aspect); in copy()
435 int imageRowPitchBytes = rowPitchBytes(aspect, region.imageSubresource.mipLevel); in copy()
[all …]
DVkImage.hpp69 Format getFormat(VkImageAspectFlagBits aspect) const;
76 VkExtent3D getMipLevelExtent(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
77 int rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
78 int slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
83 VkDeviceSize getLayerSize(VkImageAspectFlagBits aspect) const;
84 VkDeviceSize getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
102 VkDeviceSize getMultiSampledLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
103 VkDeviceSize getLayerOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
104 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
105 …VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer) cons…
[all …]
DVkImageView.hpp56 Format getFormat(VkImageAspectFlagBits aspect) const { return image->getFormat(aspect); } in getFormat()
57 int rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const;
58 int slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const;
59 int getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const;
60 int layerPitchBytes(VkImageAspectFlagBits aspect, Usage usage = RAW) const;
75 …void *getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t mipLevel, …
DVkImageView.cpp245 int ImageView::rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in rowPitchBytes() argument
247 return getImage(usage)->rowPitchBytes(aspect, subresourceRange.baseMipLevel + mipLevel); in rowPitchBytes()
250 int ImageView::slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in slicePitchBytes() argument
252 return getImage(usage)->slicePitchBytes(aspect, subresourceRange.baseMipLevel + mipLevel); in slicePitchBytes()
255 int ImageView::getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in getMipLevelSize() argument
257 return getImage(usage)->getMipLevelSize(aspect, subresourceRange.baseMipLevel + mipLevel); in getMipLevelSize()
260 int ImageView::layerPitchBytes(VkImageAspectFlagBits aspect, Usage usage) const in layerPitchBytes() argument
262 return static_cast<int>(getImage(usage)->getLayerSize(aspect)); in layerPitchBytes()
271 void *ImageView::getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t … in getOffsetPointer() argument
276 static_cast<VkImageAspectFlags>(aspect), in getOffsetPointer()
/external/flac/libFLAC/include/private/
Dogg_decoder_aspect.h58 void FLAC__ogg_decoder_aspect_set_serial_number(FLAC__OggDecoderAspect *aspect, long value);
59 void FLAC__ogg_decoder_aspect_set_defaults(FLAC__OggDecoderAspect *aspect);
60 FLAC__bool FLAC__ogg_decoder_aspect_init(FLAC__OggDecoderAspect *aspect);
61 void FLAC__ogg_decoder_aspect_finish(FLAC__OggDecoderAspect *aspect);
62 void FLAC__ogg_decoder_aspect_flush(FLAC__OggDecoderAspect *aspect);
63 void FLAC__ogg_decoder_aspect_reset(FLAC__OggDecoderAspect *aspect);
78 …s FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer…
Dogg_encoder_aspect.h54 void FLAC__ogg_encoder_aspect_set_serial_number(FLAC__OggEncoderAspect *aspect, long value);
55 FLAC__bool FLAC__ogg_encoder_aspect_set_num_metadata(FLAC__OggEncoderAspect *aspect, unsigned value…
56 void FLAC__ogg_encoder_aspect_set_defaults(FLAC__OggEncoderAspect *aspect);
57 FLAC__bool FLAC__ogg_encoder_aspect_init(FLAC__OggEncoderAspect *aspect);
58 void FLAC__ogg_encoder_aspect_finish(FLAC__OggEncoderAspect *aspect);
62 … FLAC__ogg_encoder_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte …
/external/eigen/demos/opengl/
Dgpuhelper.cpp56 …wVector(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect /* = 50.*/) in drawVector() argument
70 gluCylinder(cylindre, length/aspect, length/aspect, 0.8*length, 10, 10); in drawVector()
72 gluCylinder(cylindre, 2.0*length/aspect, 0.0, 0.2*length, 10, 10); in drawVector()
77 …per::drawVectorBox(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect) in drawVectorBox() argument
91 gluCylinder(cylindre, length/aspect, length/aspect, 0.8*length, 10, 10); in drawVectorBox()
93 glScalef(4.0*length/aspect,4.0*length/aspect,4.0*length/aspect); in drawVectorBox()
/external/mesa3d/src/intel/vulkan/
Danv_image.c43 VkImageAspectFlagBits aspect) in choose_isl_surf_usage() argument
63 switch (aspect) { in choose_isl_surf_usage()
85 aspect == VK_IMAGE_ASPECT_COLOR_BIT) { in choose_isl_surf_usage()
195 plane_format.aspect == VK_IMAGE_ASPECT_STENCIL_BIT && in anv_image_plane_needs_shadow_surface()
363 VkImageAspectFlags aspect = plane_format.aspect; in add_aux_surface_if_supported() local
372 if (aspect == VK_IMAGE_ASPECT_DEPTH_BIT) { in add_aux_surface_if_supported()
429 } else if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT) { in add_aux_surface_if_supported()
439 } else if ((aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) && image->samples == 1) { in add_aux_surface_if_supported()
521 } else if ((aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) && image->samples > 1) { in add_aux_surface_if_supported()
548 VkImageAspectFlagBits aspect) in make_surface() argument
[all …]
Danv_dump.c112 VkImageAspectFlagBits aspect, in dump_image_do_blit() argument
133 .aspectMask = aspect, in dump_image_do_blit()
153 .aspectMask = aspect, in dump_image_do_blit()
248 unsigned array_layer, VkImageAspectFlagBits aspect, in anv_dump_image_to_ppm() argument
294 aspect, miplevel, array_layer); in anv_dump_image_to_ppm()
397 VkImageAspectFlagBits aspect, in dump_add_image() argument
407 aspect, miplevel, array_layer); in dump_add_image()
425 VkImageAspectFlagBits aspect = (1 << b); in anv_dump_add_attachments() local
427 switch (aspect) { in anv_dump_add_attachments()
441 unsigned plane = anv_image_aspect_to_plane(iview->image->aspects, aspect); in anv_dump_add_attachments()
[all …]
Danv_blorp.c200 VkImageAspectFlags aspect, in get_blorp_surf_for_anv_image() argument
206 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); in get_blorp_surf_for_anv_image()
211 aspect, usage, layout); in get_blorp_surf_for_anv_image()
244 if (aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) { in get_blorp_surf_for_anv_image()
246 anv_image_get_clear_color_addr(device, image, aspect); in get_blorp_surf_for_anv_image()
248 } else if (aspect & VK_IMAGE_ASPECT_DEPTH_BIT) { in get_blorp_surf_for_anv_image()
272 VkImageAspectFlags aspect, in get_blorp_surf_for_anv_shadow_image() argument
276 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); in get_blorp_surf_for_anv_shadow_image()
515 const VkImageAspectFlags aspect = region->imageSubresource.aspectMask; in copy_buffer_to_image() local
517 get_blorp_surf_for_anv_image(cmd_buffer->device, anv_image, aspect, in copy_buffer_to_image()
[all …]
Danv_private.h3608 VkImageAspectFlags aspect; member
3679 VkImageAspectFlagBits aspect, VkImageTiling tiling);
3683 VkImageAspectFlags aspect, VkImageTiling tiling) in anv_get_isl_format() argument
3685 return anv_get_format_plane(devinfo, vk_format, aspect, tiling).isl_format; in anv_get_isl_format()
3867 VkImageAspectFlagBits aspect) in anv_image_aux_levels() argument
3869 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); in anv_image_aux_levels()
3879 VkImageAspectFlagBits aspect, in anv_image_aux_layers() argument
3887 if (miplevel >= anv_image_aux_levels(image, aspect)) { in anv_image_aux_layers()
3900 VkImageAspectFlagBits aspect) in anv_image_get_clear_color_addr() argument
3904 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); in anv_image_get_clear_color_addr()
[all …]
/external/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c80 VkImageAspectFlags aspect = 0; in aspect_from_format() local
83 aspect |= VK_IMAGE_ASPECT_DEPTH_BIT; in aspect_from_format()
85 aspect |= VK_IMAGE_ASPECT_STENCIL_BIT; in aspect_from_format()
86 return aspect; in aspect_from_format()
246 res->aspect = aspect_from_format(templ->format); in resource_create()
355 sub_res.aspectMask = res->aspect; in zink_resource_get_handle()
398 zink_resource_barrier(batch->cmdbuf, res, res->aspect, in zink_transfer_copy_bufimage()
403 zink_resource_barrier(batch->cmdbuf, res, res->aspect, in zink_transfer_copy_bufimage()
445 int aspect = 1 << u_bit_scan(&aspects); in zink_transfer_copy_bufimage() local
446 copyRegion.imageSubresource.aspectMask = aspect; in zink_transfer_copy_bufimage()
[all …]
Dzink_blit.c46 region.srcSubresource.aspectMask = src->aspect; in blit_resolve()
62 region.dstSubresource.aspectMask = dst->aspect; in blit_resolve()
124 region.srcSubresource.aspectMask = src->aspect; in blit_native()
143 region.dstSubresource.aspectMask = dst->aspect; in blit_native()
187 if (src->aspect == dst->aspect && util_try_blit_via_copy_region(pctx, info)) in zink_blit()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/
DSphericalGLSurfaceView.java274 float aspect = (float) width / height; in onSurfaceChanged() local
275 float fovY = calculateFieldOfViewInYDirection(aspect); in onSurfaceChanged()
276 Matrix.perspectiveM(projectionMatrix, 0, fovY, aspect, Z_NEAR, Z_FAR); in onSurfaceChanged()
328 private float calculateFieldOfViewInYDirection(float aspect) { in calculateFieldOfViewInYDirection() argument
329 boolean landscapeMode = aspect > 1; in calculateFieldOfViewInYDirection()
332 double tanY = Math.tan(Math.toRadians(halfFovX)) / aspect; in calculateFieldOfViewInYDirection()
/external/skia/tools/viewer/
DImGuiLayer.h22 float aspect = -1.0f)
32 if (aspect < 0) {
33 aspect = h / w;
38 fSize = ImVec2(availWidth, availWidth * aspect);
/external/fmtlib/doc/bootstrap/
Dresponsive-embed.less27 // Modifier class for 16:9 aspect ratio
32 // Modifier class for 4:3 aspect ratio
/external/u-boot/common/
Dedid.c439 unsigned int aspect = 10000; in edid_print_info() local
451 aspect = 6250; in edid_print_info()
454 aspect = 7500; in edid_print_info()
457 aspect = 8000; in edid_print_info()
460 aspect = 5625; in edid_print_info()
464 y = x * aspect / 10000; in edid_print_info()
/external/libkmsxx/kmscube/
Dcube-gles2.cpp233 GLfloat aspect = (float)m_height / m_width; in draw() local
237 esFrustum(&projection, -2.8f, +2.8f, -2.8f * aspect, +2.8f * aspect, 6.0f, 10.0f); in draw()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesMipmapSparseResidency.cpp254 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() local
255 …st deUint32 aspectIndex = getSparseAspectRequirementsIndex(sparseMemoryRequirements, aspect); in iterate()
274 const VkImageSubresource subresource = { aspect, mipLevelNdx, layerNdx }; in iterate()
404 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
413 …makeImageSubresourceLayers(aspect, mipmapNdx, 0u, imageSparseInfo.arrayLayers), // VkImageSubreso… in iterate()
463 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
472 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate()
487 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
496 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate()
DvktSparseResourcesShaderIntrinsicsBase.cpp522 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() local
523 …st deUint32 aspectIndex = getSparseAspectRequirementsIndex(sparseMemoryRequirements, aspect); in iterate()
557 const VkImageSubresource subresource = { aspect, mipmapNdx, layerNdx }; in iterate()
699 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
708 …makeImageSubresourceLayers(aspect, mipmapNdx, 0u, imageSparseInfo.arrayLayers), // VkImageSubreso… in iterate()
768 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
777 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate()
810 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
819 …makeImageSubresourceLayers(aspect, mipmapNdx, 0u, imageSparseInfo.arrayLayers), // VkImageSubreso… in iterate()
891 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : … in iterate() local
[all …]
DvktSparseResourcesImageMemoryAliasing.cpp312 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() local
313 …st deUint32 aspectIndex = getSparseAspectRequirementsIndex(sparseMemoryRequirements, aspect); in iterate()
332 const VkImageSubresource subresource = { aspect, mipLevelNdx, layerNdx }; in iterate()
465 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
474 …makeImageSubresourceLayers(aspect, mipmapNdx, 0u, imageSparseInfo.arrayLayers), // VkImageSubreso… in iterate()
527 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
536 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate()
552 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
561 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate()
573 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() local
[all …]

12345678