/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tex_image.c | 137 const struct gl_pixelstore_attrib *packing) in intel_texsubimage_blorp() argument 151 pixels, packing); in intel_texsubimage_blorp() 185 const struct gl_pixelstore_attrib *packing) in intel_texsubimage_tiled_memcpy() argument 212 _mesa_is_bufferobj(packing->BufferObj) || in intel_texsubimage_tiled_memcpy() 213 packing->Alignment > 4 || in intel_texsubimage_tiled_memcpy() 214 packing->SkipPixels > 0 || in intel_texsubimage_tiled_memcpy() 215 packing->SkipRows > 0 || in intel_texsubimage_tiled_memcpy() 216 (packing->RowLength != 0 && packing->RowLength != width) || in intel_texsubimage_tiled_memcpy() 217 packing->SwapBytes || in intel_texsubimage_tiled_memcpy() 218 packing->LsbFirst || in intel_texsubimage_tiled_memcpy() [all …]
|
D | brw_blorp.c | 776 const struct gl_pixelstore_attrib *packing, in blorp_get_client_bo() argument 782 const uint32_t first_pixel = _mesa_image_offset(dims, packing, w, h, in blorp_get_client_bo() 784 const uint32_t last_pixel = _mesa_image_offset(dims, packing, w, h, in blorp_get_client_bo() 787 const uint32_t stride = _mesa_image_row_stride(packing, w, format, type); in blorp_get_client_bo() 792 *image_stride_out = _mesa_image_image_stride(packing, w, h, format, type); in blorp_get_client_bo() 794 if (_mesa_is_bufferobj(packing->BufferObj)) { in blorp_get_client_bo() 803 intel_buffer_object(packing->BufferObj); in blorp_get_client_bo() 848 const struct gl_pixelstore_attrib *packing) in blorp_get_client_format() argument 853 if (packing->SwapBytes || packing->LsbFirst || packing->Invert) { in blorp_get_client_format() 897 const struct gl_pixelstore_attrib *packing) in brw_blorp_upload_miptree() argument [all …]
|
/external/mesa3d/src/mesa/main/ |
D | image.c | 117 const struct gl_pixelstore_attrib *packing, in _mesa_image_offset() argument 132 alignment = packing->Alignment; in _mesa_image_offset() 133 if (packing->RowLength > 0) { in _mesa_image_offset() 134 pixels_per_row = packing->RowLength; in _mesa_image_offset() 139 if (packing->ImageHeight > 0) { in _mesa_image_offset() 140 rows_per_image = packing->ImageHeight; in _mesa_image_offset() 146 skippixels = packing->SkipPixels; in _mesa_image_offset() 148 skiprows = packing->SkipRows; in _mesa_image_offset() 150 skipimages = (dimensions == 3) ? packing->SkipImages : 0; in _mesa_image_offset() 190 if (packing->Invert) { in _mesa_image_offset() [all …]
|
D | readpix.c | 186 const struct gl_pixelstore_attrib *packing) in readpixels_can_use_memcpy() argument 204 packing->SwapBytes, NULL)) { in readpixels_can_use_memcpy() 218 const struct gl_pixelstore_attrib *packing) in readpixels_memcpy() argument 226 if (!readpixels_can_use_memcpy(ctx, format, type, packing)) { in readpixels_memcpy() 230 dstStride = _mesa_image_row_stride(packing, width, format, type); in readpixels_memcpy() 231 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, in readpixels_memcpy() 269 const struct gl_pixelstore_attrib *packing ) in read_uint_depth_pixels() argument 279 if (packing->SwapBytes) in read_uint_depth_pixels() 293 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_uint_depth_pixels() 294 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, in read_uint_depth_pixels() [all …]
|
D | image.h | 45 const struct gl_pixelstore_attrib *packing, 52 const struct gl_pixelstore_attrib *packing, 59 _mesa_image_address1d( const struct gl_pixelstore_attrib *packing, 66 _mesa_image_address2d( const struct gl_pixelstore_attrib *packing, 73 _mesa_image_address3d( const struct gl_pixelstore_attrib *packing, 81 _mesa_image_row_stride( const struct gl_pixelstore_attrib *packing, 86 _mesa_image_image_stride( const struct gl_pixelstore_attrib *packing, 139 const struct gl_pixelstore_attrib *packing,
|
D | pixelstore.c | 322 const struct gl_pixelstore_attrib *packing, in _mesa_compressed_pixel_storage_error_check() argument 325 if (!_mesa_is_desktop_gl(ctx) || !packing->CompressedBlockSize) in _mesa_compressed_pixel_storage_error_check() 328 if (packing->CompressedBlockWidth && in _mesa_compressed_pixel_storage_error_check() 329 packing->SkipPixels % packing->CompressedBlockWidth) { in _mesa_compressed_pixel_storage_error_check() 336 packing->CompressedBlockHeight && in _mesa_compressed_pixel_storage_error_check() 337 packing->SkipRows % packing->CompressedBlockHeight) { in _mesa_compressed_pixel_storage_error_check() 344 packing->CompressedBlockDepth && in _mesa_compressed_pixel_storage_error_check() 345 packing->SkipImages % packing->CompressedBlockDepth) { in _mesa_compressed_pixel_storage_error_check()
|
D | texstore.c | 974 const struct gl_pixelstore_attrib *packing, in store_texsubimage() argument 1005 format, type, pixels, packing, caller); in store_texsubimage() 1031 srcImageStride = _mesa_image_row_stride(packing, width, format, type); in store_texsubimage() 1039 srcImageStride = _mesa_image_image_stride(packing, width, height, in store_texsubimage() 1046 srcImageStride = _mesa_image_image_stride(packing, width, height, in store_texsubimage() 1052 srcImageStride = _mesa_image_image_stride(packing, width, height, in store_texsubimage() 1080 format, type, src, packing); in store_texsubimage() 1094 _mesa_unmap_teximage_pbo(ctx, packing); in store_texsubimage() 1109 const struct gl_pixelstore_attrib *packing) in _mesa_store_teximage() argument 1124 format, type, pixels, packing, "glTexImage"); in _mesa_store_teximage() [all …]
|
D | texstore.h | 100 const struct gl_pixelstore_attrib *packing); 109 const struct gl_pixelstore_attrib *packing); 148 const struct gl_pixelstore_attrib *packing,
|
D | pbo.c | 441 const struct gl_pixelstore_attrib *packing, in _mesa_validate_pbo_compressed_teximage() argument 446 if (!_mesa_validate_pbo_source_compressed(ctx, dimensions, packing, in _mesa_validate_pbo_compressed_teximage() 452 if (!_mesa_is_bufferobj(packing->BufferObj)) { in _mesa_validate_pbo_compressed_teximage() 458 packing->BufferObj->Size, in _mesa_validate_pbo_compressed_teximage() 460 packing->BufferObj, in _mesa_validate_pbo_compressed_teximage()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_subimage.c | 52 const struct gl_pixelstore_attrib *packing) in intel_blit_texsubimage() argument 79 format, type, pixels, packing, in intel_blit_texsubimage() 101 format, type, pixels, packing)) { in intel_blit_texsubimage() 118 _mesa_unmap_teximage_pbo(ctx, packing); in intel_blit_texsubimage() 125 _mesa_unmap_teximage_pbo(ctx, packing); in intel_blit_texsubimage() 137 const struct gl_pixelstore_attrib *packing) in intelTexSubImage() argument 143 format, type, pixels, packing)) { in intelTexSubImage() 147 format, type, pixels, packing); in intelTexSubImage()
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_buffer_access.cpp | 63 enum glsl_interface_packing packing, in emit_access() argument 77 if (packing == GLSL_INTERFACE_PACKING_STD430) in emit_access() 85 row_major, NULL, packing, in emit_access() 88 if (packing == GLSL_INTERFACE_PACKING_STD430) in emit_access() 97 unsigned array_stride = packing == GLSL_INTERFACE_PACKING_STD430 ? in emit_access() 108 row_major, NULL, packing, in emit_access() 125 : link_calculate_matrix_stride(deref->type, row_major, packing); in emit_access() 129 row_major, deref->type, packing, in emit_access() 151 link_calculate_matrix_stride(matrix_type, row_major, packing); in emit_access() 280 enum glsl_interface_packing packing) in setup_buffer_access() argument [all …]
|
D | linker.h | 97 enum glsl_interface_packing packing); 163 const enum glsl_interface_packing packing, 167 bool row_major, const enum glsl_interface_packing packing); 170 bool row_major, const enum glsl_interface_packing packing); 186 const enum glsl_interface_packing packing,
|
D | link_uniforms.cpp | 55 enum glsl_interface_packing packing = in process() local 58 recursion(type, &name_copy, strlen(name), false, NULL, packing, false, in process() 70 enum glsl_interface_packing packing = var->get_interface_type() ? in process() local 86 recursion(var->type, &name, strlen(name), row_major, NULL, packing, in process() 95 recursion(t, &name, strlen(name), row_major, NULL, packing, in process() 100 this->visit_field(t, var->name, row_major, NULL, packing, false); in process() 108 const enum glsl_interface_packing packing, in recursion() argument 123 packing, false, record_array_count, NULL); in recursion() 129 this->enter_record(t, *name, row_major, packing); in recursion() 163 packing, in recursion() [all …]
|
D | lower_ubo_reference.cpp | 66 enum glsl_interface_packing packing); 104 enum glsl_interface_packing packing); 278 enum glsl_interface_packing packing) in setup_for_load_or_store() argument 327 matrix_type, &this->struct_field, packing); in setup_for_load_or_store() 351 enum glsl_interface_packing packing = in handle_rvalue() local 366 packing); in handle_rvalue() 386 row_major, matrix_type, packing, 0); in handle_rvalue() 567 enum glsl_interface_packing packing = in write_to_memory() local 580 packing); in write_to_memory() 594 row_major, matrix_type, packing, write_mask); in write_to_memory() [all …]
|
D | lower_shared_reference.cpp | 142 const enum glsl_interface_packing packing = GLSL_INTERFACE_PACKING_STD430; in handle_rvalue() local 146 &row_major, &matrix_type, NULL, packing); in handle_rvalue() 166 matrix_type, packing, 0); in handle_rvalue() 210 const enum glsl_interface_packing packing = GLSL_INTERFACE_PACKING_STD430; in handle_assignment() local 214 &row_major, &matrix_type, NULL, packing); in handle_assignment() 226 matrix_type, packing, ir->write_mask); in handle_assignment() 369 const enum glsl_interface_packing packing = GLSL_INTERFACE_PACKING_STD430; in lower_shared_atomic_intrinsic() local 374 &row_major, &matrix_type, NULL, packing); in lower_shared_atomic_intrinsic()
|
D | lower_buffer_access.h | 52 enum glsl_interface_packing packing, 62 enum glsl_interface_packing packing);
|
D | link_uniform_blocks.cpp | 68 const enum glsl_interface_packing packing) in enter_record() argument 71 if (packing == GLSL_INTERFACE_PACKING_STD430) in enter_record() 81 const enum glsl_interface_packing packing) in leave_record() argument 92 if (packing == GLSL_INTERFACE_PACKING_STD430) in leave_record() 107 const enum glsl_interface_packing packing, in visit_field() argument 162 if (packing == GLSL_INTERFACE_PACKING_STD430) { in visit_field()
|
/external/gemmlowp/doc/ |
D | packing.md | 1 # The packing stage in gemmlowp 6 of computations described there: packing, kernel, unpacking. 8 This page goes into more details about the first stage: packing. 12 contract that the packing stage must honor. 15 [low-precision.md](low-precision.md) as the packing stage also has to compute 20 As explained in [design.md](design.md), the primary purpose of packing is to 39 This suggests the following approach to implementing packing: take the exact 125 ## The innermost loop of the packing stage, PackRun, and PackingRegisterBlock 132 that it expects; the packing code has to honor it. So there's an asymmetry here: 133 the kernel is the master, the packing is the slave. That's why the packing code [all …]
|
D | kernel.md | 5 Here we assume familiarity with the concepts of kernels and of packing as 142 As explained in [design.md](design.md), gemmlowp starts by packing blocks of the 153 generic code with fast specific packing code for specific formats, on specific 157 specializations of the packing code for the particular kernel formats that are 166 packing code. The steps are thus: 171 3. Implement the optimized packing code, similar to
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | MimeViewer.py | 16 self.frame.packing = {'expand': 0, 'fill': 'both'} 31 self.htext.packing = {'expand': 1, 'fill': 'both', 37 self.htext.packing = {'side': 'top', 52 self.btext.packing = {'expand': 1, 61 self.pad.packing = {'side': 'left', 'ipadx': 10, 72 self.frame.pack(self.frame.packing) 95 if comp: comp.pack(comp.packing)
|
/external/mesa3d/src/compiler/ |
D | glsl_types.h | 292 enum glsl_interface_packing packing, 820 enum glsl_interface_packing packing = this->get_interface_packing(); in get_internal_ifc_packing() local 821 if (packing == GLSL_INTERFACE_PACKING_STD140 || in get_internal_ifc_packing() 823 (packing == GLSL_INTERFACE_PACKING_SHARED || in get_internal_ifc_packing() 824 packing == GLSL_INTERFACE_PACKING_PACKED))) { in get_internal_ifc_packing() 827 assert(packing == GLSL_INTERFACE_PACKING_STD430 || in get_internal_ifc_packing() 829 (packing == GLSL_INTERFACE_PACKING_SHARED || in get_internal_ifc_packing() 830 packing == GLSL_INTERFACE_PACKING_PACKED))); in get_internal_ifc_packing() 870 enum glsl_interface_packing packing,
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_texture.c | 445 const struct gl_pixelstore_attrib *packing, in nouveau_teximage() argument 463 pixels, packing, "glCompressedTexImage"); in nouveau_teximage() 467 pixels, packing, "glTexImage"); in nouveau_teximage() 489 format, type, pixels, packing); in nouveau_teximage() 494 _mesa_unmap_teximage_pbo(ctx, packing); in nouveau_teximage() 517 const struct gl_pixelstore_attrib *packing) in nouveau_teximage_123d() argument 520 packing, GL_FALSE); in nouveau_teximage_123d() 548 const struct gl_pixelstore_attrib *packing, in nouveau_texsubimage() argument 556 pixels, packing, "glCompressedTexSubImage"); in nouveau_texsubimage() 560 pixels, packing, "glTexSubImage"); in nouveau_texsubimage() [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | cross_device_utils.py | 502 def pack_range(key, packing, grad_vars, rng): argument 526 packing[key] = GradPackTuple( 595 packing = {} 603 new_gv_list.append((pack_range(key, packing, gv_list, r), 608 return new_replica_grads, packing 613 def unpack_small_tensors(replica_grads, packing): argument 626 if not packing: 630 num_packed = len(packing.keys()) // num_devices 636 gpt = packing[k]
|
/external/python/cpython3/Doc/library/ |
D | xdrlib.rst | 19 The :mod:`xdrlib` module defines two classes, one for packing variables into XDR 26 :class:`Packer` is the class for packing data into XDR representation. The 65 value to pack. The following simple data type packing methods are supported: 79 The following methods support packing strings, bytes, and opaque data: 110 The following methods support packing arrays and lists: 277 print('packing the double failed:', instance.msg)
|
/external/python/cpython2/Doc/library/ |
D | xdrlib.rst | 20 The :mod:`xdrlib` module defines two classes, one for packing variables into XDR 27 :class:`Packer` is the class for packing data into XDR representation. The 66 value to pack. The following simple data type packing methods are supported: 80 The following methods support packing strings, bytes, and opaque data: 111 The following methods support packing arrays and lists: 278 print 'packing the double failed:', instance.msg
|