Searched refs:vaImage (Results 1 – 1 of 1) sorted by relevance
/external/libvncserver/libvncclient/ |
D | h264.c | 82 static void nv12_to_rgba(const VAImage vaImage, rfbClient *client, int ch_x, int ch_y, int ch_w, in… 574 static void nv12_to_rgba(const VAImage vaImage, rfbClient *client, int ch_x, int ch_y, int ch_w, in… in nv12_to_rgba() argument 580 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() 608 … nv12_y[vaImage.pitches[0] + src_x], nv12_y[vaImage.pitches[0] + src_x + 1] }; in nv12_to_rgba() 634 nv12_y += 2 * vaImage.pitches[0]; in nv12_to_rgba() 635 nv12_uv += vaImage.pitches[1]; in nv12_to_rgba() 640 va_status = vaUnmapBuffer(va_dpy, vaImage.buf); in nv12_to_rgba()
|