Hi
Below Test cases are failing while running EncodeDecodeTest
Failed Test Cases:
– testEncodeDecodeVideoFromBufferToBufferQCIF
junit.framework.AssertionFailedError: Found 30 bad frames at junit.framework.Assert.fail(Assert.java:50)
– testEncodeDecodeVideoFromBufferToBufferQVGA
junit.framework.AssertionFailedError: Found 30 bad frames at junit.framework.Assert.fail(Assert.java:50)
– testVP8EncodeDecodeVideoFromBufferToBufferQCIF
junit.framework.AssertionFailedError: Found 30 bad frames at junit.framework.Assert.fail(Assert.java:50)
– testVP8EncodeDecodeVideoFromBufferToBufferQVGA
This might be happening due to 32 bit frame alignment in VPU codecs.
format used
testEncodeDecodeVideoFromBufferToBufferQCIF
176*144 AVC codec
– testEncodeDecodeVideoFromBufferToBufferQVGA
320*240 AVC
testVP8EncodeDecodeVideoFromBufferToBufferQCIF
176*144 VP8 codec
testVP8EncodeDecodeVideoFromBufferToBufferQVGA
320*240 VP8 codec
Hi SergioSolis,
We are using quad core board,
one observation
After removing below changes in
File :Acodec.cpp
Function name : status_t ACodec::getPortFormat(OMX_U32 portIndex, sp<AMessage> ¬ify)
Code changes:
if(rect.nHeight > 0
&& rect.nHeight < videoDef->nFrameHeight
&& !strncmp(mComponentName.c_str(), "OMX.Freescale.std.video_decoder", 31)
&& strstr(mComponentName.c_str(),"hw-based")){
ALOGW("ACodec map vpu crop info: output crop: %d, frameH %d", rect.nHeight, videoDef->nFrameHeight);
notify->setInt32("slice-height", videoDef->nFrameHeight);
videoDef->nFrameHeight = rect.nHeight;
}
its working but android.media.cts.Vp8EncoderTest testEncoderQuality is failing
Hello Mahammed,
can you please tell me which Android version you are using and which evaluation board?
Hi SergioSolis,
Thanks for the reply.
We are using android version:5.1.1
Evaluation board: Freescale I.MX 6 SABRESD
Are you using the Quad core board?, can you give me the complete part number?
Can you please tell me how you created the environment and the steps to reproduce your test?. Did you change anything from it?
I have flashed freescale sabersd images.and then run below command for CTS
run cts -c android.media.cts.EncodeDecodeTest
Can I ask you to do the CTS test following the next link:
Running CTS tests | Android Open Source Project
also, can you include the log of the failures?.. but most importantly, can you follow the guidelines in the link I posted?