Searched defs:unpack (Results 1 - 25 of 64) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Ddfa.rb111 def unpack( *data ) method in class:ANTLR3.DFA
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack,
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
H A Dintel_pixel_bitmap.c66 const struct gl_pixelstore_attrib *unpack,
71 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1,
78 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size,
80 unpack->BufferObj);
103 const struct gl_pixelstore_attrib *unpack,
111 GLuint src_offset = (x + unpack->SkipPixels) & 0x7;
112 GLuint mask = unpack->LsbFirst ? 0 : 7;
120 __FUNCTION__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask);
136 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap,
175 const struct gl_pixelstore_attrib *unpack,
64 map_pbo( struct gl_context *ctx, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
102 get_bitmap_rect(GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, GLuint x, GLuint y, GLuint w, GLuint h, GLubyte *dest, GLuint row_align, bool invert) argument
172 do_blit_bitmap( struct gl_context *ctx, GLint dstx, GLint dsty, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
326 intelBitmap(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte * pixels) argument
[all...]
H A Dintel_tex_image.c135 const struct gl_pixelstore_attrib *unpack,
140 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj);
145 if (!_mesa_is_bufferobj(unpack->BufferObj))
151 unpack->SkipPixels || unpack->SkipRows) {
175 if (unpack->RowLength > 0)
176 src_stride = unpack->RowLength;
207 const struct gl_pixelstore_attrib *unpack)
216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) {
225 format, type, pixels, unpack);
133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument
203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack,
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
H A Dintel_pixel_bitmap.c66 const struct gl_pixelstore_attrib *unpack,
71 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1,
78 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size,
80 unpack->BufferObj);
103 const struct gl_pixelstore_attrib *unpack,
111 GLuint src_offset = (x + unpack->SkipPixels) & 0x7;
112 GLuint mask = unpack->LsbFirst ? 0 : 7;
120 __FUNCTION__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask);
136 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap,
175 const struct gl_pixelstore_attrib *unpack,
64 map_pbo( struct gl_context *ctx, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
102 get_bitmap_rect(GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, GLuint x, GLuint y, GLuint w, GLuint h, GLubyte *dest, GLuint row_align, bool invert) argument
172 do_blit_bitmap( struct gl_context *ctx, GLint dstx, GLint dsty, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
326 intelBitmap(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte * pixels) argument
[all...]
H A Dintel_tex_image.c135 const struct gl_pixelstore_attrib *unpack,
140 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj);
145 if (!_mesa_is_bufferobj(unpack->BufferObj))
151 unpack->SkipPixels || unpack->SkipRows) {
175 if (unpack->RowLength > 0)
176 src_stride = unpack->RowLength;
207 const struct gl_pixelstore_attrib *unpack)
216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) {
225 format, type, pixels, unpack);
133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument
203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack,
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
H A Dintel_pixel_bitmap.c66 const struct gl_pixelstore_attrib *unpack,
71 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1,
78 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size,
80 unpack->BufferObj);
103 const struct gl_pixelstore_attrib *unpack,
111 GLuint src_offset = (x + unpack->SkipPixels) & 0x7;
112 GLuint mask = unpack->LsbFirst ? 0 : 7;
120 __FUNCTION__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask);
136 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap,
175 const struct gl_pixelstore_attrib *unpack,
64 map_pbo( struct gl_context *ctx, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
102 get_bitmap_rect(GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, GLuint x, GLuint y, GLuint w, GLuint h, GLubyte *dest, GLuint row_align, bool invert) argument
172 do_blit_bitmap( struct gl_context *ctx, GLint dstx, GLint dsty, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
326 intelBitmap(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte * pixels) argument
[all...]
H A Dintel_tex_image.c135 const struct gl_pixelstore_attrib *unpack,
140 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj);
145 if (!_mesa_is_bufferobj(unpack->BufferObj))
151 unpack->SkipPixels || unpack->SkipRows) {
175 if (unpack->RowLength > 0)
176 src_stride = unpack->RowLength;
207 const struct gl_pixelstore_attrib *unpack)
216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) {
225 format, type, pixels, unpack);
133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument
203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack,
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack,
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack,
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Ddfa.py184 def unpack(cls, string): member in class:DFA
213 unpack = classmethod(unpack) variable in class:DFA
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_bitmap.c51 const struct gl_pixelstore_attrib *unpack,
63 bitmap = (const GLubyte *) _mesa_map_pbo_source(ctx, unpack, bitmap);
78 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack,
81 if (unpack->LsbFirst) {
83 GLubyte mask = 1U << (unpack->SkipPixels & 0x7);
105 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7);
137 _mesa_unmap_pbo_source(ctx, unpack);
150 const struct gl_pixelstore_attrib *unpack,
176 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack,
179 if (unpack
49 _swrast_Bitmap( struct gl_context *ctx, GLint px, GLint py, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
[all...]
H A Ds_drawpix.c55 const struct gl_pixelstore_attrib *unpack,
59 _mesa_image_address2d(unpack, pixels, width,
61 const GLint srcRowStride = _mesa_image_row_stride(unpack, width,
102 const struct gl_pixelstore_attrib *unpack,
106 _mesa_image_address2d(unpack, pixels, width,
109 _mesa_image_row_stride(unpack, width, GL_RGBA, GL_UNSIGNED_BYTE);
151 const struct gl_pixelstore_attrib *unpack,
155 _mesa_image_address2d(unpack, pixels, width,
158 _mesa_image_row_stride(unpack, width, format, type);
200 struct gl_pixelstore_attrib unpack; local
51 fast_draw_rgb_ubyte_pixels(struct gl_context *ctx, struct gl_renderbuffer *rb, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument
98 fast_draw_rgba_ubyte_pixels(struct gl_context *ctx, struct gl_renderbuffer *rb, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument
146 fast_draw_generic_pixels(struct gl_context *ctx, struct gl_renderbuffer *rb, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument
259 draw_stencil_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels ) argument
303 draw_depth_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels ) argument
409 draw_rgba_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels ) argument
509 fast_draw_depth_stencil(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument
549 draw_depth_stencil_pixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument
648 _swrast_DrawPixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels ) argument
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_bitmap.c51 const struct gl_pixelstore_attrib *unpack,
63 bitmap = (const GLubyte *) _mesa_map_pbo_source(ctx, unpack, bitmap);
78 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack,
81 if (unpack->LsbFirst) {
83 GLubyte mask = 1U << (unpack->SkipPixels & 0x7);
105 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7);
137 _mesa_unmap_pbo_source(ctx, unpack);
150 const struct gl_pixelstore_attrib *unpack,
176 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack,
179 if (unpack
49 _swrast_Bitmap( struct gl_context *ctx, GLint px, GLint py, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
[all...]
/external/fonttools/Lib/fontTools/misc/
H A Dsstruct.py32 unpack(fmt, data, object=None)
41 Convenience function. Same as unpack, except data may be longer
78 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/fonttools/Tools/fontTools/misc/
H A Dsstruct.py32 unpack(fmt, data, object=None)
41 Convenience function. Same as unpack, except data may be longer
78 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/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dpbo.c141 const struct gl_pixelstore_attrib *unpack,
146 if (_mesa_is_bufferobj(unpack->BufferObj)) {
147 /* unpack from PBO */
149 unpack->BufferObj->Size,
151 unpack->BufferObj);
158 /* unpack from normal memory */
177 const struct gl_pixelstore_attrib *unpack,
185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth,
187 if (_mesa_is_bufferobj(unpack->BufferObj)) {
198 if (!_mesa_is_bufferobj(unpack
140 _mesa_map_pbo_source(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack, const GLvoid *src) argument
175 _mesa_map_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr, const char *where) argument
218 _mesa_unmap_pbo_source(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack) argument
272 _mesa_map_validate_pbo_dest(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, GLvoid *ptr, const char *where) argument
331 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack, const char *funcName) argument
406 _mesa_unmap_teximage_pbo(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack) argument
[all...]
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dltablib.c115 ** Pack/unpack
136 static int unpack (lua_State *L) { function
144 return luaL_error(L, "too many results to unpack");
267 {"unpack", unpack},
277 /* _G.unpack = table.unpack */
278 lua_getfield(L, -1, "unpack");
279 lua_setglobal(L, "unpack");
/external/mesa3d/src/mesa/main/
H A Dpbo.c141 const struct gl_pixelstore_attrib *unpack,
146 if (_mesa_is_bufferobj(unpack->BufferObj)) {
147 /* unpack from PBO */
149 unpack->BufferObj->Size,
151 unpack->BufferObj);
158 /* unpack from normal memory */
177 const struct gl_pixelstore_attrib *unpack,
185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth,
187 if (_mesa_is_bufferobj(unpack->BufferObj)) {
198 if (!_mesa_is_bufferobj(unpack
140 _mesa_map_pbo_source(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack, const GLvoid *src) argument
175 _mesa_map_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr, const char *where) argument
218 _mesa_unmap_pbo_source(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack) argument
272 _mesa_map_validate_pbo_dest(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, GLvoid *ptr, const char *where) argument
331 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack, const char *funcName) argument
406 _mesa_unmap_teximage_pbo(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack) argument
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DTextureD3D.cpp93 void TextureD3D::setImage(const gl::PixelUnpackState &unpack, GLenum type, const void *pixels, Image *image) argument
105 if (unpack.pixelBuffer.id() != 0)
107 // Do a CPU readback here, if we have an unpack buffer bound and the fast GPU path is not supported
108 gl::Buffer *pixelBuffer = unpack.pixelBuffer.get();
118 image->loadData(0, 0, 0, image->getWidth(), image->getHeight(), image->getDepth(), unpack.alignment, type, pixelData);
124 GLenum format, GLenum type, const gl::PixelUnpackState &unpack, const void *pixels, const gl::ImageIndex &index)
129 if (unpack.pixelBuffer.id() != 0)
131 gl::Buffer *pixelBuffer = unpack.pixelBuffer.get();
144 image->loadData(xoffset, yoffset, zoffset, width, height, depth, unpack.alignment, type, pixelData);
172 bool TextureD3D::isFastUnpackable(const gl::PixelUnpackState &unpack, GLenu argument
123 subImage(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const gl::PixelUnpackState &unpack, const void *pixels, const gl::ImageIndex &index) argument
177 fastUnpackPixels(const gl::PixelUnpackState &unpack, const void *pixels, const gl::Box &destArea, GLenum sizedInternalFormat, GLenum type, RenderTarget *destRenderTarget) argument
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DPixelTransfer11.cpp9 // Used to implement pixel transfers from unpack and to pack buffers.
117 const gl::PixelUnpackState &unpack, unsigned int offset, CopyShaderParams *parametersOut)
125 unsigned int alignmentBytes = static_cast<unsigned int>(unpack.alignment);
138 bool PixelTransfer11::copyBufferToTexture(const gl::PixelUnpackState &unpack, unsigned int offset, RenderTarget *destRenderTarget, argument
150 const gl::Buffer &sourceBuffer = *unpack.pixelBuffer.get();
173 setBufferToTextureCopyParams(destArea, destSize, sourceFormat, unpack, offset, &shaderParams);
116 setBufferToTextureCopyParams(const gl::Box &destArea, const gl::Extents &destSize, GLenum internalFormat, const gl::PixelUnpackState &unpack, unsigned int offset, CopyShaderParams *parametersOut) argument
/external/libvorbis/lib/
H A Dbackends.h32 vorbis_info_floor *(*unpack)(vorbis_info *,oggpack_buffer *); member in struct:__anon24735
90 vorbis_info_residue *(*unpack)(vorbis_info *,oggpack_buffer *); member in struct:__anon24738
125 vorbis_info_mapping *(*unpack)(vorbis_info *,oggpack_buffer *); member in struct:__anon24739

Completed in 1686 milliseconds

123