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
add definition to enforce both reflist not empty #364
Conversation
OK for me, and @xhaihao ? |
According to new status, I think this info may not be enough. But on TGL, only low-delay-b for VMEPAK and only low-delay-b for VDENC. This flag means the non low-delay-b is necessary for some entrypoint, then with this flag set, we must set low-delay-b enabled. But for ICELake's VMEPAK case, if this flag is set, we then can not choose non low-delay-b mode. And if not set, we do not know whether the low-delay-b mode is available. |
@HeJunyan , hi , I am not sure whether I understand your concern, it just used to distinguish whether driver support P frame, if P frame is not support , it should be 1. or it should be 0 |
So, if this flag set, means only non-P support, and if not set, we can choose P and non-P, one of them? |
For example, on ICELake, VDENC does not support P, so this flags is set, and I willl always set low-delay-b enabled, just ignore the user setting of low-delay-b. I am worried about when we really do not support low-delay-b, but user force to use it, just like the last case above, the GPU will hang, and really bad user experience. |
@HeJunyan |
|
Synced with @xhaihao , OK now, no problems. Please help to merge it. thanks. |
I note that on ICElake VDEnc, VAConfigAttribEncMaxRefFrames query return ref0 is 3 and ref1 is 0. So, B frame is not supported. But the low-delay-b just converts P to B. So according to my understand, we should support B and then can support low-delay-b, am I right? |
Any update for this MR? |
Low delay B-frame is supported on ICL+ platform. For low power encoding, low_delay_b should be enabled by default. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Signed-off-by: Linjie Fu <linjie.fu@intel.com>
it is a suppliment of intel#220 to distinguish P frame and low delay B frame Signed-off-by: Carl Zhang <carl.zhang@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: Allows forward-predict only for all B frames, L0 == L1, supported on ICL+ platforms, required by VDENC(low_power). - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allows bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B, allows forward-predict only for all B frames, L0 == L1, supported on ICL+ platforms, required by VDENC(low_power). - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, supported on ICL+ platforms, required by VDENC(low_power). - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Signed-off-by: Linjie Fu <linjie.fu@intel.com>
@xhaihao ,could you help to approve it? |
@XinfengZhang please help to merge it. And help to implement it in the media driver, especially for VME mode. So far, VAConfigAttribPredictionDirection query for VME mode just return error. |
@HeJunyan , there are already a PR with media driver intel/media-driver#858 |
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. This patch will be removed after intel/media-driver#1382 is merged. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Allow user to choose between I/P/B frames: - normal Ordinary IB..BPB..B GOP structure. - low delay B-frames: IB..B GOP structure, P frames replaced by B frames, allows forward-predict only for all B frames, L0 == L1, required by VDENC(low_power), optional for VMEPAK. - reference B-frames: Convert P-frames to low delay B-frames, normal B frames still have 2 different ref_lists and allow bi-prediction. Low delay B: <http://what-when-how.com/Tutorial/topic-397pct9eq3/High-Efficiency-Video-Coding-HEVC-288.html> There is an on-going work in libva and media-driver to add querys support for low delay b, would add it once it's ready: intel/libva#220 intel/libva#364 intel/media-driver#721 Rebased a bit for this internal branch. This patch will be removed after intel/media-driver#1382 is merged. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
it is a suppliment of #220
to distinguish P frame and low delay B frame
Signed-off-by: Carl Zhang carl.zhang@intel.com