Home
last modified time | relevance | path

Searched refs:new_buf_size (Results 1 - 5 of 5) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Daf_haas.c102 size_t new_buf_size = 1; in config_input() local
104 while (new_buf_size < min_buf_size) in config_input()
105 new_buf_size <<= 1; in config_input()
108 s->buffer = av_calloc(new_buf_size, sizeof(*s->buffer)); in config_input()
112 s->buffer_size = new_buf_size; in config_input()
/third_party/ffmpeg/libavresample/
H A Daudio_data.c164 int ret, new_buf_size, plane_size, p; in ff_audio_data_realloc() local
174 new_buf_size = av_samples_get_buffer_size(&plane_size, in ff_audio_data_realloc()
177 if (new_buf_size < 0) in ff_audio_data_realloc()
178 return new_buf_size; in ff_audio_data_realloc()
199 a->buffer = av_malloc(new_buf_size); in ff_audio_data_realloc()
208 a->buffer_size = new_buf_size; in ff_audio_data_realloc()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_constants.c755 unsigned new_buf_size = 0; in emit_constbuf() local
774 new_buf_size = MAX2(buffer_size, extra_buffer_offset) + extra_buffer_size; in emit_constbuf()
779 new_buf_size = align(new_buf_size, 16); in emit_constbuf()
788 alloc_buf_size = align(new_buf_size, CONST0_UPLOAD_ALIGNMENT); in emit_constbuf()
811 assert(extra_buffer_offset + extra_buffer_size <= new_buf_size); in emit_constbuf()
836 new_buf_size = align(buffer_size, 16); in emit_constbuf()
840 assert(new_buf_size % 16 == 0); in emit_constbuf()
843 new_buf_size = MIN2(new_buf_size, SVGA3D_DX_MAX_CONSTBUF_BINDING_SIZ in emit_constbuf()
[all...]
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp3046 int new_buf_size = BufTextLen + ImClamp(new_text_len * 4, 32, ImMax(256, new_text_len)) + 1;
3047 edit_state->TempBuffer.reserve(new_buf_size + 1);
3049 BufSize = edit_state->BufCapacityA = new_buf_size;
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp3830 int new_buf_size = BufTextLen + ImClamp(new_text_len * 4, 32, ImMax(256, new_text_len)) + 1; in InsertChars() local
3831 edit_state->TextA.reserve(new_buf_size + 1); in InsertChars()
3833 BufSize = edit_state->BufCapacityA = new_buf_size; in InsertChars()

Completed in 27 milliseconds