Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavformat/
Dformat.c228 int ret = 0, probe_size, buf_offset = 0; in av_probe_input_buffer2() local
262 if ((ret = avio_read(pb, buf + buf_offset, in av_probe_input_buffer2()
263 probe_size - buf_offset)) < 0) { in av_probe_input_buffer2()
271 buf_offset += ret; in av_probe_input_buffer2()
272 if (buf_offset < offset) in av_probe_input_buffer2()
274 pd.buf_size = buf_offset - offset; in av_probe_input_buffer2()
304 ret2 = ffio_rewind_with_probe_data(pb, &buf, buf_offset); in av_probe_input_buffer2()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgsttypefindhelper.c89 guint64 buf_offset; in helper_find_peek() local
118 buf_offset = GST_BUFFER_OFFSET (buf); in helper_find_peek()
124 if (buf_offset <= offset) { in helper_find_peek()
125 if ((offset + size) < (buf_offset + buf_size)) { in helper_find_peek()
127 return (guint8 *) bmp->map.data + (offset - buf_offset); in helper_find_peek()
129 } else if (offset + size >= buf_offset + buf_size) { in helper_find_peek()
167 buf_offset = GST_BUFFER_OFFSET (buffer); in helper_find_peek()
177 if (buf_offset != -1 && buf_offset != offset) { in helper_find_peek()
179 "expected offset was %" G_GUINT64_FORMAT, buf_offset, offset); in helper_find_peek()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo.c66 struct pipe_resource *buf, intptr_t buf_offset, in st_pbo_addresses_setup() argument
73 … unsigned ofs = (buf_offset * addr->bytes_per_pixel) % st->ctx->Const.TextureBufferOffsetAlignment; in st_pbo_addresses_setup()
79 buf_offset -= skip_pixels; in st_pbo_addresses_setup()
85 assert(buf_offset >= 0); in st_pbo_addresses_setup()
88 addr->first_element = buf_offset; in st_pbo_addresses_setup()
89 addr->last_element = buf_offset + skip_pixels + addr->width - 1 in st_pbo_addresses_setup()
121 intptr_t buf_offset = (intptr_t) pixels; in st_pbo_addresses_pixelstore() local
123 if (buf_offset % addr->bytes_per_pixel) in st_pbo_addresses_pixelstore()
127 buf_offset = buf_offset / addr->bytes_per_pixel; in st_pbo_addresses_pixelstore()
156 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.c2270 intptr_t buf_offset, in st_try_pbo_compressed_texsubimage() argument
2282 if (!st_pbo_addresses_setup(st, buf, buf_offset, &addr)) in st_try_pbo_compressed_texsubimage()
2316 intptr_t buf_offset; in st_CompressedTexSubImage() local
2373 buf_offset = (intptr_t)data + store.SkipBytes; in st_CompressedTexSubImage()
2375 if (buf_offset % addr.bytes_per_pixel) { in st_CompressedTexSubImage()
2379 buf_offset = buf_offset / addr.bytes_per_pixel; in st_CompressedTexSubImage()
2403 if (st_try_pbo_compressed_texsubimage(ctx, buf, buf_offset, &addr, in st_CompressedTexSubImage()
2413 if (!st_try_pbo_compressed_texsubimage(ctx, buf, buf_offset, &addr, in st_CompressedTexSubImage()
2420 buf_offset += addr.pixels_per_row * addr.image_height; in st_CompressedTexSubImage()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
Djidctint-neon.c130 unsigned buf_offset);
135 unsigned buf_offset);
566 unsigned buf_offset) in jsimd_idct_islow_pass2_regular() argument
690 JSAMPROW outptr0 = output_buf[buf_offset + 0] + output_col; in jsimd_idct_islow_pass2_regular()
691 JSAMPROW outptr1 = output_buf[buf_offset + 1] + output_col; in jsimd_idct_islow_pass2_regular()
692 JSAMPROW outptr2 = output_buf[buf_offset + 2] + output_col; in jsimd_idct_islow_pass2_regular()
693 JSAMPROW outptr3 = output_buf[buf_offset + 3] + output_col; in jsimd_idct_islow_pass2_regular()
713 unsigned buf_offset) in jsimd_idct_islow_pass2_sparse() argument
793 JSAMPROW outptr0 = output_buf[buf_offset + 0] + output_col; in jsimd_idct_islow_pass2_sparse()
794 JSAMPROW outptr1 = output_buf[buf_offset + 1] + output_col; in jsimd_idct_islow_pass2_sparse()
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
D4-1.c91 size_t buf_offset = 0; in main() local
99 aiocbs[i].aio_offset = buf_offset; in main()
117 buf_offset += buf_size; in main()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_container.c92 struct _mesa_string_buffer *buf, uint32_t buf_offset) in get_semantic_name_offset() argument
94 uint32_t offset = buf->length + buf_offset; in get_semantic_name_offset()
117 uint32_t buf_offset) in collect_semantic_names() argument
124 uint32_t offset = get_semantic_name_offset(&cache, io->name, buf, buf_offset); in collect_semantic_names()
128 return buf_offset + buf->length; in collect_semantic_names()
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c82 uint32_t buf_offset, uint32_t level) in virgl_vtest_transfer_put() argument
94 box, size, buf_offset); in virgl_vtest_transfer_put()
100 virgl_vtest_send_transfer_put_data(vtws, ptr + buf_offset, size); in virgl_vtest_transfer_put()
110 uint32_t buf_offset, uint32_t level, in virgl_vtest_transfer_get_internal() argument
122 box, size, buf_offset); in virgl_vtest_transfer_get_internal()
154 virgl_vtest_recv_transfer_get_data(vtws, ptr + buf_offset, size, in virgl_vtest_transfer_get_internal()
167 uint32_t buf_offset, uint32_t level) in virgl_vtest_transfer_get() argument
170 layer_stride, buf_offset, in virgl_vtest_transfer_get()
/third_party/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
/third_party/flutter/skia/third_party/externals/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
/third_party/skia/third_party/externals/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()
202 state->buf_offset = 0; in ft_lzwstate_reset()
Dftzopen.h119 FT_UInt buf_offset; member
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci.c1495 uint32_t buf_offset; in ehci_setup_standard_chain_sub() local
1506 buf_offset = 0; in ehci_setup_standard_chain_sub()
1609 usbd_get_page(temp->pc, buf_offset, &buf_res); in ehci_setup_standard_chain_sub()
1622 buf_offset += EHCI_PAGE_SIZE; in ehci_setup_standard_chain_sub()
1623 usbd_get_page(temp->pc, buf_offset, &buf_res); in ehci_setup_standard_chain_sub()
1643 buf_offset += average; in ehci_setup_standard_chain_sub()
1644 usbd_get_page(temp->pc, buf_offset - 1, &buf_res); in ehci_setup_standard_chain_sub()
2425 uint32_t buf_offset; in ehci_device_isoc_fs_enter() local
2448 buf_offset = (nframes - xfer->endpoint->isoc_next) & in ehci_device_isoc_fs_enter()
2452 (buf_offset < xfer->nframes)) { in ehci_device_isoc_fs_enter()
[all …]
/third_party/ffmpeg/libavcodec/
Dmpc8.c90 static av_cold void build_vlc(VLC *vlc, unsigned *buf_offset, in build_vlc() argument
98 vlc->table = &vlc_buf[*buf_offset]; in build_vlc()
99 vlc->table_allocated = FF_ARRAY_ELEMS(vlc_buf) - *buf_offset; in build_vlc()
107 *buf_offset += vlc->table_size; in build_vlc()
Ddv.h37 uint16_t buf_offset; member
Datrac9dec.c844 unsigned *buf_offset, int offset) in atrac9_init_vlc() argument
848 vlc->table = &vlc_buf[*buf_offset]; in atrac9_init_vlc()
849 vlc->table_allocated = FF_ARRAY_ELEMS(vlc_buf) - *buf_offset; in atrac9_init_vlc()
853 *buf_offset += vlc->table_size; in atrac9_init_vlc()
Ddv.c188 ctx->work_chunks[i++].buf_offset = p; in ff_dv_init_dynamic_tables()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_winsys.h59 uint32_t buf_offset, uint32_t level);
65 uint32_t buf_offset, uint32_t level);
/third_party/mesa3d/include/GL/
Dmesa_glinterop.h226 ptrdiff_t buf_offset; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c447 uint32_t buf_offset; in radv_CmdUpdateBuffer() local
448 radv_cmd_buffer_upload_data(cmd_buffer, dataSize, pData, &buf_offset); in radv_CmdUpdateBuffer()
449 radv_copy_buffer(cmd_buffer, cmd_buffer->upload.upload_bo, dst_buffer->bo, buf_offset, in radv_CmdUpdateBuffer()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_base.cpp874 auto buf_offset = nir_src_as_const_value(instr->src[1]); in emit_load_ubo_vec4() local
876 if (!buf_offset) { in emit_load_ubo_vec4()
915 auto u = PValue(new UniformValue(512 + buf_offset->u32, cmp, bufid->u32 + 1)); in emit_load_ubo_vec4()
933 auto u = PValue(new UniformValue(512 + buf_offset->u32, cmp, kc_id)); in emit_load_ubo_vec4()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c350 uint32_t buf_offset, uint32_t level) in virgl_bo_transfer_put() argument
365 tohostcmd.offset = buf_offset; in virgl_bo_transfer_put()
379 uint32_t buf_offset, uint32_t level) in virgl_bo_transfer_get() argument
389 fromhostcmd.offset = buf_offset; in virgl_bo_transfer_get()

12