Home
last modified time | relevance | path

Searched refs:buffer_refs_allocated (Results 1 – 10 of 10) sorted by relevance

/hardware/intel/img/psb_video/src/
Dvsp_cmdbuf.c55 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()
Dpnw_cmdbuf.c88 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()
Dtng_cmdbuf.c110 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 …]
Dpsb_cmdbuf.c124 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()
Dpnw_cmdbuf.h111 int buffer_refs_allocated; member
Dvsp_cmdbuf.h56 int buffer_refs_allocated; member
Dtng_cmdbuf.h139 int buffer_refs_allocated; member
Dpsb_cmdbuf.h89 int buffer_refs_allocated; member
/hardware/intel/img/psb_video/src/mrst/
Dlnc_cmdbuf.c87 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()
Dlnc_cmdbuf.h90 int buffer_refs_allocated; member