Sie sind auf Seite 1von 8

AMP_PIP_Test_Manual

AMP_PIP_Test_Manual

Marvell Semiconductor, Inc.

Doc number: 705

M a r v e l l S e m i c o n d u c t o r, I n c . Confidential Page 1 of 8
AMP_PIP_Test_Manual

Revision History

Date Revision By Summary


2014-08-29 Rev.1.0 Mike Zhang Draft version.

Review
By Comments Actions/Status

M a r v e l l S e m i c o n d u c t o r, I n c . Confidential Page 2 of 8
AMP_PIP_Test_Manual

TABLE OF CONTENT
ABBREVIATION & GLOSSARY.............................................................................................................................................3
1. DESIGN..............................................................................................................................................................................3
1.1. OWNER.........................................................................................................................................................................3
1.1.1. Designer................................................................................................................................................................3
1.1.2. Integration.............................................................................................................................................................3
1.2. TARGET........................................................................................................................................................................3
1.3. FUNCTION REQUIREMENTS..........................................................................................................................................3
1.4. DEPENDENCIES.............................................................................................................................................................3
2. IMPLEMENTATION........................................................................................................................................................3
3. TEST FLOW......................................................................................................................................................................3
4. TEST RESULT...................................................................................................................................................................3
4.1. SELF TEST RESULT.......................................................................................................................................................3
4.2. SQA TEST RESULT.......................................................................................................................................................3

M a r v e l l S e m i c o n d u c t o r, I n c . Confidential Page 3 of 8
AMP_PIP_Test_Manual

Abbreviation & Glossary


AMP Armada Media Pipeline, the next generation platform software architecture
TS Transport Stream
DMX Transport stream de-multiplex component
VDEC Video decoder component
VOUT Video output component
ADEC Audio decoder component
AREN Audio renderer component
CLK Clock component

M a r v e l l S e m i c o n d u c t o r, I n c . Confidential Page 4 of 8
AMP_PIP_Test_Manual

1. Design
1.1. Owner
1.1.1. Designer

1.1.2. Integration

1.2. Target
It used to demonstrate two TS stream playback for normal TS file or scramble CIPlus TS file.

1.3. Function Requirements


1. Read from specified TS media data file;
2. Create a pipeline to support video/audio decoding
3. Create another pipeline to support video decoding and output.

1.4. Dependencies
1. AMP framework;
2. DMX, VDEC,VOUT, ADEC, AREN, CLK components;
3. Sound service and display service;
4. file system;
5. ampclient_samples (or amp_samples that generated from source codes release. test_pipleline_pip.c).

M a r v e l l S e m i c o n d u c t o r, I n c . Confidential Page 5 of 8
AMP_PIP_Test_Manual

2. Implementation
As Figure 1, Test program open a TS data file based on user input. And then connect to DMX component
and created a pipeline include DMX, VDEC, VOUT, ADEC, AREN, CLK components. The video frame and
audio pcm will output to display service and sound service. It will open another TS data file based on user
input and when another video decoder instance will connect to the second vout. The video frame will also
output to display service.
After the pipeline is ready, it feeds TS data into DMX input port and feeds TS data to another DMX instance
then the AV stream is playing.
The application will seek file to starting position and still inject ts data to DMX. When user input Ctrl+C to stop
playback.

Figure 1

M a r v e l l S e m i c o n d u c t o r, I n c . Confidential Page 6 of 8
AMP_PIP_Test_Manual

3. Test Flow
To test the PIP pipeline, the following steps are expected to be followed:

Verify two instance playback at the same time


1) Build ampsdk, then pushed to target board and reboot.
2) Make sure the TS data file is available.
3) Run ampclient_samples 11 0 $TsDataFileName $VideoPid $VideoFormat $AudioPid
$AudioFormat $TsDataFileName $VideoPid $VideoFormat
4) It will exit the program after user input Ctrl+C.
For example:
ampclient_samples 11 0 /data/D_NetworkDataServices1.ts 600 17 601 84 /data/AVC_480P60_8M_2AAC.ts 4113 22
Verify two instance playback at the same time for scramble TS file and it also can be used to verify CIPlus
1) Build ampsdk, then pushed to target board and reboot.
2) Make sure the TS data file is available.
3) Run ampclient_samples 11 1 $TsDataFileName $TsDataFileName
4) It will exit the program after user input Ctrl+C.
For this case, please pay attention to that it must use special scramble file. The first ts file must be
cartoon_new.ts and the second ts file must be 4_ci_des.ts.
For example:
ampclient_samples 11 1 /data/cartoon_new.ts /data/4_ci_des.ts

Please check follow list for the $VideoFormat value definition (defined in amp_client_rpc.h):
MEDIA_VES_MPEG1 = 16, /**< MPEG2 video stream. */
MEDIA_VES_MPEG2 = 17, /**< MPEG2 video stream. */
MEDIA_VES_H263 = 18, /**< H.263 video stream. */
MEDIA_VES_MPEG4 = 19, /**< MPEG4 video stream. */
MEDIA_VES_WMV = 20, /**< WMV video stream. */
MEDIA_VES_RV = 21, /**< Real video stream. */
MEDIA_VES_AVC = 22, /**< AVC/H.264 video stream. */
MEDIA_VES_MJPEG = 23, /**< Motion JPEG video stream. */
MEDIA_VES_VC1 = 24, /**< VC1 video stream. */
MEDIA_VES_VP8 = 25, /**< VP8 video stream. */
MEDIA_VES_DIVX = 26, /**< DIVX video stream. */
MEDIA_VES_XVID = 27, /**< XVID video stream. */
MEDIA_VES_AVS = 28, /**< AVS video stream. */
MEDIA_VES_SORENSON = 29, /**< SORENSON video stream. */
MEDIA_VES_DIV50 = 30, /**< SORENSON video stream. */
MEDIA_VES_VP6 = 31, /**< VP6 video stream. */
MEDIA_VES_RV30 = 32, /**< Real video 3.0 stream. */
MEDIA_VES_RV40 = 33, /**< Real video 4.0 stream. */
MEDIA_VES_DIV3 = 34, /**< DIV3.0 stream. */
MEDIA_VES_DIV4 = 35, /**< DIV4.0 stream. */

Please check follow list for the $AudioFormat value definition (defined in amp_component.h):
MEDIA_AES_DDP = 81, /**< DDplus audio stream. */
MEDIA_AES_MP3 = 85, /**< MP3 audio stream. */
MEDIA_AES_HEAAC = 86, /**< HE-AAC audio stream. */
MEDIA_AES_VORBIS = 100, /**< Vorbis audio stream. */

M a r v e l l S e m i c o n d u c t o r, I n c . Confidential Page 7 of 8
AMP_PIP_Test_Manual

4. Test Result

4.1. Self Test Result


It running up and finished the AV playback.

4.2. SQA Test Result

M a r v e l l S e m i c o n d u c t o r, I n c . Confidential Page 8 of 8

Das könnte Ihnen auch gefallen