Home
last modified time | relevance | path

Searched refs:unpack (Results 1 – 25 of 231) sorted by relevance

12345678910

/external/mesa3d/src/mesa/main/
Dpbo.c141 const struct gl_pixelstore_attrib *unpack, in _mesa_map_pbo_source() argument
146 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_map_pbo_source()
149 unpack->BufferObj->Size, in _mesa_map_pbo_source()
151 unpack->BufferObj); in _mesa_map_pbo_source()
177 const struct gl_pixelstore_attrib *unpack, in _mesa_map_validate_pbo_source() argument
185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, in _mesa_map_validate_pbo_source()
187 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_map_validate_pbo_source()
198 if (!_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_map_validate_pbo_source()
203 if (_mesa_bufferobj_mapped(unpack->BufferObj)) { in _mesa_map_validate_pbo_source()
209 ptr = _mesa_map_pbo_source(ctx, unpack, ptr); in _mesa_map_validate_pbo_source()
[all …]
Dpbo.h42 const struct gl_pixelstore_attrib *unpack,
48 const struct gl_pixelstore_attrib *unpack,
55 const struct gl_pixelstore_attrib *unpack);
65 const struct gl_pixelstore_attrib *unpack,
79 const struct gl_pixelstore_attrib *unpack,
90 const struct gl_pixelstore_attrib *unpack);
/external/mesa3d/src/mesa/swrast/
Ds_drawpix.c55 const struct gl_pixelstore_attrib *unpack, in fast_draw_rgb_ubyte_pixels() argument
59 _mesa_image_address2d(unpack, pixels, width, in fast_draw_rgb_ubyte_pixels()
61 const GLint srcRowStride = _mesa_image_row_stride(unpack, width, in fast_draw_rgb_ubyte_pixels()
102 const struct gl_pixelstore_attrib *unpack, in fast_draw_rgba_ubyte_pixels() argument
106 _mesa_image_address2d(unpack, pixels, width, in fast_draw_rgba_ubyte_pixels()
109 _mesa_image_row_stride(unpack, width, GL_RGBA, GL_UNSIGNED_BYTE); in fast_draw_rgba_ubyte_pixels()
151 const struct gl_pixelstore_attrib *unpack, in fast_draw_generic_pixels() argument
155 _mesa_image_address2d(unpack, pixels, width, in fast_draw_generic_pixels()
158 _mesa_image_row_stride(unpack, width, format, type); in fast_draw_generic_pixels()
200 struct gl_pixelstore_attrib unpack; in fast_draw_rgba_pixels() local
[all …]
Ds_bitmap.c51 const struct gl_pixelstore_attrib *unpack, in _swrast_Bitmap() argument
63 bitmap = (const GLubyte *) _mesa_map_pbo_source(ctx, unpack, bitmap); in _swrast_Bitmap()
78 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack, in _swrast_Bitmap()
81 if (unpack->LsbFirst) { in _swrast_Bitmap()
83 GLubyte mask = 1U << (unpack->SkipPixels & 0x7); in _swrast_Bitmap()
105 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7); in _swrast_Bitmap()
137 _mesa_unmap_pbo_source(ctx, unpack); in _swrast_Bitmap()
150 const struct gl_pixelstore_attrib *unpack,
176 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack,
179 if (unpack->LsbFirst) {
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_bitmap.c66 const struct gl_pixelstore_attrib *unpack, in map_pbo() argument
71 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1, in map_pbo()
78 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size, in map_pbo()
80 unpack->BufferObj); in map_pbo()
103 const struct gl_pixelstore_attrib *unpack, in get_bitmap_rect() argument
111 GLuint src_offset = (x + unpack->SkipPixels) & 0x7; in get_bitmap_rect()
112 GLuint mask = unpack->LsbFirst ? 0 : 7; in get_bitmap_rect()
120 __FUNCTION__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask); in get_bitmap_rect()
136 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap, in get_bitmap_rect()
175 const struct gl_pixelstore_attrib *unpack, in do_blit_bitmap() argument
[all …]
Dintel_tex_image.c135 const struct gl_pixelstore_attrib *unpack, in try_pbo_upload() argument
140 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj); in try_pbo_upload()
145 if (!_mesa_is_bufferobj(unpack->BufferObj)) in try_pbo_upload()
151 unpack->SkipPixels || unpack->SkipRows) { in try_pbo_upload()
175 if (unpack->RowLength > 0) in try_pbo_upload()
176 src_stride = unpack->RowLength; in try_pbo_upload()
207 const struct gl_pixelstore_attrib *unpack) in intelTexImage() argument
216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { in intelTexImage()
225 format, type, pixels, unpack); in intelTexImage()
Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack, in intelDrawPixels() argument
52 unpack, pixels); in intelDrawPixels()
57 unpack, pixels); in intelDrawPixels()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_bitmap.c66 const struct gl_pixelstore_attrib *unpack, in map_pbo() argument
71 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1, in map_pbo()
78 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size, in map_pbo()
80 unpack->BufferObj); in map_pbo()
103 const struct gl_pixelstore_attrib *unpack, in get_bitmap_rect() argument
111 GLuint src_offset = (x + unpack->SkipPixels) & 0x7; in get_bitmap_rect()
112 GLuint mask = unpack->LsbFirst ? 0 : 7; in get_bitmap_rect()
120 __FUNCTION__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask); in get_bitmap_rect()
136 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap, in get_bitmap_rect()
175 const struct gl_pixelstore_attrib *unpack, in do_blit_bitmap() argument
[all …]
Dintel_tex_image.c135 const struct gl_pixelstore_attrib *unpack, in try_pbo_upload() argument
140 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj); in try_pbo_upload()
145 if (!_mesa_is_bufferobj(unpack->BufferObj)) in try_pbo_upload()
151 unpack->SkipPixels || unpack->SkipRows) { in try_pbo_upload()
175 if (unpack->RowLength > 0) in try_pbo_upload()
176 src_stride = unpack->RowLength; in try_pbo_upload()
207 const struct gl_pixelstore_attrib *unpack) in intelTexImage() argument
216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { in intelTexImage()
225 format, type, pixels, unpack); in intelTexImage()
Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack, in intelDrawPixels() argument
52 unpack, pixels); in intelDrawPixels()
57 unpack, pixels); in intelDrawPixels()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_pixel_bitmap.c66 const struct gl_pixelstore_attrib *unpack, in map_pbo() argument
71 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1, in map_pbo()
78 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size, in map_pbo()
80 unpack->BufferObj); in map_pbo()
103 const struct gl_pixelstore_attrib *unpack, in get_bitmap_rect() argument
111 GLuint src_offset = (x + unpack->SkipPixels) & 0x7; in get_bitmap_rect()
112 GLuint mask = unpack->LsbFirst ? 0 : 7; in get_bitmap_rect()
120 __FUNCTION__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask); in get_bitmap_rect()
136 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap, in get_bitmap_rect()
175 const struct gl_pixelstore_attrib *unpack, in do_blit_bitmap() argument
[all …]
Dintel_tex_image.c135 const struct gl_pixelstore_attrib *unpack, in try_pbo_upload() argument
140 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj); in try_pbo_upload()
145 if (!_mesa_is_bufferobj(unpack->BufferObj)) in try_pbo_upload()
151 unpack->SkipPixels || unpack->SkipRows) { in try_pbo_upload()
175 if (unpack->RowLength > 0) in try_pbo_upload()
176 src_stride = unpack->RowLength; in try_pbo_upload()
207 const struct gl_pixelstore_attrib *unpack) in intelTexImage() argument
216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { in intelTexImage()
225 format, type, pixels, unpack); in intelTexImage()
Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack, in intelDrawPixels() argument
52 unpack, pixels); in intelDrawPixels()
57 unpack, pixels); in intelDrawPixels()
/external/autotest/client/common_lib/
Dmagic.py131 [c] = struct.unpack('c', data[self.offset + i])
134 [data] = struct.unpack('h', data[self.offset:self.offset + 2])
136 [data] = struct.unpack('<h', data[self.offset:self.offset + 2])
138 [data] = struct.unpack('>H', data[self.offset:self.offset + 2])
140 [data] = struct.unpack('l', data[self.offset:self.offset + 4])
142 [data] = struct.unpack('<l', data[self.offset:self.offset + 4])
144 [data] = struct.unpack('>l', data[self.offset:self.offset + 4])
/external/vboot_reference/tests/futility/
Dtest_main.sh37 ./vbutil_key --unpack ${DEVKEYS}/installer_kernel_data_key.vbpubk | grep ${SHA}
39 ./vbutil_keyblock --unpack ${DEVKEYS}/installer_kernel.keyblock | grep ${SHA}
45 ./muggle vbutil_key --unpack ${DEVKEYS}/installer_kernel_data_key.vbpubk \
48 ./buggle vbutil_keyblock --unpack ${DEVKEYS}/installer_kernel.keyblock \
/external/fonttools/Lib/fontTools/ttLib/tables/
D_k_e_r_n.py20 version, nTables = struct.unpack(">HH", data[:4])
24 version, nTables = struct.unpack(">LL", data[:8])
36 length, coverage, tupleIndex = struct.unpack(">lHH", data[:8])
39 version, length = struct.unpack(">HH", data[:4])
93 version, length, coverage = struct.unpack(">HHH", data[:6])
96 version, length, coverage = struct.unpack(">LHH", data[:8])
102 nPairs, searchRange, entrySelector, rangeShift = struct.unpack(">HHHH", data[:8])
110 left, right, value = struct.unpack(">HHh", data[:6])
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c343 const struct gl_pixelstore_attrib *unpack, in xmesa_DrawPixels_8R8G8B() argument
348 struct gl_pixelstore_attrib clippedUnpack = *unpack; in xmesa_DrawPixels_8R8G8B()
357 if (_mesa_is_bufferobj(unpack->BufferObj)) { in xmesa_DrawPixels_8R8G8B()
360 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1, in xmesa_DrawPixels_8R8G8B()
367 unpack->BufferObj->Size, in xmesa_DrawPixels_8R8G8B()
369 unpack->BufferObj); in xmesa_DrawPixels_8R8G8B()
419 if (_mesa_is_bufferobj(unpack->BufferObj)) { in xmesa_DrawPixels_8R8G8B()
420 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj); in xmesa_DrawPixels_8R8G8B()
426 format, type, unpack, pixels); in xmesa_DrawPixels_8R8G8B()
477 const struct gl_pixelstore_attrib *unpack, in xmesa_DrawPixels_5R6G5B() argument
[all …]
/external/fonttools/Lib/fontTools/misc/
Dsstruct.py78 def unpack(fmt, data, obj=None): function
87 elements = struct.unpack(formatstring, data)
104 return unpack(fmt, data[:length], obj), data[length:]
205 print(unpack(fmt, data))
207 unpack(fmt, data, i2)
/external/vboot_reference/utility/
Dvbutil_what_keys80 rootkey=$(futility vbutil_key --unpack "$TMPFILE" | grep sha1sum | \
85 recoverykey=$(futility vbutil_key --unpack "$TMPFILE" | grep sha1sum | \
117 psum=$(futility vbutil_keyblock --unpack "$TMPFILE" 2>/dev/null | \
122 flags=$(futility vbutil_keyblock --unpack "$TMPFILE" 2>/dev/null | \
/external/autotest/client/cros/
Ddhcp_packet.py44 def unpack(byte_string): member in CreatePacketPieceClass.PacketPiece
45 return struct.unpack(field_format, byte_string)[0]
78 def unpack(byte_string): member in IpAddressOption
88 def unpack(byte_string): member in IpListOption
99 def unpack(byte_string): member in RawOption
109 def unpack(byte_string): member in ByteListOption
136 def unpack(byte_string): member in ClasslessStaticRoutesOption
185 def unpack(byte_string): member in DomainListOption
283 def unpack(byte_string): member in IpAddressField
657 self._fields[field] = field.unpack(byte_str[field.offset :
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dmonsoon.py129 status = dict(zip(STATUS_FIELDS, struct.unpack(STATUS_FORMAT, data)))
199 seq, packet_type, x, _ = struct.unpack('BBBB', data[:4])
200 data = [struct.unpack(">hhhh", data[x:x+8])
249 checksum = (data_len + sum(struct.unpack('B' * len(data), data))) % 256
261 data_len = struct.unpack('B', len_char)
270 checksum = (data_len + sum(struct.unpack('B' * len(body), body))) % 256
/external/libvorbis/lib/
Dbackends.h32 vorbis_info_floor *(*unpack)(vorbis_info *,oggpack_buffer *); member
90 vorbis_info_residue *(*unpack)(vorbis_info *,oggpack_buffer *); member
125 vorbis_info_mapping *(*unpack)(vorbis_info *,oggpack_buffer *); member
/external/autotest/client/site_tests/hardware_SAT/
Dhardware_SAT.py19 mchbar = struct.unpack('=I', fd.read(4))[0]
26 mad_chnl = struct.unpack('=I', fd.read(4))[0]
28 channel_hash = struct.unpack('=I', fd.read(4))[0]
/external/libvpx/libvpx/vpx_dsp/x86/
Dvariance_impl_mmx.asm101 punpcklbw mm0, mm6 ; unpack to higher prrcision
103 punpckhbw mm2, mm6 ; unpack to higher prrcision
124 punpcklbw mm0, mm6 ; unpack to higher prrcision
126 punpckhbw mm2, mm6 ; unpack to higher prrcision
147 punpcklbw mm0, mm6 ; unpack to higher prrcision
149 punpckhbw mm2, mm6 ; unpack to higher prrcision
170 punpcklbw mm0, mm6 ; unpack to higher prrcision
172 punpckhbw mm2, mm6 ; unpack to higher prrcision
193 punpcklbw mm0, mm6 ; unpack to higher prrcision
195 punpckhbw mm2, mm6 ; unpack to higher prrcision
[all …]
/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py34 sstruct.unpack(ttcHeaderFormat, self.file.read(ttcHeaderSize), self)
39 offsetTable = struct.unpack(">%dL" % self.numFonts, self.file.read(self.numFonts * 4))
43 sstruct.unpack(sfntDirectoryFormat, self.file.read(sfntDirectorySize), self)
47 sstruct.unpack(woffDirectoryFormat, self.file.read(woffDirectorySize), self)
49 sstruct.unpack(sfntDirectoryFormat, self.file.read(sfntDirectorySize), self)
191 self.majorVersion, self.minorVersion = struct.unpack(">HH", self.headTable[4:8])
344 sstruct.unpack(self.format, file.read(self.formatSize), self)
347 sstruct.unpack(self.format, str, self)
463 longs = struct.unpack(">%dL" % (len(block) // 4), block)

12345678910