621 } |
621 } |
622 __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::BMSScalingFinished() err %d <<"), RThread().Id().operator TUint(), aError)); |
622 __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::BMSScalingFinished() err %d <<"), RThread().Id().operator TUint(), aError)); |
623 } |
623 } |
624 |
624 |
625 // ----------------------------------------------------------------------------- |
625 // ----------------------------------------------------------------------------- |
626 // CMultiframeProvider::AddBitmapToFreeQueue( CVtImageBitmap* aBitmap ) |
626 // CMultiframeProvider::AddBitmapToFreeQueueL( CVtImageBitmap* aBitmap ) |
627 // ----------------------------------------------------------------------------- |
627 // ----------------------------------------------------------------------------- |
628 // |
628 // |
629 void CMultiframeProvider::AddBitmapToFreeQueue() |
629 void CMultiframeProvider::AddBitmapToFreeQueueL() |
630 { |
630 { |
631 __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() >>"), RThread().Id().operator TUint())); |
631 __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() >>"), RThread().Id().operator TUint())); |
632 if ( iOldBM ) |
632 if ( iOldBM ) |
633 { |
633 { |
634 __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() OLD BM"), RThread().Id().operator TUint())); |
634 __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() OLD BM"), RThread().Id().operator TUint())); |
635 iOldBM = EFalse; |
635 iOldBM = EFalse; |
636 User::LeaveIfError( iFreeQueue.Append( iOldBitmap ) ); |
636 User::LeaveIfError( iFreeQueue.Append( iOldBitmap ) ); |
637 } |
637 } |
638 else |
638 else |
639 { |
639 { |
640 User::LeaveIfError( iFreeQueue.Append( iScaled ) ); |
640 User::LeaveIfError( iFreeQueue.Append( iScaled ) ); |
641 } |
641 } |
642 iLoopAo->SetFreeBitmaps( 1 ); |
642 iLoopAo->SetFreeBitmaps( 1 ); |
643 __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() <<"), RThread().Id().operator TUint())); |
643 __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() <<"), RThread().Id().operator TUint())); |
644 } |
644 } |
645 |
645 |
646 // ----------------------------------------------------------------------------- |
646 // ----------------------------------------------------------------------------- |