Professional Documents
Culture Documents
AMP_PIP_Test_Manual
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
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
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.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:
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
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