/third_party/ffmpeg/libavcodec/ |
H A D | ffv1enc_template.c | 129 const int ring_size = s->context_model ? 3 : 2; in encode_rgb_frame() local 140 memset(RENAME(s->sample_buffer), 0, ring_size * MAX_PLANES * in encode_rgb_frame() 144 for (i = 0; i < ring_size; i++) in encode_rgb_frame() 146 sample[p][i]= RENAME(s->sample_buffer) + p*ring_size*(w+6) + ((h+i-y)%ring_size)*(w+6) + 3; in encode_rgb_frame()
|
H A D | ffv1enc.c | 277 const int ring_size = s->context_model ? 3 : 2; in encode_plane() local 281 memset(s->sample_buffer, 0, ring_size * (w + 6) * sizeof(*s->sample_buffer)); in encode_plane() 284 for (i = 0; i < ring_size; i++) in encode_plane() 285 sample[i] = s->sample_buffer + (w + 6) * ((h + i - y) % ring_size) + 3; in encode_plane()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv98_video_bsp.c | 45 uint32_t slice_size, bucket_size, ring_size, bsp_size; in nv98_decoder_bsp() local 136 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nv98_decoder_bsp() 141 PUSH_DATA (push, ring_size << 8); // 40c interdata_size in nv98_decoder_bsp() 148 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nv98_decoder_bsp() 154 PUSH_DATA (push, ring_size << 8); // 410 interdata size in nv98_decoder_bsp()
|
H A D | nv98_video_vp.c | 75 uint32_t slice_size, bucket_size, ring_size, i; in nv98_decoder_vp() local 92 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nv98_decoder_vp() 95 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nv98_decoder_vp()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | gfx10_context.h | 40 0x203C /* RING_BUFFER_CONTROL */, (params->ring_size - 4096) | 1 /* Buffer Length | Ring Buffer Enable */, in gfx10_render_context_init() 91 0x2203C /* RING_BUFFER_CONTROL */, (params->ring_size - 4096) | 1 /* Buffer Length | Ring Buffer Enable */, in gfx10_blitter_context_init() 141 0x1C03C /* RING_BUFFER_CONTROL */, (params->ring_size - 4096) | 1 /* Buffer Length | Ring Buffer Enable */, in gfx10_video_context_init()
|
H A D | gfx8_context.h | 89 0x2203C /* RING_BUFFER_CONTROL */, (params->ring_size - 4096) | 1 /* Buffer Length | Ring Buffer Enable */, in gfx8_blitter_context_init() 131 0x1C03C /* RING_BUFFER_CONTROL */, (params->ring_size - 4096) | 1 /* Buffer Length | Ring Buffer Enable */, in gfx8_video_context_init()
|
H A D | intel_context.h | 96 uint32_t ring_size; member
|
H A D | aub_write.c | 558 .ring_size = RING_SIZE, in write_engine_execlist_setup()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_video_bsp.c | 142 uint32_t slice_size, bucket_size, ring_size; in nvc0_decoder_bsp_end() local 188 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_bsp_end() 193 PUSH_DATA (push, ring_size << 8); // 40c interdata_size in nvc0_decoder_bsp_end() 197 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_bsp_end() 203 PUSH_DATA (push, ring_size << 8); // 410 interdata size in nvc0_decoder_bsp_end()
|
H A D | nvc0_video_vp.c | 75 uint32_t slice_size, bucket_size, ring_size, i; in nvc0_decoder_vp() local 92 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_vp() 95 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_vp()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_spm.c | 108 uint64_t ring_size = spm_trace->buffer_size; in radv_emit_spm_setup() local 112 assert(!(ring_size & (SPM_RING_BASE_ALIGN - 1))); in radv_emit_spm_setup() 122 radeon_set_uconfig_reg(cs, R_03720C_RLC_SPM_PERFMON_RING_SIZE, ring_size); in radv_emit_spm_setup()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_helpers.c | 401 unsigned ring_size = ARRAY_SIZE(t->ring); in util_throttle_memory_usage() local 417 t->wait_index = (t->wait_index + 1) % ring_size; in util_throttle_memory_usage() 433 t->max_mem_usage / (ring_size / 2)) { in util_throttle_memory_usage() 441 t->flush_index = (t->flush_index + 1) % ring_size; in util_throttle_memory_usage() 449 t->wait_index = (t->wait_index + 1) % ring_size; in util_throttle_memory_usage()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_vp3_video.h | 193 uint32_t *ring_size) in nouveau_vp3_inter_sizes() 200 *ring_size = (dec->inter_bo[0]->size >> 8) - *bucket_size - *slice_size; in nouveau_vp3_inter_sizes() 191 nouveau_vp3_inter_sizes(struct nouveau_vp3_decoder *dec, uint32_t slice_count, uint32_t *slice_size, uint32_t *bucket_size, uint32_t *ring_size) nouveau_vp3_inter_sizes() argument
|
/third_party/ffmpeg/libavformat/ |
H A D | async.c | 105 static int ring_size(RingBuffer *ring) in ring_size() function 119 av_assert2(buf_size <= ring_size(ring)); in ring_read() 165 av_assert2(offset <= ring_size(ring)); in ring_drain() 354 fifo_size = ring_size(ring); in async_read_internal() 414 fifo_size = ring_size(ring); in async_seek()
|
/third_party/libdrm/include/drm/ |
H A D | r128_drm.h | 235 int ring_size; member
|
H A D | radeon_drm.h | 576 int ring_size; member
|
H A D | i915_drm.h | 185 unsigned int ring_size; member
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_perfcounter.c | 798 uint64_t ring_size = spm_trace->buffer_size; in si_emit_spm_setup() local 802 assert(!(ring_size & (SPM_RING_BASE_ALIGN - 1))); in si_emit_spm_setup() 814 radeon_set_uconfig_reg(R_03720C_RLC_SPM_PERFMON_RING_SIZE, ring_size); in si_emit_spm_setup()
|
/third_party/mesa3d/include/drm-uapi/ |
H A D | i915_drm.h | 309 unsigned int ring_size; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_state_common.c | 1828 unsigned ring_size; in r600_setup_scratch_buffers() member 1841 &rctx->scratch_buffers[i], regs[i].ring_base, regs[i].item_size, regs[i].ring_size); in r600_setup_scratch_buffers()
|
H A D | evergreen_state.c | 2312 unsigned ring_size; in evergreen_setup_scratch_buffers() member 2327 &rctx->scratch_buffers[i], regs[i].ring_base, regs[i].item_size, regs[i].ring_size); in evergreen_setup_scratch_buffers()
|