/external/flac/src/libFLAC/ |
D | ogg_decoder_aspect.c | 50 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 …]
|
D | ogg_encoder_aspect.c | 51 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, uint32_t value) in FLAC__ogg_encoder_aspect_set_num_metadata() argument [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawImageObjectUtil.cpp | 173 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() 197 vk::VkImageAspectFlagBits aspect, in readDepth() argument 201 DE_ASSERT(aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT); in readDepth() 206 …readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect… in readDepth() 217 vk::VkImageAspectFlagBits aspect, in readVolume() argument 223 if (aspect == vk::VK_IMAGE_ASPECT_COLOR_BIT) in readVolume() [all …]
|
D | vktDrawImageObjectUtil.hpp | 80 vk::VkImageAspectFlagBits aspect, 90 vk::VkImageAspectFlagBits aspect, 99 vk::VkImageAspectFlagBits aspect, 110 vk::VkImageAspectFlagBits aspect, 118 vk::VkImageAspectFlagBits aspect, 131 vk::VkImageAspectFlagBits aspect, 144 vk::VkImageAspectFlagBits aspect, 153 vk::VkImageAspectFlagBits aspect, 161 vk::VkImageAspectFlagBits aspect, 170 vk::VkImageAspectFlagBits aspect, [all …]
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 227 auto aspect = static_cast<VkImageAspectFlagBits>(subresourceRange.aspectMask); in getSizeInBytes() local 233 size = (layerCount - 1) * getLayerSize(aspect); in getSizeInBytes() 236 size += getMultiSampledLevelSize(aspect, mipLevel); in getSizeInBytes() 241 size = layerCount * getLayerSize(aspect); in getSizeInBytes() 248 size += getMultiSampledLevelSize(aspect, mipLevel); in getSizeInBytes() 340 auto aspect = static_cast<VkImageAspectFlagBits>(pSubresource->aspectMask); in getSubresourceLayout() local 341 pLayout->offset = getMemoryOffset(aspect, pSubresource->mipLevel, pSubresource->arrayLayer); in getSubresourceLayout() 342 pLayout->size = getMultiSampledLevelSize(aspect, pSubresource->mipLevel); in getSubresourceLayout() 343 pLayout->rowPitch = rowPitchBytes(aspect, pSubresource->mipLevel); in getSubresourceLayout() 344 pLayout->depthPitch = slicePitchBytes(aspect, pSubresource->mipLevel); in getSubresourceLayout() [all …]
|
D | VkImage.hpp | 82 Format getFormat(VkImageAspectFlagBits aspect) const; 89 VkExtent3D getMipLevelExtent(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 90 int rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 91 int slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 96 VkDeviceSize getLayerSize(VkImageAspectFlagBits aspect) const; 97 VkDeviceSize getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 124 VkDeviceSize getMultiSampledLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 125 VkDeviceSize getLayerOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 126 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const; 127 …VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer) cons… [all …]
|
D | VkImageView.hpp | 86 Format getFormat(VkImageAspectFlagBits aspect) const { return image->getFormat(aspect); } in getFormat() 87 int rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const; 88 int slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const; 89 int getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const; 90 int layerPitchBytes(VkImageAspectFlagBits aspect, Usage usage = RAW) const; 92 VkExtent2D getMipLevelExtent(uint32_t mipLevel, VkImageAspectFlagBits aspect) const; 107 …void *getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t mipLevel, …
|
D | VkImageView.cpp | 296 int ImageView::rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in rowPitchBytes() argument 298 return getImage(usage)->rowPitchBytes(aspect, subresourceRange.baseMipLevel + mipLevel); in rowPitchBytes() 301 int ImageView::slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in slicePitchBytes() argument 303 return getImage(usage)->slicePitchBytes(aspect, subresourceRange.baseMipLevel + mipLevel); in slicePitchBytes() 306 int ImageView::getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in getMipLevelSize() argument 308 return getImage(usage)->getMipLevelSize(aspect, subresourceRange.baseMipLevel + mipLevel); in getMipLevelSize() 311 int ImageView::layerPitchBytes(VkImageAspectFlagBits aspect, Usage usage) const in layerPitchBytes() argument 313 return static_cast<int>(getImage(usage)->getLayerSize(aspect)); in layerPitchBytes() 324 VkExtent2D ImageView::getMipLevelExtent(uint32_t mipLevel, VkImageAspectFlagBits aspect) const in getMipLevelExtent() 326 VkExtent3D extent = image->getMipLevelExtent(aspect, subresourceRange.baseMipLevel + mipLevel); in getMipLevelExtent() [all …]
|
D | VkDeviceMemoryExternalBase.hpp | 51 virtual int externalImageRowPitchBytes(VkImageAspectFlagBits aspect) const { return 0; } in externalImageRowPitchBytes() 52 virtual VkDeviceSize externalImageMemoryOffset(VkImageAspectFlagBits aspect) const { return 0; } in externalImageMemoryOffset()
|
/external/flac/src/libFLAC/include/private/ |
D | ogg_decoder_aspect.h | 58 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…
|
D | ogg_encoder_aspect.h | 54 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, uint32_t 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/ |
D | gpuhelper.cpp | 56 …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/ |
D | anv_image.c | 43 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 …]
|
D | anv_dump.c | 112 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 …]
|
D | anv_blorp.c | 200 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 …]
|
/external/deqp-deps/amber/src/vulkan/ |
D | transfer_image.cc | 71 VkImageAspectFlags aspect, in TransferImage() argument 89 aspect_(aspect), in TransferImage() 195 Result TransferImage::CreateVkImageView(VkImageAspectFlags aspect) { in CreateVkImageView() argument 208 aspect, /* aspectMask */ in CreateVkImageView() 225 VkImageAspectFlags aspect, in CreateBufferImageCopy() argument 228 if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT) { in CreateBufferImageCopy() 240 aspect, /* aspectMask */ in CreateBufferImageCopy() 265 for (auto aspect : aspects) { in CopyToHost() local 266 if (aspect_ & aspect) { in CopyToHost() 267 copy_regions.push_back(CreateBufferImageCopy(aspect, i)); in CopyToHost() [all …]
|
D | image_descriptor.cc | 85 VkImageAspectFlags aspect = 0; in CreateResourceIfNeeded() local 87 aspect = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in CreateResourceIfNeeded() 89 aspect = VK_IMAGE_ASPECT_DEPTH_BIT; in CreateResourceIfNeeded() 91 aspect = VK_IMAGE_ASPECT_DEPTH_BIT; in CreateResourceIfNeeded() 93 aspect = VK_IMAGE_ASPECT_COLOR_BIT; in CreateResourceIfNeeded() 97 device_, *fmt, aspect, image_type, amber_buffer->GetWidth(), in CreateResourceIfNeeded()
|
D | transfer_image.h | 34 VkImageAspectFlags aspect, 60 Result CreateVkImageView(VkImageAspectFlags aspect); 66 VkBufferImageCopy CreateBufferImageCopy(VkImageAspectFlags aspect,
|
D | frame_buffer.cc | 83 VkImageAspectFlags aspect = 0; in Initialize() local 85 aspect |= VK_IMAGE_ASPECT_DEPTH_BIT; in Initialize() 87 aspect |= VK_IMAGE_ASPECT_STENCIL_BIT; in Initialize() 88 assert(aspect != 0); in Initialize() 91 device_, *depth_stencil_attachment_.buffer->GetFormat(), aspect, in Initialize()
|
/external/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | matrix_transform.hpp | 234 T aspect, 249 T aspect, 264 T aspect, 328 T fovy, T aspect, T near); 339 T fovy, T aspect, T near); 350 T fovy, T aspect, T near); 361 T fovy, T aspect, T near); 373 T fovy, T aspect, T near, T ep);
|
D | matrix_transform.inl | 248 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> perspective(T fovy, T aspect, T zNear, T zFar) argument 251 return perspectiveLH(fovy, aspect, zNear, zFar); 253 return perspectiveRH(fovy, aspect, zNear, zFar); 258 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> perspectiveRH(T fovy, T aspect, T zNear, T zFar) argument 260 assert(abs(aspect - std::numeric_limits<T>::epsilon()) > static_cast<T>(0)); 265 Result[0][0] = static_cast<T>(1) / (aspect * tanHalfFovy); 281 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> perspectiveLH(T fovy, T aspect, T zNear, T zFar) argument 283 assert(abs(aspect - std::numeric_limits<T>::epsilon()) > static_cast<T>(0)); 288 Result[0][0] = static_cast<T>(1) / (aspect * tanHalfFovy); 368 GLM_FUNC_QUALIFIER tmat4x4<T, defaultp> infinitePerspective(T fovy, T aspect, T zNear) argument [all …]
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_resource.c | 80 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 …]
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/ |
D | SphericalGLSurfaceView.java | 274 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/ |
D | ImGuiLayer.h | 23 float aspect = -1.0f) 33 if (aspect < 0) { 34 aspect = h / w; 39 fSize = ImVec2(availWidth, availWidth * aspect);
|
/external/fmtlib/doc/bootstrap/ |
D | responsive-embed.less | 27 // Modifier class for 16:9 aspect ratio 32 // Modifier class for 4:3 aspect ratio
|