Lines Matching refs:dst_size
501 int av_image_copy_to_buffer(uint8_t *dst, int dst_size,
512 if (size > dst_size || size < 0 || !desc)
545 // Fill dst[0..dst_size] with the bytes in clear[0..clear_size]. The clear
546 // bytes are repeated until dst_size is reached. If dst_size is unaligned (i.e.
547 // dst_size%clear_size!=0), the remaining data will be filled with the beginning
549 static void memset_bytes(uint8_t *dst, size_t dst_size, uint8_t *clear,
569 memset(dst, clear[0], dst_size);
571 if (clear_size > dst_size)
572 clear_size = dst_size;
574 av_memcpy_backptr(dst + clear_size, clear_size, dst_size - clear_size);