mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
msm: vidc: Allow adaptive B frame encode for hevc
Both H264 and HEVC can support adaptive B frame encoding. Change-Id: I4b51a224d9ed9bb173f40ea5c4c919ff2800a85c
This commit is contained in:
parent
d435c9e7f1
commit
f0556555c7
1 changed files with 2 additions and 1 deletions
|
|
@ -2501,7 +2501,8 @@ int msm_venc_set_intra_period(struct msm_vidc_inst *inst)
|
|||
|
||||
intra_period.pframes = gop_size->val;
|
||||
|
||||
if (!max_layer->val && codec == V4L2_PIX_FMT_H264) {
|
||||
/* max_layer 0/1 indicates absence of layer encoding */
|
||||
if (max_layer->val < 2) {
|
||||
/*
|
||||
* At this point we've already made decision on bframe.
|
||||
* Control value gives updated bframe value.
|
||||
|
|
|
|||
Loading…
Reference in a new issue