Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/android-emu/aemu/base/
Dring_buffer.c82 struct ring_buffer* r, const void* data, uint32_t step_size, uint32_t steps) { in ring_buffer_write() argument
87 if (!ring_buffer_can_write(r, step_size)) { in ring_buffer_write()
96 if (step_size > available_at_end) { in ring_buffer_write()
97 uint32_t remaining = step_size - available_at_end; in ring_buffer_write()
100 data_bytes + i * step_size, in ring_buffer_write()
104 data_bytes + i * step_size + available_at_end, in ring_buffer_write()
109 data_bytes + i * step_size, in ring_buffer_write()
110 step_size); in ring_buffer_write()
113 __atomic_add_fetch(&r->write_pos, step_size, __ATOMIC_SEQ_CST); in ring_buffer_write()
121 struct ring_buffer* r, void* data, uint32_t step_size, uint32_t steps) { in ring_buffer_read() argument
[all …]
Dring_buffer.h52 struct ring_buffer* r, const void* data, uint32_t step_size, uint32_t steps);
54 struct ring_buffer* r, void* data, uint32_t step_size, uint32_t steps);
59 struct ring_buffer* r, uint32_t step_size, uint32_t steps);
61 struct ring_buffer* r, uint32_t step_size, uint32_t steps);
103 const void* data, uint32_t step_size, uint32_t steps);
107 void* data, uint32_t step_size, uint32_t steps);
/hardware/google/aemu/base/
Dring_buffer.cpp68 struct ring_buffer* r, const void* data, uint32_t step_size, uint32_t steps) { in ring_buffer_write() argument
73 if (!ring_buffer_can_write(r, step_size)) { in ring_buffer_write()
82 if (step_size > available_at_end) { in ring_buffer_write()
83 uint32_t remaining = step_size - available_at_end; in ring_buffer_write()
86 data_bytes + i * step_size, in ring_buffer_write()
90 data_bytes + i * step_size + available_at_end, in ring_buffer_write()
95 data_bytes + i * step_size, in ring_buffer_write()
96 step_size); in ring_buffer_write()
99 __atomic_add_fetch(&r->write_pos, step_size, __ATOMIC_SEQ_CST); in ring_buffer_write()
107 struct ring_buffer* r, void* data, uint32_t step_size, uint32_t steps) { in ring_buffer_read() argument
[all …]
/hardware/google/aemu/base/include/aemu/base/
Dring_buffer.h52 struct ring_buffer* r, const void* data, uint32_t step_size, uint32_t steps);
54 struct ring_buffer* r, void* data, uint32_t step_size, uint32_t steps);
59 struct ring_buffer* r, uint32_t step_size, uint32_t steps);
61 struct ring_buffer* r, uint32_t step_size, uint32_t steps);
103 const void* data, uint32_t step_size, uint32_t steps);
107 void* data, uint32_t step_size, uint32_t steps);
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_external_test.cpp427 uint32_t step_size = 1; in GenerateColorRamp() local
487 color_value = (start_color_val + (((loop_width + 1) % ramp_width) * step_size)) << shift_by; in GenerateColorRamp()
493 step_size = 4; in GenerateColorRamp()
496 step_size = 1; in GenerateColorRamp()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display_external_test.cpp420 uint32_t step_size = 1; in GenerateColorRamp() local
480 color_value = (start_color_val + (((loop_width + 1) % ramp_width) * step_size)) << shift_by; in GenerateColorRamp()
486 step_size = 4; in GenerateColorRamp()
489 step_size = 1; in GenerateColorRamp()
/hardware/qcom/sm7250/display/composer/
Dhwc_display_pluggable_test.cpp418 uint32_t step_size = 1; in GenerateColorRamp() local
478 color_value = (start_color_val + (((loop_width + 1) % ramp_width) * step_size)) << shift_by; in GenerateColorRamp()
484 step_size = 4; in GenerateColorRamp()
487 step_size = 1; in GenerateColorRamp()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external_test.cpp427 uint32_t step_size = 1; in GenerateColorRamp() local
487 color_value = (start_color_val + (((loop_width + 1) % ramp_width) * step_size)) << shift_by; in GenerateColorRamp()
493 step_size = 4; in GenerateColorRamp()
496 step_size = 1; in GenerateColorRamp()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable_test.cpp418 uint32_t step_size = 1; in GenerateColorRamp() local
478 color_value = (start_color_val + (((loop_width + 1) % ramp_width) * step_size)) << shift_by; in GenerateColorRamp()
484 step_size = 4; in GenerateColorRamp()
487 step_size = 1; in GenerateColorRamp()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp616 unsigned long *max, unsigned long *step_size) in venc_get_capability_ltrcount() argument
630 *step_size = cap_ltr_count.step_size; in venc_get_capability_ltrcount()
632 *min, *max, *step_size); in venc_get_capability_ltrcount()
Domx_video_encoder.cpp2337 bool omx_venc::dev_get_capability_ltrcount(OMX_U32 *min, OMX_U32 *max, OMX_U32 *step_size) in dev_get_capability_ltrcount() argument
2342 (void) step_size; in dev_get_capability_ltrcount()
2346 return handle->venc_get_capability_ltrcount(min, max, step_size); in dev_get_capability_ltrcount()
Domx_swvenc_mpeg4.cpp1978 OMX_U32 *step_size in dev_get_capability_ltrcount() argument
1985 (void)step_size; in dev_get_capability_ltrcount()
Domx_swvenc_hevc.cpp1269 bool omx_swvenc::dev_get_capability_ltrcount(OMX_U32 *min, OMX_U32 *max, OMX_U32 *step_size) in dev_get_capability_ltrcount() argument
Domx_video_base.cpp1887 OMX_U32 min = 0, max = 0, step_size = 0; in get_parameter() local
1888 if (dev_get_capability_ltrcount(&min, &max, &step_size)) { in get_parameter()
1891 pParam->nStepSize = step_size; in get_parameter()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp615 unsigned long *max, unsigned long *step_size) in venc_get_capability_ltrcount() argument
629 *step_size = cap_ltr_count.step_size; in venc_get_capability_ltrcount()
631 *min, *max, *step_size); in venc_get_capability_ltrcount()
Domx_video_encoder.cpp2075 bool omx_venc::dev_get_capability_ltrcount(OMX_U32 *min, OMX_U32 *max, OMX_U32 *step_size) in dev_get_capability_ltrcount() argument
2080 (void) step_size; in dev_get_capability_ltrcount()
2084 return handle->venc_get_capability_ltrcount(min, max, step_size); in dev_get_capability_ltrcount()
Domx_video_base.cpp1783 OMX_U32 min = 0, max = 0, step_size = 0; in get_parameter() local
1784 if (dev_get_capability_ltrcount(&min, &max, &step_size)) { in get_parameter()
1787 pParam->nStepSize = step_size; in get_parameter()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp2510 bool omx_venc::dev_get_capability_ltrcount(OMX_U32 *min, OMX_U32 *max, OMX_U32 *step_size) in dev_get_capability_ltrcount() argument
2515 (void) step_size; in dev_get_capability_ltrcount()
2519 return handle->venc_get_capability_ltrcount(min, max, step_size); in dev_get_capability_ltrcount()
Domx_swvenc_mpeg4.cpp2033 OMX_U32 *step_size in dev_get_capability_ltrcount() argument
2040 (void)step_size; in dev_get_capability_ltrcount()
Domx_video_base.cpp1923 OMX_U32 min = 0, max = 0, step_size = 0; in get_parameter() local
1924 if (dev_get_capability_ltrcount(&min, &max, &step_size)) { in get_parameter()
1927 pParam->nStepSize = step_size; in get_parameter()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp2254 bool omx_venc::dev_get_capability_ltrcount(OMX_U32 *min, OMX_U32 *max, OMX_U32 *step_size) in dev_get_capability_ltrcount() argument
2258 (void) step_size; in dev_get_capability_ltrcount()
Domx_swvenc_mpeg4.cpp2470 OMX_U32 *step_size in dev_get_capability_ltrcount() argument
2477 (void)step_size; in dev_get_capability_ltrcount()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp2562 bool omx_venc::dev_get_capability_ltrcount(OMX_U32 *min, OMX_U32 *max, OMX_U32 *step_size) in dev_get_capability_ltrcount() argument
2566 (void) step_size; in dev_get_capability_ltrcount()
Domx_swvenc_mpeg4.cpp2526 OMX_U32 *step_size in dev_get_capability_ltrcount() argument
2533 (void)step_size; in dev_get_capability_ltrcount()