Skip to content

[do-not-merge] enable log on celadon#20

Open
zhangyichix wants to merge 11 commits intoprojectceladon:mainfrom
zhangyichix:enable_log_24_1_5
Open

[do-not-merge] enable log on celadon#20
zhangyichix wants to merge 11 commits intoprojectceladon:mainfrom
zhangyichix:enable_log_24_1_5

Conversation

@zhangyichix
Copy link
Collaborator

@zhangyichix zhangyichix commented May 30, 2024

version: 24.1.5

  1. apply this patch, build (make libmfx-gen) 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

zhangyichix and others added 4 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>
@zhangyichix
Copy link
Collaborator Author

the .rc file example

service hardware-intel-media-c2-hal-1-0 /vendor/bin/hw/hardware.intel.media.c2@1.0-service
    class hal
    user root
    group root camera mediadrm drmrpc
    ioprio rt 4
    writepid /dev/cpuset/foreground/tasks
    seclabel u:r:su:s0

@sysopenci
Copy link

Improper Commit Message
Tracked on not found in commit message,
make sure Tracked-On: Jira-ticket is present.

lsun30 and others added 3 commits June 4, 2024 05:31
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>
@sysopenci
Copy link

Improper Commit Message
Tracked on not found in commit message,
make sure Tracked-On: Jira-ticket is present.

@sysopenci sysopenci added Pending Developer Approval Pending Developer Approval Pending PR Review Pending PR Review Engineering Build Not Started Engineering Build Not Started and removed Invalid commit message labels Jul 10, 2024
zhangyichix and others added 3 commits July 16, 2024 01:16
…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>
@sysopenci
Copy link

Improper Commit Message
Tracked on not found in commit message,
make sure Tracked-On: Jira-ticket is present.

@sysopenci
Copy link

Improper Commit Message
Tracked on not found in commit message,
make sure Tracked-On: Jira-ticket is present.

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>
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.

6 participants