Lines Matching refs:bitsLength
365 int CVideoIn::Capture(color_space colorSpace, void * bits, int bitsLength,
383 /*PRINT(("colorSpace:%x, bitsLength: %d, fBufferLength: %d, bytesPerRow: %d, fBufferBytesPerRow: %d\n",
384 colorSpace, bitsLength, fBufferLength, bytesPerRow, fBufferBytesPerRow ));*/
388 if (colorSpace == B_YCbCr422 && bitsLength <= fBufferLength && bytesPerRow == fBufferBytesPerRow) {
389 fRadeon.DMACopy( captured_buffer, bits, bitsLength, true, false );
392 else if (colorSpace == B_RGB32 && bitsLength <= 2 * fBufferLength && bytesPerRow == 2 * fBufferBytesPerRow) {
401 else if (colorSpace == B_RGB16 && bitsLength <= fBufferLength && bytesPerRow == fBufferBytesPerRow) {
410 else if (colorSpace == B_RGB15 && bitsLength <= fBufferLength && bytesPerRow == fBufferBytesPerRow) {
418 else if (colorSpace == B_GRAY8 && 2 * bitsLength <= fBufferLength && 2 * bytesPerRow == fBufferBytesPerRow) {
438 : "r" (convert_buffer), "r" (bits), "r" (bitsLength), "m" (mask));