[CTS] Test Package: android.media Class-android.media.cts.EncodeDecodeTest

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[CTS] Test Package: android.media Class-android.media.cts.EncodeDecodeTest

2,307件の閲覧回数
mahammedsuhelsh
Contributor II

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

ラベル(1)
タグ(2)
0 件の賞賛
返信
7 返答(返信)

1,623件の閲覧回数
mahammedsuhelsh
Contributor II

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> &notify)

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

0 件の賞賛
返信

1,623件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

Hello Mahammed,

can you please tell me which Android version you are using and which evaluation board?

1,623件の閲覧回数
mahammedsuhelsh
Contributor II

Hi SergioSolis,

Thanks for the reply.

We are using android version:5.1.1

Evaluation board: Freescale I.MX 6 SABRESD

0 件の賞賛
返信

1,623件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

Are you using the Quad core board?, can you give me the complete part number?

0 件の賞賛
返信

1,623件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

Can you please tell me how you created the environment and the steps to reproduce your test?. Did you change anything from it?

1,623件の閲覧回数
mahammedsuhelsh
Contributor II

I have flashed freescale sabersd images.and then run below command for CTS

run cts -c android.media.cts.EncodeDecodeTest

0 件の賞賛
返信

1,623件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

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?

0 件の賞賛
返信