Lines Matching defs:type
80 /* all buffers with same type share one malloc-ed memory
81 * bufferID = (buffer numbers with the same type << 8) || type
218 VABufferType type, /* in */
229 old_size = fool_ctx->fool_buf_size[type] * fool_ctx->fool_buf_element[type];
232 fool_ctx->fool_buf[type] = realloc(fool_ctx->fool_buf[type], new_size);
234 fool_ctx->fool_buf_size[type] = size;
235 fool_ctx->fool_buf_element[type] = num_elements;
236 fool_ctx->fool_buf_count[type]++;
238 * all buffers with same type share same real memory
239 * bufferID = (magic number) | type
241 *buf_id = FOOL_BUFID_MAGIC | type;
249 VABufferType *type, /* out */
262 *type = buf_id & 0xff;
263 *size = fool_ctx->fool_buf_size[*type];
264 *num_elements = fool_ctx->fool_buf_element[*type];;