Home
last modified time | relevance | path

Searched refs:buf_index (Results 1 - 25 of 30) sorted by relevance

12

/third_party/backends/backend/
H A Dgt68xx_shm_channel.c363 SANE_Byte buf_index; in shm_channel_writer_get_buffer() local
369 bytes_read = read (shm_channel->reader_put_pipe[0], &buf_index, 1); in shm_channel_writer_get_buffer()
374 SANE_Int index = buf_index; in shm_channel_writer_get_buffer()
406 SANE_Byte buf_index; in shm_channel_writer_put_buffer() local
420 buf_index = (SANE_Byte) buffer_id; in shm_channel_writer_put_buffer()
422 bytes_written = write (shm_channel->writer_put_pipe[1], &buf_index, 1); in shm_channel_writer_put_buffer()
582 SANE_Byte buf_index; in shm_channel_reader_get_buffer() local
588 bytes_read = read (shm_channel->writer_put_pipe[0], &buf_index, 1); in shm_channel_reader_get_buffer()
593 SANE_Int index = buf_index; in shm_channel_reader_get_buffer()
633 SANE_Byte buf_index; in shm_channel_reader_put_buffer() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dh2645_parse.h120 int buf_size, int *buf_index, void *logctx) in get_nalsize()
124 if (*buf_index >= buf_size - nal_length_size) { in get_nalsize()
130 nalsize = ((unsigned)nalsize << 8) | buf[(*buf_index)++]; in get_nalsize()
131 if (nalsize <= 0 || nalsize > buf_size - *buf_index) { in get_nalsize()
133 "Invalid NAL unit size (%d > %d).\n", nalsize, buf_size - *buf_index); in get_nalsize()
119 get_nalsize(int nal_length_size, const uint8_t *buf, int buf_size, int *buf_index, void *logctx) get_nalsize() argument
H A Dh264_parser.c70 int buf_index, int next_avc) in find_start_code()
74 buf_index = avpriv_find_start_code(buf + buf_index, buf + next_avc + 1, &state) - buf - 1; in find_start_code()
76 return FFMIN(buf_index, buf_size); in find_start_code()
263 int buf_index, next_avc; in parse_nal_units() local
287 buf_index = 0; in parse_nal_units()
293 if (buf_index >= next_avc) { in parse_nal_units()
294 nalsize = get_nalsize(p->nal_length_size, buf, buf_size, &buf_index, avctx); in parse_nal_units()
297 next_avc = buf_index + nalsize; in parse_nal_units()
299 buf_index in parse_nal_units()
69 find_start_code(const uint8_t *buf, int buf_size, int buf_index, int next_avc) find_start_code() argument
[all...]
H A Dh264dec.c949 int *got_frame, int buf_index) in send_next_delayed_frame()
978 return buf_index; in send_next_delayed_frame()
987 int buf_index; in h264_decode_frame() local
1014 buf_index = decode_nal_units(h, buf, buf_size); in h264_decode_frame()
1015 if (buf_index < 0) in h264_decode_frame()
1019 av_assert0(buf_index <= buf_size); in h264_decode_frame()
1020 return send_next_delayed_frame(h, pict, got_frame, buf_index); in h264_decode_frame()
1048 return get_consumed_bytes(buf_index, buf_size); in h264_decode_frame()
948 send_next_delayed_frame(H264Context *h, AVFrame *dst_frame, int *got_frame, int buf_index) send_next_delayed_frame() argument
H A Dh2645_parse.c429 int buf_index; in ff_h2645_packet_split() local
435 buf_index = find_next_start_code(bc.buffer, buf + next_avc); in ff_h2645_packet_split()
437 bytestream2_skip(&bc, buf_index); in ff_h2645_packet_split()
/third_party/ffmpeg/libavfilter/
H A Daf_vibrato.c34 int buf_index; member
91 samp1_index = s->buf_index + integer; in filter_frame()
100 buf[s->buf_index] = this_samp; in filter_frame()
102 s->buf_index++; in filter_frame()
103 if (s->buf_index >= s->buf_size) in filter_frame()
104 s->buf_index -= s->buf_size; in filter_frame()
140 s->buf_index = 0; in config_input()
H A Daf_loudnorm.c68 int buf_index; member
466 buf[s->buf_index + c] = src[c]; in filter_frame()
469 s->buf_index += inlink->ch_layout.nb_channels; in filter_frame()
486 s->buf_index = in filter_frame()
491 limiter_buf[s->limiter_buf_index + c] = buf[s->buf_index + c] * s->delta[s->index] * s->offset; in filter_frame()
497 s->buf_index += inlink->ch_layout.nb_channels; in filter_frame()
519 limiter_buf[s->limiter_buf_index + c] = buf[s->buf_index + c] * (gain + (((double) n / in->nb_samples) * (gain_next - gain))) * s->offset; in filter_frame()
531 s->buf_index += inlink->ch_layout.nb_channels; in filter_frame()
532 if (s->buf_index >= s->buf_size) in filter_frame()
533 s->buf_index in filter_frame()
[all...]
/third_party/ltp/include/lapi/
H A Dio_uring.h62 uint16_t buf_index; member
/third_party/ffmpeg/libavformat/
H A Dmpegenc.c279 int buf_index, i, private_stream_coded; in get_system_header_size() local
286 buf_index = 12; in get_system_header_size()
295 buf_index += 3; in get_system_header_size()
297 return buf_index; in get_system_header_size()
/third_party/node/deps/uv/src/win/
H A Dpipe.c1657 size_t buf_count, buf_index; in uv__pipe_write_ipc() local
1705 buf_index = 0; in uv__pipe_write_ipc()
1709 bufs[buf_index++] = uv_buf_init((char*) &frame_header, sizeof frame_header); in uv__pipe_write_ipc()
1725 bufs[buf_index++] = uv_buf_init((char*) &xfer_info, sizeof xfer_info); in uv__pipe_write_ipc()
1734 bufs[buf_index++] = data_bufs[i]; in uv__pipe_write_ipc()
/third_party/libuv/src/win/
H A Dpipe.c1756 size_t buf_count, buf_index; in uv__pipe_write_ipc() local
1804 buf_index = 0; in uv__pipe_write_ipc()
1808 bufs[buf_index++] = uv_buf_init((char*) &frame_header, sizeof frame_header); in uv__pipe_write_ipc()
1824 bufs[buf_index++] = uv_buf_init((char*) &xfer_info, sizeof xfer_info); in uv__pipe_write_ipc()
1833 bufs[buf_index++] = data_bufs[i]; in uv__pipe_write_ipc()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_vs.c976 LLVMValueRef buf_index = LLVMConstInt(ctx->ac.i32, SI_VS_CONST_INSTANCE_DIVISORS, 0); in si_llvm_build_vs_prolog() local
977 instance_divisor_constbuf = ac_build_load_to_sgpr(&ctx->ac, list, buf_index); in si_llvm_build_vs_prolog()
H A Dsi_shader_llvm_ps.c38 LLVMValueRef buf_index = LLVMConstInt(ctx->ac.i32, SI_PS_CONST_SAMPLE_POSITIONS, 0); in load_sample_position() local
39 LLVMValueRef resource = ac_build_load_to_sgpr(&ctx->ac, desc, buf_index); in load_sample_position()
/third_party/rust/crates/rustix/src/
H A Dio_uring.rs742 pub buf_index: u16,
/third_party/libuv/src/unix/
H A Dlinux.c245 uint16_t buf_index; member
260 STATIC_ASSERT(40 == offsetof(struct uv__io_uring_sqe, buf_index));
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs4399 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs4397 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs4377 pub buf_index: __u16,
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_vgpu10.c6427 unsigned buf_index = u_bit_scan(&atomic_bufs_mask); in emit_atomic_buf_declarations() local
6428 unsigned uav_index = emit->key.atomic_buf_uav_index[buf_index]; in emit_atomic_buf_declarations()
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs4541 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs4611 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs4569 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs4675 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs4483 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/sparc/
H A Dgeneral.rs4761 pub buf_index: __u16,

Completed in 159 milliseconds

12