Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-tegra/
Divc.c164 if (ivc->r_pos == ivc->nframes - 1) in tegra_ivc_advance_rx()
165 ivc->r_pos = 0; in tegra_ivc_advance_rx()
167 ivc->r_pos++; in tegra_ivc_advance_rx()
249 tegra_ivc_invalidate_frame(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read_get_next_frame()
250 *frame = tegra_ivc_frame_pointer(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read_get_next_frame()
378 ivc->r_pos = 0; in tegra_ivc_channel_notified()
415 ivc->r_pos = 0; in tegra_ivc_channel_notified()
547 ivc->r_pos = 0; in tegra_ivc_init()
/external/arm-trusted-firmware/plat/nvidia/tegra/common/drivers/bpmp_ipc/
Divc.c151 if (ivc->r_pos == (ivc->nframes - (uint32_t)1U)) { in ivc_advance_rx()
152 ivc->r_pos = 0U; in ivc_advance_rx()
154 ivc->r_pos++; in ivc_advance_rx()
253 src = ivc_frame_pointer(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read()
289 return ivc_frame_pointer(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read_get_next_frame()
462 ivc->r_pos = 0U; in tegra_ivc_channel_notified()
498 ivc->r_pos = 0U; in tegra_ivc_channel_notified()
648 ivc->r_pos = 0U; in tegra_ivc_init()
Divc.h28 uint32_t r_pos; member
/external/u-boot/arch/arm/include/asm/arch-tegra/
Divc.h61 uint32_t r_pos; member
/external/webrtc/talk/media/base/
Dvideoframe_unittest.h261 int r_pos, g_pos, b_pos, bytes; in CreateRgbSample() local
262 if (!GetRgbPacking(fourcc, &r_pos, &g_pos, &b_pos, &bytes)) { in CreateRgbSample()
275 rgb[r_pos] = ((x / 63) & 1) ? 224 : 32; in CreateRgbSample()
331 int r_pos, g_pos, b_pos, bytes; in ConvertRgb() local
332 if (!GetRgbPacking(fourcc, &r_pos, &g_pos, &b_pos, &bytes)) { in ConvertRgb()
355 ConvertRgbPixel(rgb[i][r_pos], rgb[i][g_pos], rgb[i][b_pos], in ConvertRgb()
405 int* r_pos, in GetRgbPacking() argument
410 *r_pos = 0; *g_pos = 1; *b_pos = 2; *bytes = 3; // RGB in memory. in GetRgbPacking()
412 *r_pos = 2; *g_pos = 1; *b_pos = 0; *bytes = 3; // BGR in memory. in GetRgbPacking()
414 *r_pos = 0; *g_pos = 1; *b_pos = 2; *bytes = 4; // RGBA in memory. in GetRgbPacking()
[all …]