Home
last modified time | relevance | path

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

/third_party/libdrm/tests/util/
Dpattern.c296 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1; in fill_smpte_yuv_packed() local
329 c_mem[2*x+u] = colors_top[x * 7 / width].u; in fill_smpte_yuv_packed()
330 c_mem[2*x+v] = colors_top[x * 7 / width].v; in fill_smpte_yuv_packed()
332 c_mem += stride; in fill_smpte_yuv_packed()
337 c_mem[2*x+u] = colors_middle[x * 7 / width].u; in fill_smpte_yuv_packed()
338 c_mem[2*x+v] = colors_middle[x * 7 / width].v; in fill_smpte_yuv_packed()
340 c_mem += stride; in fill_smpte_yuv_packed()
345 c_mem[2*x+u] = colors_bottom[x * 4 / (width * 5 / 7)].u; in fill_smpte_yuv_packed()
346 c_mem[2*x+v] = colors_bottom[x * 4 / (width * 5 / 7)].v; in fill_smpte_yuv_packed()
349 c_mem[2*x+u] = colors_bottom[(x - width * 5 / 7) * in fill_smpte_yuv_packed()
[all …]