Lines Matching refs:bufferHeight
176 float bufferHeight = buffer->GetHeight();
183 if (crop.h < bufferHeight && bufferHeight != 0) {
184 ty = (float(bufferHeight - crop.y) / bufferHeight);
185 sy = (float(crop.h) / bufferHeight);
274 float bufferHeight = buffer->GetHeight();
281 if (crop.h < bufferHeight && bufferHeight != 0) {
282 ty = (float(bufferHeight - crop.y) / bufferHeight);
283 sy = (float(crop.h) / bufferHeight);