Home | History | Annotate | Download | only in libvncclient

Lines Matching refs:VAImage

82 static void nv12_to_rgba(const VAImage vaImage, rfbClient *client, int ch_x, int ch_y, int ch_w, int ch_h);
484 VAImage decoded_image;
574 static void nv12_to_rgba(const VAImage vaImage, rfbClient *client, int ch_x, int ch_y, int ch_w, int ch_h)
580 va_status = vaMapBuffer(va_dpy, vaImage.buf, (void **)&nv12_buf);
592 uint8_t *nv12_y = &nv12_buf[vaImage.offsets[0] + vaImage.pitches[0] * ch_y + ch_x];
593 uint8_t *nv12_uv = &nv12_buf[vaImage.offsets[1] + vaImage.pitches[1] * (ch_y / 2) + ch_x];
608 nv12_y[vaImage.pitches[0] + src_x], nv12_y[vaImage.pitches[0] + src_x + 1] };
634 nv12_y += 2 * vaImage.pitches[0];
635 nv12_uv += vaImage.pitches[1];
640 va_status = vaUnmapBuffer(va_dpy, vaImage.buf);