Home
last modified time | relevance | path

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

/external/opencore/codecs_v2/utilities/colorconvert/src/
Dccrgb16toyuv420.cpp236 int32 B_ds; /* "_ds" is the downsample version */ in ccrgb16toyuv() local
258 G_ds = B_ds = R_ds = count = 0; in ccrgb16toyuv()
268 B_ds += (pixels << 5) & 0x03E0; in ccrgb16toyuv()
281 B_ds += (pixels << 5) & 0x03E0; in ccrgb16toyuv()
296 B_ds += (pixels << 5) & 0x03E0; in ccrgb16toyuv()
309 B_ds += (pixels << 5) & 0x03E0; in ccrgb16toyuv()
318 tmp = B_ds - R_ds; in ccrgb16toyuv()
320 cb = cb_tab[(((B_ds-G_ds)<<16) + 19525*tmp)>>18]; in ccrgb16toyuv()
330 B_ds >>= 1; in ccrgb16toyuv()
333 tmp = B_ds - R_ds; in ccrgb16toyuv()
[all …]
Dccrgb12toyuv420.cpp228 int B_ds; /* "_ds" is the downsample version */ in ccrgb12toyuv() local
392 B_ds = (pixels & 0x0003F) << 4; in ccrgb12toyuv()
396 tmp = B_ds - R_ds; in ccrgb12toyuv()
398 yuv_value1 = cb_tab[(((B_ds-G_ds)<<16) + 19525*tmp)>>18] << 24; in ccrgb12toyuv()
415 B_ds = (pixels & 0x0003F) << 4; in ccrgb12toyuv()
418 tmp = B_ds - R_ds; in ccrgb12toyuv()
420 yuv_value1 |= cb_tab[(((B_ds-G_ds)<<16) + 19525*tmp)>>18] << 16; in ccrgb12toyuv()
437 B_ds = (pixels & 0x0003F) << 4; in ccrgb12toyuv()
440 tmp = B_ds - R_ds; in ccrgb12toyuv()
443 yuv_value1 |= cb_tab[(((B_ds-G_ds)<<16) + 19525*tmp)>>18] << 8; in ccrgb12toyuv()
[all …]