Home
last modified time | relevance | path

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

/external/libvncserver/libvncclient/
Dh264.c82 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
576 …DebugLog(("%s: converting region (%d, %d)-(%d, %d) from NV12->RGBA\n", __FUNCTION__, ch_x, ch_y, c… in nv12_to_rgba()
587 if (ch_y % 2) { --ch_y; ++ch_h; } in nv12_to_rgba()
589 if ((ch_y + ch_h) % 2) { ++ch_h; } 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()
594 uint32_t *dst = &((uint32_t*)client->frameBuffer)[client->width * ch_y + ch_x]; in nv12_to_rgba()