Searched refs:ch_x (Results 1 - 1 of 1) sorted by relevance

/external/libvncserver/libvncclient/
H A Dh264.c82 static void nv12_to_rgba(const VAImage vaImage, rfbClient *client, int ch_x, int ch_y, int ch_w, int ch_h);
574 static void nv12_to_rgba(const VAImage vaImage, rfbClient *client, int ch_x, int ch_y, int ch_w, int ch_h) argument
576 DebugLog(("%s: converting region (%d, %d)-(%d, %d) from NV12->RGBA\n", __FUNCTION__, ch_x, ch_y, ch_w, ch_h));
586 if (ch_x % 2) { --ch_x; ++ch_w; }
588 if ((ch_x + ch_w) % 2) { ++ch_w; }
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];
594 uint32_t *dst = &((uint32_t*)client->frameBuffer)[client->width * ch_y + ch_x];

Completed in 224 milliseconds