-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix HEVC 10bit encoding on KBL. (GitHub issue #320) #333
Conversation
1. Make sure CODECHAL_HEVC_MBENC_PENC kernel state initialized. 2. Add support format for 10bit. 3. Make sure CODECHAL_HEVC_MBENC_DS_COMBINED kernel state initialized. But need disable it on BXT and SKL. It should not add condition check in CodechalEncHevcStateG9::InitKernelStateMbEnc(). It should return MOS_STATUS_INVALID_PARAMETER in GetKernelHeaderAndSize(). This patch can fix intel#320. Confirmation: Current gstream seems cannot display 10bit data by vaapidecodebin. So after encoding into h265 file, I have to use ffmpeg to convert it to 8bit and display it by gst-play-1.0. It seems OK. Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
I finished more confirmation. So the fix should work. |
#351 will fix decoding issue of 10bit HEVC stream. |
Refine it by #371 |
Refine it by #371 |
But need disable it on BXT and SKL. It should not add condition check
in CodechalEncHevcStateG9::InitKernelStateMbEnc(). It should return
MOS_STATUS_INVALID_PARAMETER in GetKernelHeaderAndSize().
This patch can fix #320.
Confirmation:
Current gstream seems cannot display 10bit data by vaapidecodebin.
So after encoding into h265 file, I have to use ffmpeg to convert it
to 8bit and display it by gst-play-1.0. It seems OK.
Signed-off-by: Yan Wang yan.wang@linux.intel.com