|
1 // |
|
2 // Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 |
|
17 LOAD_SUITE tsu_omxilgraphicsink |
|
18 |
|
19 START_TESTCASE MMVIDEO-OMX-GS-010-05-HP |
|
20 //! @SYMTestCaseID MMVIDEO-OMX-GS-010-05-HP |
|
21 //! @SYMTestCaseDesc Return to OMX_StateLoaded from Empty this buffer asynchronously |
|
22 //! @SYMTestExpectedResults State returns to OMX_StateLoaded without error or memory leak |
|
23 //! @SYMTestActions Send command OMX_StateIdle and Allocate required number of buffers |
|
24 //! Wait for callback to return OMX_EventCmdComplete |
|
25 //! Send command OMX_StateExecuting and wait for callback to return OMX_EventCmdComplete |
|
26 //! Fill Allocated buffer with colour using filled CCameraBuffer* |
|
27 //! Call Empty this buffer and wait for DoEmptyBufferDone callback |
|
28 //! Send command OMX_StateIdle prior to Empty this buffer done callback |
|
29 //! Or in second Empty this buffer done callback |
|
30 //! Wait for callback to return OMX_EventCmdComplete |
|
31 //! Send command OMX_StateLoaded and Free required number of buffer |
|
32 //! Wait for callback to return OMX_EventCmdComplete |
|
33 //! COmxILGraphicSinkProcessingFunction::StateTransitionIndication |
|
34 //! COmxILGraphicSinkProcessingFunction::CreateBufferL |
|
35 //! COmxILGraphicSinkProcessingFunction::DestroyBuffer |
|
36 RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-010-00-HP z:\omxil\configs\tsu_omxilgraphicsink.ini DoBufferDoneFive |
|
37 RUN_TEST_STEP 100 tsu_omxilgraphicsink MMVIDEO-OMX-GS-010-00-HP z:\omxil\configs\tsu_omxilgraphicsink.ini DoBufferDoneSix |
|
38 END_TESTCASE MMVIDEO-OMX-GS-010-05-HP |