Lines Matching refs:valid
34 * @return Returns true if a valid mode, false otherwise.
150 * @return Returns true if a valid mode, false otherwise.
775 // At least one of the two should be valid ...
889 bool valid = decode_block_mode_2d(i, x_weights, y_weights, is_dual_plane, quant_mode, weight_bits);
892 if (!valid || (x_weights > x_texels) || (y_weights > y_texels))
998 // Ensure the end of the array contains valid data (should never get read)
1099 // Ensure the end of the array contains valid data (should never get read)
1124 // - Pass 0 - keep valid single plane block modes
1125 // - Pass 1 - keep valid dual plane block modes
1143 bool valid = decode_block_mode_3d(i, x_weights, y_weights, z_weights, is_dual_plane, quant_mode, weight_bits);
1145 if (!valid || x_weights > x_texels || y_weights > y_texels || z_weights > z_texels)