Lines Matching refs:kFractionBits
208 const int kFractionBits = 16;
209 const int kFractionMax = 1 << kFractionBits;
210 const int kFractionMask = ((1 << kFractionBits) - 1);
278 source_dx = ((source_dy >> kFractionBits) * y_pitch) << kFractionBits;
310 int source_y_subpixel_delta = ((1 << kFractionBits) * source_height) / height;
319 else if (source_y_subpixel > ((source_height - 1) << kFractionBits))
320 source_y_subpixel = (source_height - 1) << kFractionBits;
328 int source_y = source_y_subpixel >> kFractionBits;
370 int source_y = (source_y_subpixel + (kFractionMax / 2)) >> kFractionBits;
455 int source_y_left = source_left >> kFractionBits;
457 std::min((source_right >> kFractionBits) + 2, source_width + 1);
460 int source_uv_right = std::min((source_right >> (kFractionBits + 1)) + 2,
494 int source_row = source_top >> kFractionBits;