Home
last modified time | relevance | path

Searched refs:buf_offset (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c61 struct pipe_resource *buf, intptr_t buf_offset, in st_pbo_addresses_setup() argument
68 … unsigned ofs = (buf_offset * addr->bytes_per_pixel) % st->ctx->Const.TextureBufferOffsetAlignment; in st_pbo_addresses_setup()
74 buf_offset -= skip_pixels; in st_pbo_addresses_setup()
80 assert(buf_offset >= 0); in st_pbo_addresses_setup()
83 addr->first_element = buf_offset; in st_pbo_addresses_setup()
84 addr->last_element = buf_offset + skip_pixels + addr->width - 1 in st_pbo_addresses_setup()
116 intptr_t buf_offset = (intptr_t) pixels; in st_pbo_addresses_pixelstore() local
118 if (buf_offset % addr->bytes_per_pixel) in st_pbo_addresses_pixelstore()
122 buf_offset = buf_offset / addr->bytes_per_pixel; in st_pbo_addresses_pixelstore()
151 buf_offset += store->SkipPixels + addr->pixels_per_row * offset_rows; in st_pbo_addresses_pixelstore()
[all …]
Dst_pbo.h63 struct pipe_resource *buf, intptr_t buf_offset,
Dst_cb_texture.c1676 intptr_t buf_offset; in st_CompressedTexSubImage() local
1734 buf_offset = (intptr_t)data + store.SkipBytes; in st_CompressedTexSubImage()
1736 if (buf_offset % addr.bytes_per_pixel) { in st_CompressedTexSubImage()
1740 buf_offset = buf_offset / addr.bytes_per_pixel; in st_CompressedTexSubImage()
1751 buf_offset, &addr)) in st_CompressedTexSubImage()
/external/u-boot/drivers/mtd/nand/
Dvf610_nfc.c150 uint buf_offset; member
353 nfc->buf_offset = max(column, 0); in vf610_nfc_command()
360 nfc->buf_offset = 0; in vf610_nfc_command()
419 nfc->buf_offset = 0; in vf610_nfc_command()
444 uint c = nfc->buf_offset; in vf610_nfc_read_buf()
452 nfc->buf_offset += len; in vf610_nfc_read_buf()
460 uint c = nfc->buf_offset; in vf610_nfc_write_buf()
467 nfc->buf_offset += l; in vf610_nfc_write_buf()
475 uint c = nfc->buf_offset; in vf610_nfc_read_byte()
487 c = nfc->buf_offset ^ 0x3; in vf610_nfc_read_byte()
[all …]
Dmxs_nand.c378 uint32_t buf_offset = geo->block_mark_byte_offset; in mxs_nand_swap_block_mark() local
389 src = data_buf[buf_offset] >> bit_offset; in mxs_nand_swap_block_mark()
390 src |= data_buf[buf_offset + 1] << (8 - bit_offset); in mxs_nand_swap_block_mark()
396 data_buf[buf_offset] &= ~(0xff << bit_offset); in mxs_nand_swap_block_mark()
397 data_buf[buf_offset + 1] &= 0xff << bit_offset; in mxs_nand_swap_block_mark()
399 data_buf[buf_offset] |= dst << bit_offset; in mxs_nand_swap_block_mark()
400 data_buf[buf_offset + 1] |= dst >> (8 - bit_offset); in mxs_nand_swap_block_mark()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
D4-1.c89 size_t buf_offset = 0; in main() local
97 aiocbs[i].aio_offset = buf_offset; in main()
115 buf_offset += buf_size; in main()
/external/freetype/src/lzw/
Dftzopen.c44 state->buf_offset = 0; in ft_lzwstate_refill()
63 FT_UInt offset = state->buf_offset; in ft_lzwstate_get_code()
96 state->buf_offset = offset + num_bits; in ft_lzwstate_get_code()
197 state->buf_offset = 0; in ft_lzwstate_reset()
Dftzopen.h119 FT_UInt buf_offset; member
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_winsys.h54 uint32_t buf_offset, uint32_t level);
60 uint32_t buf_offset, uint32_t level);
/external/cn-cbor/src/
Dcn-encoder.c295 size_t buf_offset, in cn_cbor_encoder_write() argument
299 cn_write_state ws = { buf, buf_offset, buf_size }; in cn_cbor_encoder_write()
302 return ws.offset - buf_offset; in cn_cbor_encoder_write()
/external/strace/
Dbtrfs.c1097 uint64_t buf_offset; in MPERS_PRINTER_DECL() local
1109 buf_offset = offsetof(struct btrfs_ioctl_search_args, buf); in MPERS_PRINTER_DECL()
1110 btrfs_print_tree_search(tcp, &args.key, arg + buf_offset, in MPERS_PRINTER_DECL()
1119 uint64_t buf_offset; in MPERS_PRINTER_DECL() local
1139 buf_offset = offsetof(struct btrfs_ioctl_search_args_v2, buf); in MPERS_PRINTER_DECL()
1140 btrfs_print_tree_search(tcp, &args.key, arg + buf_offset, in MPERS_PRINTER_DECL()
/external/virglrenderer/src/
Dvrend_decode.c43 uint32_t buf_offset; member
55 return ctx->ds->buf[ctx->ds->buf_offset + offset]; in get_buf_entry()
61 return &ctx->ds->buf[ctx->ds->buf_offset + offset]; in get_buf_ptr()
350 if (length + ctx->ds->buf_offset > ctx->ds->buf_total) in vrend_decode_resource_inline_write()
1320 gdctx->ds->buf_offset = 0; in vrend_decode_block()
1322 while (gdctx->ds->buf_offset < gdctx->ds->buf_total) { in vrend_decode_block()
1323 uint32_t header = gdctx->ds->buf[gdctx->ds->buf_offset]; in vrend_decode_block()
1328 if (gdctx->ds->buf_offset + len + 1 > gdctx->ds->buf_total) { in vrend_decode_block()
1462 gdctx->ds->buf_offset += (len) + 1; in vrend_decode_block()
Dvrend_renderer.c315 uint32_t buf_offset; member
994 int buf_offset = 0; in set_stream_out_varyings() local
1005 skip = so->stride[last_buffer] - buf_offset; in set_stream_out_varyings()
1014 buf_offset = 0; in set_stream_out_varyings()
1017 skip = so->output[i].dst_offset - buf_offset; in set_stream_out_varyings()
1023 buf_offset = so->output[i].dst_offset; in set_stream_out_varyings()
1025 buf_offset += so->output[i].num_components; in set_stream_out_varyings()
1030 skip = so->stride[last_buffer] - buf_offset; in set_stream_out_varyings()
2975 sel->buf_offset = pkt_length * 4; in vrend_create_shader()
2988 if (offlen != sel->buf_offset) { in vrend_create_shader()
[all …]
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c72 uint32_t buf_offset, uint32_t level) in virgl_vtest_transfer_put() argument
86 virgl_vtest_send_transfer_put_data(vtws, ptr + buf_offset, size); in virgl_vtest_transfer_put()
96 uint32_t buf_offset, uint32_t level) in virgl_vtest_transfer_get() argument
112 virgl_vtest_recv_transfer_get_data(vtws, ptr + buf_offset, size, in virgl_vtest_transfer_get()
/external/mesa3d/include/GL/
Dmesa_glinterop.h226 ptrdiff_t buf_offset; member
/external/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c531 uint32_t buf_offset; in radv_CmdUpdateBuffer() local
532 radv_cmd_buffer_upload_data(cmd_buffer, dataSize, 32, pData, &buf_offset); in radv_CmdUpdateBuffer()
534 buf_offset, dstOffset + dst_buffer->offset, dataSize); in radv_CmdUpdateBuffer()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c254 uint32_t buf_offset, uint32_t level) in virgl_bo_transfer_put() argument
267 tohostcmd.offset = buf_offset; in virgl_bo_transfer_put()
279 uint32_t buf_offset, uint32_t level) in virgl_bo_transfer_get() argument
287 fromhostcmd.offset = buf_offset; in virgl_bo_transfer_get()
/external/cn-cbor/include/cn-cbor/
Dcn-cbor.h271 size_t buf_offset,
/external/libaom/libaom/av1/common/
Dav1_inv_txfm2d.c283 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in inv_txfm2d_add_c() local
285 int32_t *temp_out = temp_in + buf_offset; in inv_txfm2d_add_c()
286 int32_t *buf = temp_out + buf_offset; in inv_txfm2d_add_c()
/external/libaom/libaom/av1/common/arm/
Dav1_inv_txfm_neon.c3921 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in lowbd_inv_txfm2d_add_4x4_neon() local
3922 int32_t *temp_out = temp_in + buf_offset; in lowbd_inv_txfm2d_add_4x4_neon()
3923 int32_t *buf = temp_out + buf_offset; in lowbd_inv_txfm2d_add_4x4_neon()
3983 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in lowbd_inv_txfm2d_add_4x8_neon() local
3984 int32_t *temp_out = temp_in + buf_offset; in lowbd_inv_txfm2d_add_4x8_neon()
3985 int32_t *buf = temp_out + buf_offset; in lowbd_inv_txfm2d_add_4x8_neon()
4047 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in lowbd_inv_txfm2d_add_8x4_neon() local
4048 int32_t *temp_out = temp_in + buf_offset; in lowbd_inv_txfm2d_add_8x4_neon()
4049 int32_t *buf = temp_out + buf_offset; in lowbd_inv_txfm2d_add_8x4_neon()
4111 const int buf_offset = AOMMAX(txfm_size_row, txfm_size_col); in lowbd_inv_txfm2d_add_4x16_neon() local
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1692 LLVMValueRef vb_info, vbuffer_ptr, buf_offset, ofbit; in draw_llvm_generate() local
1721 buf_offset = lp_build_add(&bld, vb_buffer_offset, src_offset); in draw_llvm_generate()
1726 buf_offset, &ofbit); in draw_llvm_generate()
1765 map_ptr[j] = LLVMBuildGEP(builder, map_ptr[j], &buf_offset, 1, ""); in draw_llvm_generate()
1777 vb_buffer_offset, src_offset, buf_offset); in draw_llvm_generate()
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri2.c1775 out->buf_offset = 0; in dri2_interop_export_object()
1857 out->buf_offset = obj->BufferOffset; in dri2_interop_export_object()
1925 out->buf_offset += whandle.offset; in dri2_interop_export_object()
/external/mesa3d/src/intel/vulkan/
DgenX_cmd_buffer.c2005 uint32_t buf_offset = in cmd_buffer_flush_push_constants() local
2008 MIN2(desc->range, desc->buffer->size - buf_offset); in cmd_buffer_flush_push_constants()
2014 .offset = desc->buffer->offset + buf_offset + in cmd_buffer_flush_push_constants()
/external/freetype/
DChangeLog.235920 Add `buf_tab', `buf_offset', `buf_size', `buf_clear', and