summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2015-01-21 16:04:57 +0200
committerXiang, Haihao <haihao.xiang@intel.com>2015-03-09 12:50:03 +0800
commitc588b35e677c8016d772e1ff2e70f96ad1f43b86 (patch)
tree2029c6849a75031108773bdd277997441028b6f0
parent79b2c01caf9b12708148739c40dcf715e51c520b (diff)
downloadlibva-intel-driver-c588b35e677c8016d772e1ff2e70f96ad1f43b86.tar.gz
libva-intel-driver-c588b35e677c8016d772e1ff2e70f96ad1f43b86.tar.bz2
libva-intel-driver-c588b35e677c8016d772e1ff2e70f96ad1f43b86.zip
Fix the GetConfigAttributes() for JPEGBaseline profile
Advertise the PACKED_RAW_DATA header support for JPEGEncoding. (cherry picked from commit 3d16cf07b6b65b9bd5c2dd855d97558264a12e79)
-rw-r--r--src/i965_drv_video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index 29ccf05..ac2aeac 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -735,6 +735,10 @@ i965_GetConfigAttributes(VADriverContextP ctx,
}
break;
}
+ else if (entrypoint == VAEntrypointEncPicture) {
+ if (profile == VAProfileJPEGBaseline)
+ attrib_list[i].value = VA_ENC_PACKED_HEADER_RAW_DATA;
+ }
break;
case VAConfigAttribEncMaxRefFrames: