Searched refs:nv12_buf (Results 1 – 1 of 1) sorted by relevance
579 uint8_t *nv12_buf; in nv12_to_rgba() local580 va_status = vaMapBuffer(va_dpy, vaImage.buf, (void **)&nv12_buf); in nv12_to_rgba()592 uint8_t *nv12_y = &nv12_buf[vaImage.offsets[0] + vaImage.pitches[0] * ch_y + ch_x]; in nv12_to_rgba()593 uint8_t *nv12_uv = &nv12_buf[vaImage.offsets[1] + vaImage.pitches[1] * (ch_y / 2) + ch_x]; in nv12_to_rgba()