Home
last modified time | relevance | path

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

/hardware/intel/img/psb_video/src/
Dvsp_cmdbuf.c63 …cmdbuf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_alloca… in vsp_cmdbuf_create()
64 if (NULL == cmdbuf->buffer_refs) { in vsp_cmdbuf_create()
84 free(cmdbuf->buffer_refs); in vsp_cmdbuf_create()
85 cmdbuf->buffer_refs = NULL; in vsp_cmdbuf_create()
101 free(cmdbuf->buffer_refs); in vsp_cmdbuf_destroy()
102 cmdbuf->buffer_refs = NULL; in vsp_cmdbuf_destroy()
170 && (wsbmKBufHandle(wsbmKBuf(cmdbuf->buffer_refs[item_loc]->drm_buf)) in vsp_cmdbuf_buffer_ref()
184 memcpy(new_array, cmdbuf->buffer_refs, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_allocated); in vsp_cmdbuf_buffer_ref()
185 free(cmdbuf->buffer_refs); in vsp_cmdbuf_buffer_ref()
187 cmdbuf->buffer_refs = new_array; in vsp_cmdbuf_buffer_ref()
[all …]
Dtng_cmdbuf.c111 free(cmdbuf->buffer_refs); in tng_cmdbuf_clear()
112 cmdbuf->buffer_refs = NULL; in tng_cmdbuf_clear()
139 …cmdbuf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_alloca… in tng_cmdbuf_create()
140 if (NULL == cmdbuf->buffer_refs) { in tng_cmdbuf_create()
153 free(cmdbuf->buffer_refs); in tng_cmdbuf_create()
154 cmdbuf->buffer_refs = NULL; in tng_cmdbuf_create()
168 free(cmdbuf->buffer_refs); in tng_cmdbuf_create()
169 cmdbuf->buffer_refs = NULL; in tng_cmdbuf_create()
219 free(cmdbuf->buffer_refs); in tng_cmdbuf_destroy()
220 cmdbuf->buffer_refs = NULL; in tng_cmdbuf_destroy()
[all …]
Dpnw_cmdbuf.c89 …cmdbuf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_alloca… in pnw_cmdbuf_create()
90 if (NULL == cmdbuf->buffer_refs) { in pnw_cmdbuf_create()
100 free(cmdbuf->buffer_refs); in pnw_cmdbuf_create()
101 cmdbuf->buffer_refs = NULL; in pnw_cmdbuf_create()
153 free(cmdbuf->buffer_refs); in pnw_cmdbuf_destroy()
154 cmdbuf->buffer_refs = NULL; in pnw_cmdbuf_destroy()
226 && (wsbmKBufHandle(wsbmKBuf(cmdbuf->buffer_refs[item_loc]->drm_buf)) 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()
243 free(cmdbuf->buffer_refs); in pnw_cmdbuf_buffer_ref()
245 cmdbuf->buffer_refs = new_array; in pnw_cmdbuf_buffer_ref()
[all …]
Dpsb_cmdbuf.c125 …cmdbuf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_alloca… in psb_cmdbuf_create()
126 if (NULL == cmdbuf->buffer_refs) { in psb_cmdbuf_create()
167 free(cmdbuf->buffer_refs); in psb_cmdbuf_destroy()
168 cmdbuf->buffer_refs = NULL; in psb_cmdbuf_destroy()
260 && (wsbmKBufHandle(wsbmKBuf(cmdbuf->buffer_refs[item_loc]->drm_buf)) 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()
275 free(cmdbuf->buffer_refs); in psb_cmdbuf_buffer_ref()
277 cmdbuf->buffer_refs = new_array; in psb_cmdbuf_buffer_ref()
279 cmdbuf->buffer_refs[item_loc] = buf; in psb_cmdbuf_buffer_ref()
288 if ((cmdbuf->buffer_refs[item_loc] != buf) in psb_cmdbuf_buffer_ref()
[all …]
Dpnw_cmdbuf.h109 psb_buffer_p *buffer_refs; member
Dvsp_cmdbuf.h54 psb_buffer_p *buffer_refs; member
Dtng_cmdbuf.h137 psb_buffer_p *buffer_refs; member
Dpsb_cmdbuf.h86 psb_buffer_p *buffer_refs; member
/hardware/intel/img/psb_video/src/mrst/
Dlnc_cmdbuf.c88 …cmdbuf->buffer_refs = (psb_buffer_p *) calloc(1, sizeof(psb_buffer_p) * cmdbuf->buffer_refs_alloca… in lnc_cmdbuf_create()
89 if (NULL == cmdbuf->buffer_refs) { in lnc_cmdbuf_create()
99 free(cmdbuf->buffer_refs); in lnc_cmdbuf_create()
100 cmdbuf->buffer_refs = NULL; in lnc_cmdbuf_create()
149 free(cmdbuf->buffer_refs); in lnc_cmdbuf_destroy()
150 cmdbuf->buffer_refs = NULL; in lnc_cmdbuf_destroy()
220 while ((item_loc < cmdbuf->buffer_refs_count) && (cmdbuf->buffer_refs[item_loc] != buf)) { 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()
234 free(cmdbuf->buffer_refs); in lnc_cmdbuf_buffer_ref()
236 cmdbuf->buffer_refs = new_array; in lnc_cmdbuf_buffer_ref()
[all …]
Dlnc_cmdbuf.h88 psb_buffer_p *buffer_refs; member