Skip to content

Conversation

@jsunintel
Copy link

No description provided.

zhangyichix and others added 16 commits April 25, 2024 10:44
 * Add the return of videoSignal value in av1

Tracked-On: OAM-112687
Signed-off-by: zhangyichix <yichix.zhang@intel.com>
case:android.mediav2.cts.AdaptivePlaybackTest#testAdaptivePlayback

Some av1 videos may contain reserved units. We should ignore it instead of returning an error.

Reference source:
https://aomediacodec.github.io/av1-spec/av1-spec.pdf
Section 6.2.6: Reserved units are for future use and shall be ignored by AV1 decoder.

Tracked-On: OAM-102526
Signed-off-by: zhangyichix <yichix.zhang@intel.com>
Tracked-On:OAM-117146
Signed-off-by: zhepeng.xu <zhepengx.xu@intel.com>
Signed-off-by: zhangyichix <yichix.zhang@intel.com>
Some CTS tests of android.videocodec.cts.VideoEncoderMaxBFrameTest#
testMaxBFrameSupport failed with "Number of BFrames in a SubGOP
exceeds maximum number of BFrames configured".

Cause is for HEVC encode, CO3->GPB is set to "on" by default, which
makes GPB frames are used instead of P frames. In CTS test, GPB
frames are considered B frames.

Solution is for HEVC encode, set CO3->GPB to "off" in mediasdk_c2
to use P frames not GPB frames. But in onevpl-intel-gpu, HEVC encode
caps did not enable "GPB off" before, change HEVC encode caps to
enable it.

Tracked-On: OAM-118626
Signed-off-by: Lina Sun <lina.sun@intel.com>
Value: MFX_LEVEL_AVC_1:10 MFX_LEVEL_AVC_1b:9
The functions `GetLevelLimitByDpbSize()`, `GetLevelLimitByFrameSize()`, `GetLevelLimitByMbps()`,
and `GetLevelLimitByMaxBitrate()` return the minimum level according to the frame size, FPS and profile.
Since the capability of level MFX_LEVEL_AVC_1b is greater than level MFX_LEVEL_AVC_1, the CodecLevel
should not be updated in this case.

Cases:
1.android.media.recorder.cts.MediaRecorderTest#testProfileAvcBaselineLevel1
2.android.mediav2.cts.EncoderProfileLevelTest#testValidateProfileLevel
[8_c2.intel.avc.encoder_video/avc_128kbps_176x144_15fps_yuv420flexible_2_0-bframes]
3.android.mediav2.cts.EncoderProfileLevelTest#testValidateProfileLevel
[10_c2.intel.avc.encoder_video/avc_128kbps_176x144_15fps_yuv420flexible_2_2-bframes]

Tracked-On: OAM-119037
Signed-off-by: Nana Zhang <nana.zhang@intel.com>
Temporarily change to only open renderD128.

Tracked-On: OAM-121112
Signed-off-by: Zhang, YichiX <yichix.zhang@intel.com>
…509)"

This reverts commit c40736a.

Tracked-On: OAM-118913
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>
In order to pass Cts#testDefaultOutputColorFormat,
we need to determine the output bit format by mfxparam
instead of bitstream.

Tracked-On: OAM-119832
Signed-off-by: Zhang, YichiX <yichix.zhang@intel.com>
version: 24.1.5

1. apply this patch, build (`make libmfx-ge`) and replace it.
2. create a named ".mfx_trace" file in /data/local in android with the following content:
`Output=0x01`
3. make sure your program has permission to r/w in /data/local/tmp,
e.g. add root in hardware.intel.media.c2@1.0-service.rc
4. reboot android.
5. find the log file in /data/local/tmp/mfx-gen.log

Signed-off-by: Zhang, YichiX <yichix.zhang@intel.com>
Signed-off-by: Zhang, YichiX <yichix.zhang@intel.com>
@sysopenci
Copy link

Expected syntax:
Commit message one-line summary

  Extra paragraphs can be added here.

  Longer description that explains the problem / solution
  or whatever that needs to be said

  It can contain
    multiple lines
    multiple paragraphs
    blank lines
    references

  But each paragraph must be followed by a blank line

  However, you need to keep the 'Tracked-On', 'Change-Id',
  'Signed-off-by', ..., fields in the **lastest** paragraph of
  the commit message.

  Change-Id: I9e58f79c7faf7f0edb9792e8b5322ab161331141
  Tracked-On: https://jira.server.ext/browse/PROJECTA-123
  Signed-off-by: Developer Name <developer.name@intel.com>

@sysopenci sysopenci added Pending Developer Approval Pending Developer Approval Pending PR Review Pending PR Review Engineering Build Not Started Engineering Build Not Started labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Engineering Build Not Started Engineering Build Not Started Invalid commit message Pending Developer Approval Pending Developer Approval Pending PR Review Pending PR Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants