Searched refs:buffer_refs_allocated (Results 1 – 10 of 10) sorted by relevance
/hardware/intel/img/psb_video/src/ |
D | vsp_cmdbuf.c | 55 cmdbuf->buffer_refs_allocated = 10; in vsp_cmdbuf_create() 56 …uf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in vsp_cmdbuf_create() 58 cmdbuf->buffer_refs_allocated = 0; in vsp_cmdbuf_create() 79 cmdbuf->buffer_refs_allocated = 0; in vsp_cmdbuf_create() 93 if (cmdbuf->buffer_refs_allocated) { in vsp_cmdbuf_destroy() 96 cmdbuf->buffer_refs_allocated = 0; in vsp_cmdbuf_destroy() 170 if (item_loc >= cmdbuf->buffer_refs_allocated) { in vsp_cmdbuf_buffer_ref() 172 int new_size = cmdbuf->buffer_refs_allocated + 10; in vsp_cmdbuf_buffer_ref() 178 … memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in vsp_cmdbuf_buffer_ref() 180 cmdbuf->buffer_refs_allocated = new_size; in vsp_cmdbuf_buffer_ref()
|
D | pnw_cmdbuf.c | 88 cmdbuf->buffer_refs_allocated = 10; in pnw_cmdbuf_create() 89 …uf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in pnw_cmdbuf_create() 91 cmdbuf->buffer_refs_allocated = 0; in pnw_cmdbuf_create() 102 cmdbuf->buffer_refs_allocated = 0; in pnw_cmdbuf_create() 152 if (cmdbuf->buffer_refs_allocated) { in pnw_cmdbuf_destroy() 155 cmdbuf->buffer_refs_allocated = 0; in pnw_cmdbuf_destroy() 234 if (item_loc >= cmdbuf->buffer_refs_allocated) { in pnw_cmdbuf_buffer_ref() 236 int new_size = cmdbuf->buffer_refs_allocated + 10; in pnw_cmdbuf_buffer_ref() 242 … memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in pnw_cmdbuf_buffer_ref() 244 cmdbuf->buffer_refs_allocated = new_size; in pnw_cmdbuf_buffer_ref()
|
D | tng_cmdbuf.c | 110 if (cmdbuf->buffer_refs_allocated) { in tng_cmdbuf_clear() 113 cmdbuf->buffer_refs_allocated = 0; in tng_cmdbuf_clear() 138 cmdbuf->buffer_refs_allocated = 10; in tng_cmdbuf_create() 139 …uf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in tng_cmdbuf_create() 141 cmdbuf->buffer_refs_allocated = 0; in tng_cmdbuf_create() 155 cmdbuf->buffer_refs_allocated = 0; in tng_cmdbuf_create() 170 cmdbuf->buffer_refs_allocated = 0; in tng_cmdbuf_create() 218 if (cmdbuf->buffer_refs_allocated) { in tng_cmdbuf_destroy() 221 cmdbuf->buffer_refs_allocated = 0; in tng_cmdbuf_destroy() 297 if (item_loc >= cmdbuf->buffer_refs_allocated) { in tng_cmdbuf_buffer_ref() [all …]
|
D | psb_cmdbuf.c | 124 cmdbuf->buffer_refs_allocated = 10; in psb_cmdbuf_create() 125 …uf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in psb_cmdbuf_create() 127 cmdbuf->buffer_refs_allocated = 0; in psb_cmdbuf_create() 166 if (cmdbuf->buffer_refs_allocated) { in psb_cmdbuf_destroy() 169 cmdbuf->buffer_refs_allocated = 0; in psb_cmdbuf_destroy() 266 if (item_loc >= cmdbuf->buffer_refs_allocated) { in psb_cmdbuf_buffer_ref() 268 int new_size = cmdbuf->buffer_refs_allocated + 10; in psb_cmdbuf_buffer_ref() 274 … memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in psb_cmdbuf_buffer_ref() 276 cmdbuf->buffer_refs_allocated = new_size; in psb_cmdbuf_buffer_ref()
|
D | pnw_cmdbuf.h | 111 int buffer_refs_allocated; member
|
D | vsp_cmdbuf.h | 56 int buffer_refs_allocated; member
|
D | tng_cmdbuf.h | 139 int buffer_refs_allocated; member
|
D | psb_cmdbuf.h | 89 int buffer_refs_allocated; member
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_cmdbuf.c | 87 cmdbuf->buffer_refs_allocated = 10; in lnc_cmdbuf_create() 88 …uf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in lnc_cmdbuf_create() 90 cmdbuf->buffer_refs_allocated = 0; in lnc_cmdbuf_create() 101 cmdbuf->buffer_refs_allocated = 0; in lnc_cmdbuf_create() 148 if (cmdbuf->buffer_refs_allocated) { in lnc_cmdbuf_destroy() 151 cmdbuf->buffer_refs_allocated = 0; in lnc_cmdbuf_destroy() 225 if (item_loc >= cmdbuf->buffer_refs_allocated) { in lnc_cmdbuf_buffer_ref() 227 int new_size = cmdbuf->buffer_refs_allocated + 10; in lnc_cmdbuf_buffer_ref() 233 … memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in lnc_cmdbuf_buffer_ref() 235 cmdbuf->buffer_refs_allocated = new_size; in lnc_cmdbuf_buffer_ref()
|
D | lnc_cmdbuf.h | 90 int buffer_refs_allocated; member
|