From: Sreerenj Balachandran <sreerenj.balachand...@intel.com>

Advertise the PACKED_RAW_DATA header support for JPEGEncoding.
---
 src/i965_drv_video.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index 7039dd3..5c48460 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -749,6 +749,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:
-- 
1.9.1

_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to