Searched refs:ch_x (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 576 …DebugLog(("%s: converting region (%d, %d)-(%d, %d) from NV12->RGBA\n", __FUNCTION__, ch_x, ch_y, c… in nv12_to_rgba() 586 if (ch_x % 2) { --ch_x; ++ch_w; } in nv12_to_rgba() 588 if ((ch_x + ch_w) % 2) { ++ch_w; } 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()
|