Home
last modified time | relevance | path

Searched refs:flush_buf (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dlibopencore-amr.c238 int16_t *flush_buf = NULL; in amr_nb_encode_frame() local
251 flush_buf = av_mallocz_array(avctx->frame_size, sizeof(*flush_buf)); in amr_nb_encode_frame()
252 if (!flush_buf) in amr_nb_encode_frame()
254 memcpy(flush_buf, samples, frame->nb_samples * sizeof(*flush_buf)); in amr_nb_encode_frame()
255 samples = flush_buf; in amr_nb_encode_frame()
260 av_freep(&flush_buf); in amr_nb_encode_frame()
266 flush_buf = av_mallocz_array(avctx->frame_size, sizeof(*flush_buf)); in amr_nb_encode_frame()
267 if (!flush_buf) in amr_nb_encode_frame()
269 samples = flush_buf; in amr_nb_encode_frame()
284 av_freep(&flush_buf); in amr_nb_encode_frame()
/third_party/ffmpeg/libavfilter/
Dvulkan.c275 const VkMappedMemoryRange flush_buf = { in ff_vk_unmap_buffers() local
286 flush_list[flush_count - 1] = flush_buf; in ff_vk_unmap_buffers()
/third_party/ffmpeg/libavutil/
Dhwcontext_vulkan.c2913 const VkMappedMemoryRange flush_buf = { in unmap_buffers() local
2922 flush_ctx[flush_count++] = flush_buf; in unmap_buffers()