diff --git a/packages/multimedia/libva-intel-driver/package.mk b/packages/multimedia/libva-intel-driver/package.mk index af3f6fbc32..9f8ebfa66a 100644 --- a/packages/multimedia/libva-intel-driver/package.mk +++ b/packages/multimedia/libva-intel-driver/package.mk @@ -17,13 +17,12 @@ ################################################################################ PKG_NAME="libva-intel-driver" -PKG_VERSION="82d2ed8" +PKG_VERSION="1.4.0" PKG_REV="1" PKG_ARCH="i386 x86_64" PKG_LICENSE="GPL" PKG_SITE="http://freedesktop.org/wiki/Software/vaapi" PKG_URL="http://www.freedesktop.org/software/vaapi/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_DEPENDS_TARGET="toolchain libva libdrm" PKG_PRIORITY="optional" PKG_SECTION="multimedia" diff --git a/packages/multimedia/libva-intel-driver/patches/libva-intel-driver-001-upstream.patch b/packages/multimedia/libva-intel-driver/patches/libva-intel-driver-001-upstream.patch index f311281942..464c7735e6 100644 --- a/packages/multimedia/libva-intel-driver/patches/libva-intel-driver-001-upstream.patch +++ b/packages/multimedia/libva-intel-driver/patches/libva-intel-driver-001-upstream.patch @@ -1833,1359 +1833,3 @@ index 190eedb..4668e59 100644 intel_batchbuffer_free(proc_ctx->batch); -From 53f922603aafde5bdcc07abc90e4f394aef0cc58 Mon Sep 17 00:00:00 2001 -From: fritsch -Date: Tue, 12 Aug 2014 20:43:10 +0200 -Subject: [PATCH 15/19] Following haihao's suggestion, make gen6 phantom slice - funcion can be reused by SNB+ - ---- - src/gen6_mfd.c | 81 ++---------------------------------------------- - src/i965_decoder_utils.c | 74 +++++++++++++++++++++++++++++++++++++++++++ - src/i965_decoder_utils.h | 7 +++++ - 3 files changed, 83 insertions(+), 79 deletions(-) - -diff --git a/src/gen6_mfd.c b/src/gen6_mfd.c -index 8128a80..b6d19e8 100755 ---- a/src/gen6_mfd.c -+++ b/src/gen6_mfd.c -@@ -596,56 +596,6 @@ gen6_mfd_avc_slice_state(VADriverContextP ctx, - ADVANCE_BCS_BATCH(batch); - } - --static void --gen6_mfd_avc_phantom_slice_state(VADriverContextP ctx, -- VAPictureParameterBufferH264 *pic_param, -- VASliceParameterBufferH264 *next_slice_param, -- struct gen6_mfd_context *gen6_mfd_context) --{ -- struct intel_batchbuffer *batch = gen6_mfd_context->base.batch; -- int width_in_mbs = pic_param->picture_width_in_mbs_minus1 + 1; -- int height_in_mbs = pic_param->picture_height_in_mbs_minus1 + 1; /* frame height */ -- int slice_hor_pos, slice_ver_pos, slice_start_mb_num, next_slice_hor_pos, next_slice_ver_pos; -- int mbaff_picture = (!pic_param->pic_fields.bits.field_pic_flag && -- pic_param->seq_fields.bits.mb_adaptive_frame_field_flag); -- -- if (next_slice_param) { -- int first_mb_in_next_slice; -- -- slice_hor_pos = 0; -- slice_ver_pos = 0; -- slice_start_mb_num = 0; -- first_mb_in_next_slice = next_slice_param->first_mb_in_slice << mbaff_picture; -- next_slice_hor_pos = first_mb_in_next_slice % width_in_mbs; -- next_slice_ver_pos = first_mb_in_next_slice / width_in_mbs; -- } else { -- slice_hor_pos = 0; -- slice_ver_pos = height_in_mbs; -- slice_start_mb_num = width_in_mbs * height_in_mbs / (1 + !!pic_param->pic_fields.bits.field_pic_flag); -- next_slice_hor_pos = 0; -- next_slice_ver_pos = 0; -- } -- -- BEGIN_BCS_BATCH(batch, 11); /* FIXME: is it 10??? */ -- OUT_BCS_BATCH(batch, MFX_AVC_SLICE_STATE | (11 - 2)); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, -- slice_ver_pos << 24 | -- slice_hor_pos << 16 | -- slice_start_mb_num << 0); -- OUT_BCS_BATCH(batch, -- next_slice_ver_pos << 16 | -- next_slice_hor_pos << 0); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- ADVANCE_BCS_BATCH(batch); --} -- - static inline void - gen6_mfd_avc_ref_idx_state(VADriverContextP ctx, - VAPictureParameterBufferH264 *pic_param, -@@ -747,39 +697,12 @@ gen6_mfd_avc_bsd_object(VADriverContextP ctx, - } - - static void --gen6_mfd_avc_phantom_slice_bsd_object(VADriverContextP ctx, -- VAPictureParameterBufferH264 *pic_param, -- struct gen6_mfd_context *gen6_mfd_context) --{ -- struct intel_batchbuffer *batch = gen6_mfd_context->base.batch; -- -- BEGIN_BCS_BATCH(batch, 6); -- OUT_BCS_BATCH(batch, MFD_AVC_BSD_OBJECT | (6 - 2)); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- OUT_BCS_BATCH(batch, 0); -- ADVANCE_BCS_BATCH(batch); --} -- --static void --gen6_mfd_avc_phantom_slice(VADriverContextP ctx, -- VAPictureParameterBufferH264 *pic_param, -- VASliceParameterBufferH264 *next_slice_param, -- struct gen6_mfd_context *gen6_mfd_context) --{ -- gen6_mfd_avc_phantom_slice_state(ctx, pic_param, next_slice_param, gen6_mfd_context); -- gen6_mfd_avc_phantom_slice_bsd_object(ctx, pic_param, gen6_mfd_context); --} -- --static void - gen6_mfd_avc_phantom_slice_first(VADriverContextP ctx, - VAPictureParameterBufferH264 *pic_param, - VASliceParameterBufferH264 *next_slice_param, - struct gen6_mfd_context *gen6_mfd_context) - { -- gen6_mfd_avc_phantom_slice(ctx, pic_param, next_slice_param, gen6_mfd_context); -+ gen6_mfd_avc_phantom_slice(ctx, pic_param, next_slice_param, gen6_mfd_context->base.batch); - } - - static void -@@ -787,7 +710,7 @@ gen6_mfd_avc_phantom_slice_last(VADriverContextP ctx, - VAPictureParameterBufferH264 *pic_param, - struct gen6_mfd_context *gen6_mfd_context) - { -- gen6_mfd_avc_phantom_slice(ctx, pic_param, NULL, gen6_mfd_context); -+ gen6_mfd_avc_phantom_slice(ctx, pic_param, NULL, gen6_mfd_context->base.batch); - } - - static void -diff --git a/src/i965_decoder_utils.c b/src/i965_decoder_utils.c -index 546285e..2b4ea75 100644 ---- a/src/i965_decoder_utils.c -+++ b/src/i965_decoder_utils.c -@@ -486,6 +486,80 @@ gen6_send_avc_ref_idx_state( - frame_store - ); - } -+static void -+gen6_mfd_avc_phantom_slice_state(VADriverContextP ctx, -+ VAPictureParameterBufferH264 *pic_param, -+ VASliceParameterBufferH264 *next_slice_param, -+ struct intel_batchbuffer *batch) -+{ -+ int width_in_mbs = pic_param->picture_width_in_mbs_minus1 + 1; -+ int height_in_mbs = pic_param->picture_height_in_mbs_minus1 + 1; /* frame height */ -+ int slice_hor_pos, slice_ver_pos, slice_start_mb_num, next_slice_hor_pos, next_slice_ver_pos; -+ int mbaff_picture = (!pic_param->pic_fields.bits.field_pic_flag && -+ pic_param->seq_fields.bits.mb_adaptive_frame_field_flag); -+ -+ if (next_slice_param) { -+ int first_mb_in_next_slice; -+ -+ slice_hor_pos = 0; -+ slice_ver_pos = 0; -+ slice_start_mb_num = 0; -+ first_mb_in_next_slice = next_slice_param->first_mb_in_slice << mbaff_picture; -+ next_slice_hor_pos = first_mb_in_next_slice % width_in_mbs; -+ next_slice_ver_pos = first_mb_in_next_slice / width_in_mbs; -+ } else { -+ slice_hor_pos = 0; -+ slice_ver_pos = height_in_mbs; -+ slice_start_mb_num = width_in_mbs * height_in_mbs / (1 + !!pic_param->pic_fields.bits.field_pic_flag); -+ next_slice_hor_pos = 0; -+ next_slice_ver_pos = 0; -+ } -+ -+ BEGIN_BCS_BATCH(batch, 11); /* FIXME: is it 10??? */ -+ OUT_BCS_BATCH(batch, MFX_AVC_SLICE_STATE | (11 - 2)); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, -+ slice_ver_pos << 24 | -+ slice_hor_pos << 16 | -+ slice_start_mb_num << 0); -+ OUT_BCS_BATCH(batch, -+ next_slice_ver_pos << 16 | -+ next_slice_hor_pos << 0); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ ADVANCE_BCS_BATCH(batch); -+} -+ -+static void -+gen6_mfd_avc_phantom_slice_bsd_object(VADriverContextP ctx, -+ VAPictureParameterBufferH264 *pic_param, -+ struct intel_batchbuffer *batch) -+{ -+ -+ BEGIN_BCS_BATCH(batch, 6); -+ OUT_BCS_BATCH(batch, MFD_AVC_BSD_OBJECT | (6 - 2)); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ OUT_BCS_BATCH(batch, 0); -+ ADVANCE_BCS_BATCH(batch); -+} -+ -+void -+gen6_mfd_avc_phantom_slice(VADriverContextP ctx, -+ VAPictureParameterBufferH264 *pic_param, -+ VASliceParameterBufferH264 *next_slice_param, -+ struct intel_batchbuffer *batch) -+{ -+ gen6_mfd_avc_phantom_slice_state(ctx, pic_param, next_slice_param, batch); -+ gen6_mfd_avc_phantom_slice_bsd_object(ctx, pic_param, batch); -+} - - /* Comparison function for sorting out the array of free frame store entries */ - static int -diff --git a/src/i965_decoder_utils.h b/src/i965_decoder_utils.h -index 3d39b21..3e6acdd 100644 ---- a/src/i965_decoder_utils.h -+++ b/src/i965_decoder_utils.h -@@ -89,6 +89,13 @@ gen6_send_avc_ref_idx_state( - const GenFrameStore frame_store[MAX_GEN_REFERENCE_FRAMES] - ); - -+void -+gen6_mfd_avc_phantom_slice(VADriverContextP ctx, -+ VAPictureParameterBufferH264 *pic_param, -+ VASliceParameterBufferH264 *next_slice_param, -+ struct intel_batchbuffer *batch -+); -+ - VAStatus - intel_decoder_sanity_check_input(VADriverContextP ctx, - VAProfile profile, - -From 2ee164dcc869f1f48c90ff0e7e314c81638b5ae6 Mon Sep 17 00:00:00 2001 -From: fritsch -Date: Tue, 12 Aug 2014 20:43:57 +0200 -Subject: [PATCH 16/19] Add phantom slice support on IVB+ - ---- - src/gen75_mfd.c | 12 ++++++++++++ - src/gen7_mfd.c | 12 ++++++++++++ - src/gen8_mfd.c | 13 +++++++++++++ - 3 files changed, 37 insertions(+) - -diff --git a/src/gen75_mfd.c b/src/gen75_mfd.c -index a89640d..299f2b5 100644 ---- a/src/gen75_mfd.c -+++ b/src/gen75_mfd.c -@@ -812,6 +812,15 @@ gen75_mfd_avc_directmode_state(VADriverContextP ctx, - } - - static void -+gen75_mfd_avc_phantom_slice_first(VADriverContextP ctx, -+ VAPictureParameterBufferH264 *pic_param, -+ VASliceParameterBufferH264 *next_slice_param, -+ struct gen7_mfd_context *gen7_mfd_context) -+{ -+ gen6_mfd_avc_phantom_slice(ctx, pic_param, next_slice_param, gen7_mfd_context->base.batch); -+} -+ -+static void - gen75_mfd_avc_slice_state(VADriverContextP ctx, - VAPictureParameterBufferH264 *pic_param, - VASliceParameterBufferH264 *slice_param, -@@ -1145,6 +1154,9 @@ gen75_mfd_avc_decode_picture(VADriverContextP ctx, - else - next_slice_group_param = (VASliceParameterBufferH264 *)decode_state->slice_params[j + 1]->buffer; - -+ if (j == 0 && slice_param->first_mb_in_slice) -+ gen75_mfd_avc_phantom_slice_first(ctx, pic_param, slice_param, gen7_mfd_context); -+ - for (i = 0; i < decode_state->slice_params[j]->num_elements; i++) { - assert(slice_param->slice_data_flag == VA_SLICE_DATA_FLAG_ALL); - assert((slice_param->slice_type == SLICE_TYPE_I) || -diff --git a/src/gen7_mfd.c b/src/gen7_mfd.c -index 7ab2955..bfb95bf 100755 ---- a/src/gen7_mfd.c -+++ b/src/gen7_mfd.c -@@ -506,6 +506,15 @@ gen7_mfd_avc_directmode_state(VADriverContextP ctx, - } - - static void -+gen7_mfd_avc_phantom_slice_first(VADriverContextP ctx, -+ VAPictureParameterBufferH264 *pic_param, -+ VASliceParameterBufferH264 *next_slice_param, -+ struct gen7_mfd_context *gen7_mfd_context) -+{ -+ gen6_mfd_avc_phantom_slice(ctx, pic_param, next_slice_param, gen7_mfd_context->base.batch); -+} -+ -+static void - gen7_mfd_avc_slice_state(VADriverContextP ctx, - VAPictureParameterBufferH264 *pic_param, - VASliceParameterBufferH264 *slice_param, -@@ -842,6 +851,9 @@ gen7_mfd_avc_decode_picture(VADriverContextP ctx, - else - next_slice_group_param = (VASliceParameterBufferH264 *)decode_state->slice_params[j + 1]->buffer; - -+ if (j == 0 && slice_param->first_mb_in_slice) -+ gen7_mfd_avc_phantom_slice_first(ctx, pic_param, slice_param, gen7_mfd_context); -+ - for (i = 0; i < decode_state->slice_params[j]->num_elements; i++) { - assert(slice_param->slice_data_flag == VA_SLICE_DATA_FLAG_ALL); - assert((slice_param->slice_type == SLICE_TYPE_I) || -diff --git a/src/gen8_mfd.c b/src/gen8_mfd.c -index 5e1b70b..941c21b 100644 ---- a/src/gen8_mfd.c -+++ b/src/gen8_mfd.c -@@ -575,6 +575,15 @@ gen8_mfd_avc_directmode_state(VADriverContextP ctx, - } - - static void -+gen8_mfd_avc_phantom_slice_first(VADriverContextP ctx, -+ VAPictureParameterBufferH264 *pic_param, -+ VASliceParameterBufferH264 *next_slice_param, -+ struct gen7_mfd_context *gen7_mfd_context) -+{ -+ gen6_mfd_avc_phantom_slice(ctx, pic_param, next_slice_param, gen7_mfd_context->base.batch); -+} -+ -+static void - gen8_mfd_avc_slice_state(VADriverContextP ctx, - VAPictureParameterBufferH264 *pic_param, - VASliceParameterBufferH264 *slice_param, -@@ -908,6 +917,10 @@ gen8_mfd_avc_decode_picture(VADriverContextP ctx, - else - next_slice_group_param = (VASliceParameterBufferH264 *)decode_state->slice_params[j + 1]->buffer; - -+ if (j == 0 && slice_param->first_mb_in_slice) -+ gen8_mfd_avc_phantom_slice_first(ctx, pic_param, slice_param, gen7_mfd_context); -+ -+ - for (i = 0; i < decode_state->slice_params[j]->num_elements; i++) { - assert(slice_param->slice_data_flag == VA_SLICE_DATA_FLAG_ALL); - assert((slice_param->slice_type == SLICE_TYPE_I) || - -From 67dc775fbae47f45c4e3faebecc0a9391883c728 Mon Sep 17 00:00:00 2001 -From: Gwenole Beauchesne -Date: Wed, 18 Jun 2014 13:11:48 +0200 -Subject: [PATCH 17/19] decoder: h264: fix RefPicList0/1 without frame in DPB. - ---- - src/i965_decoder_utils.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/i965_decoder_utils.c b/src/i965_decoder_utils.c -index 2b4ea75..a6bf679 100644 ---- a/src/i965_decoder_utils.c -+++ b/src/i965_decoder_utils.c -@@ -600,6 +600,8 @@ intel_update_avc_frame_store_index( - continue; - - GenAvcSurface * const avc_surface = obj_surface->private_data; -+ if (!avc_surface) -+ continue; - if (avc_surface->frame_store_id >= 0) { - GenFrameStore * const fs = - &frame_store[avc_surface->frame_store_id]; -@@ -633,6 +635,8 @@ intel_update_avc_frame_store_index( - continue; - - GenAvcSurface * const avc_surface = obj_surface->private_data; -+ if (!avc_surface) -+ continue; - if (n < num_free_refs) { - GenFrameStore * const fs = free_refs[n++]; - fs->surface_id = obj_surface->base.id; - -From 59cbc497a232daa746e5d1e987dedbd032446ebe Mon Sep 17 00:00:00 2001 -From: fritsch -Date: Tue, 19 Aug 2014 20:31:58 +0200 -Subject: [PATCH 18/19] Add debian files for ppa packaging thx @wsnipex - ---- - debian/README.Debian | 48 ++++ - debian/changelog | 218 +++++++++++++++++ - debian/clean | 2 + - debian/compat | 1 + - debian/control | 139 +++++++++++ - debian/copyright | 304 ++++++++++++++++++++++++ - debian/gbp.conf | 2 + - debian/i965-va-driver.install | 1 + - debian/intel-get-orig-source | 65 +++++ - debian/patches/0001-Fix_FTBFS_on_kFreeBSD.patch | 33 +++ - debian/patches/series | 1 + - debian/rules | 16 ++ - debian/source/format | 1 + - debian/source/options | 2 + - debian/watch | 3 + - 15 files changed, 836 insertions(+) - create mode 100644 debian/README.Debian - create mode 100644 debian/changelog - create mode 100644 debian/clean - create mode 100644 debian/compat - create mode 100644 debian/control - create mode 100644 debian/copyright - create mode 100644 debian/gbp.conf - create mode 100644 debian/i965-va-driver.install - create mode 100755 debian/intel-get-orig-source - create mode 100644 debian/patches/0001-Fix_FTBFS_on_kFreeBSD.patch - create mode 100644 debian/patches/series - create mode 100755 debian/rules - create mode 100644 debian/source/format - create mode 100644 debian/source/options - create mode 100644 debian/watch - -diff --git a/debian/README.Debian b/debian/README.Debian -new file mode 100644 -index 0000000..6c3acab ---- /dev/null -+++ b/debian/README.Debian -@@ -0,0 +1,48 @@ -+intel-vaapi-driver for Debian -+----------------------------- -+ -+Supported hardware: -+------------------ -+ -+Sandybridge Intel® HD Graphics 2000/3000 -+ (used in 2nd Generation Intel® Core™ i7/i5/i3 processor family) -+HD Intel® HD Graphics -+ (used in Intel® 2010 Core™ i7/i5/i3 processor family) -+GMA3150 Intel® Graphics Media Accelerator 3150 -+ (used in Intel® Atom™ processor N450/D410/D450 family) -+G45 Intel® G45 Express Chipset -+Q45 Intel® Q45 Express Chipset -+G43 Intel® G43 Express Chipset -+Q43 Intel® Q43 Express Chipset -+B43 Intel® B43 Express Chipset -+G41 Intel® G41 Express Chipset -+GM45 Mobile Intel® GM45/GS45/GL40 Express Chipset -+G35 Intel® G35 Express Chipset -+Q35 Intel® Q35 Express Chipset -+Q33 Intel® Q33 Express Chipset -+G33 Intel® G33/G31 Express Chipset -+965GM Mobile Intel® GM965 Express Chipset -+965G G965 Integrated Graphics Controller -+965Q Q963/Q965 Integrated Graphics Controller -+946GZ 946GZ/GL Integrated Graphics Controller -+945G 945G Integrated Graphics Controller -+945GM Mobile 945GM/GMS/940GML Express Integrated Graphics Controller -+915G 82915G/GV/910GL Express Chipset Family Graphics Controller -+915GM Mobile 915GM/GMS/910GML Express Graphics Controller -+865G 82865G Integrated Graphics Controller -+855GM 82852/855GM Integrated Graphics Device -+845G 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device -+i830M 82830 Chipset Graphics Controller -+815 82815 Chipset Graphics Controller -+810 82810 Chipset Graphics Controller -+810-DC100 82810-M DC-100 System and Graphics Controller -+ -+Codecs: -+------ -+ -+H.264 D ILK+ -+H.264 E SNB+ -+MPEG-2 D CTG+ -+VC-1 D SNB+ -+ -+ -- Matteo F. Vescovi Mon, 09 Jan 2012 10:00:00 +0100 -diff --git a/debian/changelog b/debian/changelog -new file mode 100644 -index 0000000..1414df0 ---- /dev/null -+++ b/debian/changelog -@@ -0,0 +1,218 @@ -+intel-vaapi-driver (1.3.3~pre1-3~trusty) trusty; urgency=medium -+ -+ * [PATCH] decoder: h264: fix RefPicList0/1 without frame in DPB -+ fixes https://bugs.freedesktop.org/show_bug.cgi?id=82466 -+ -+ -- wsnipex Wed, 06 Aug 2014 20:21:41 +0200 -+ -+intel-vaapi-driver (1.3.3~pre1-2~trusty) trusty; urgency=medium -+ -+ * drop [PATCH] Check first_mb_in_slice of the first slice in favor of: -+ * add [PATCH] Add phantom slice support on IVB+ -+ http://lists.freedesktop.org/archives/libva/2014-August/002565.html -+ -+ -- wsnipex Wed, 06 Aug 2014 20:21:41 +0200 -+ -+intel-vaapi-driver (1.3.3~pre1~trusty) trusty; urgency=medium -+ -+ * updated to 82d2ed8d7da3619c0ea467c06604f5626fc0b901 -+ * added [PATCH] Check first_mb_in_slice of the first slice -+ - fixes upstream #81447 -+ -+ -- wsnipex Tue, 05 Aug 2014 18:10:15 +0200 -+ -+intel-vaapi-driver (1.3.0-1ubuntu1) trusty; urgency=medium -+ -+ * control: Re-add the transitional packages, still needed for -+ upgrades from precise. -+ -+ -- Timo Aaltonen Thu, 17 Apr 2014 00:40:51 +0300 -+ -+intel-vaapi-driver (1.3.0-1) unstable; urgency=medium -+ -+ [ Matteo F. Vescovi ] -+ * New upstream release -+ - debian/patches/: patchset refreshed -+ - 0002-Adjust_default_contrast-saturation.patch dropped -+ (applied upstream) -+ - debian/control: libva-dev b-dep version bump 1.2 => 1.3 -+ -+ [ Sebastian Ramacher ] -+ * debian/copyright: -+ - Add license information for new files. -+ - Update copyright years. -+ * debian/control: -+ - Remove Andres Mejia from Uploaders. Thank you for maintaining -+ intel-vaapi-driver, Andres. (Closes: #743530) -+ - Remove transitional packages which are no longer in the archive. -+ - Add myself to Uploaders. -+ - Remove explicit dependency on libva1. A stricter dependency on libva1 -+ will be generated by dh_shlibdeps anyway. -+ -+ -- Sebastian Ramacher Sat, 05 Apr 2014 15:36:28 +0200 -+ -+intel-vaapi-driver (1.2.2-2) unstable; urgency=medium -+ -+ * debian/patches/: patchset updated -+ - 0001-Fix_FTBFS_on_kFreeBSD.patch refreshed -+ - 0002-Adjust_default_contrast-saturation.patch added (Closes: #734246) -+ -+ -- Matteo F. Vescovi Wed, 15 Jan 2014 18:25:37 +0100 -+ -+intel-vaapi-driver (1.2.2-1) unstable; urgency=low -+ -+ [ Reinhard Tartler ] -+ * Tighten dependency on libdrm (Closes: #732162) -+ -+ [ Matteo F. Vescovi ] -+ * New upstream release -+ * debian/control: S-V bump 3.9.4 => 3.9.5 (no changes needed) -+ -+ -- Matteo F. Vescovi Fri, 03 Jan 2014 15:06:13 +0100 -+ -+intel-vaapi-driver (1.2.1-2) unstable; urgency=low -+ -+ * Upload to unstable. -+ -+ -- Matteo F. Vescovi Thu, 07 Nov 2013 18:00:34 +0100 -+ -+intel-vaapi-driver (1.2.1-1) experimental; urgency=low -+ -+ * New upstream release -+ * debian/patches/: patchset created -+ - 0001-Fix_FTBFS_on_kFreeBSD.patch added (Closes: #722354) -+ -+ -- Matteo F. Vescovi Tue, 15 Oct 2013 19:49:05 +0200 -+ -+intel-vaapi-driver (1.2.0-1) experimental; urgency=low -+ -+ [ Matteo F. Vescovi ] -+ * New upstream release -+ -+ [ Sebastian Ramacher ] -+ * debian/control: Bump libva-dev in Build-Depends to >= 1.2. -+ * debian/copyright: Complete copyright information. (Closes: #719603) -+ - Update Format URL. -+ - Add missing license for src/shaders/post_processing/gen7/*.g4a. -+ - Add full text of EPL-1.0. -+ - Update copyright years. -+ -+ -- Matteo F. Vescovi Sun, 08 Sep 2013 02:04:00 +0200 -+ -+intel-vaapi-driver (1.0.20-2) unstable; urgency=low -+ -+ * Upload to unstable -+ * Enable verbose builds -+ -+ -- Reinhard Tartler Thu, 23 May 2013 07:28:04 +0200 -+ -+intel-vaapi-driver (1.0.20-1) experimental; urgency=low -+ -+ [ Matteo F. Vescovi ] -+ * New upstream release -+ - Supports more decoding profiles for older hardware, closes: #670921 -+ -+ [ Reinhard Tartler ] -+ * Clarify changelog -+ -+ -- Reinhard Tartler Fri, 29 Mar 2013 10:12:26 +0100 -+ -+intel-vaapi-driver (1.0.19-1) experimental; urgency=low -+ -+ [ Matteo F. Vescovi ] -+ * New upstream release -+ * debian/control: S-V 3.9.3 => 3.9.4 (no changes needed) -+ * debian/control: Vcs-Git URL updated -+ -+ [ Reinhard Tartler ] -+ * bump library dependency on libav-dev (>> 1.0.16) -+ this is stated as such in the upstream's README -+ -+ -- Matteo F. Vescovi Tue, 15 Jan 2013 16:23:59 +0100 -+ -+intel-vaapi-driver (1.0.17-1) unstable; urgency=low -+ -+ [ Matteo F. Vescovi ] -+ * New upstream release -+ -+ -- Andres Mejia Tue, 01 May 2012 22:23:31 -0400 -+ -+intel-vaapi-driver (1.0.16-4) unstable; urgency=low -+ -+ * Rename libva-intel-vaapi-driver package back to i965-va-driver. -+ This is done to match naming sceme picked for other VAAPI modules. -+ The name is picked by looking at the name of the *.so file installed -+ under /usr/lib//dri, and using the first part of the name. -+ In this case, the driver file is named "i965_drv_video.so" and so the -+ package to install the driver is named i965-va-driver. -+ -+ -- Andres Mejia Tue, 20 Mar 2012 11:16:29 -0400 -+ -+intel-vaapi-driver (1.0.16-3) unstable; urgency=low -+ -+ * Set Architecture field to specific supported architecture fields. -+ -+ -- Andres Mejia Sat, 17 Mar 2012 10:01:45 -0400 -+ -+intel-vaapi-driver (1.0.16-2) unstable; urgency=low -+ -+ * Make driver build only on i386 and amd64 architectures. -+ -+ -- Andres Mejia Fri, 16 Mar 2012 23:20:26 -0400 -+ -+intel-vaapi-driver (1.0.16-1) unstable; urgency=low -+ -+ [ Matteo F. Vescovi ] -+ * debian/README.Debian: list of supported hardware (Closes: #623045) -+ * debian/control: list of platform definitions added -+ * debian/control: Standards-Version bumped to 3.9.3 -+ * debian/: Multi-Arch support added -+ -+ [ Andres Mejia ] -+ * Add options to unapply patches and abort on upstream changes. -+ * Fix Priority fields in packages. -+ * Don't include version depends in Replaces field. -+ * Add Provides on i965-va-driver for libva-intel-vaapi-driver package. -+ * Remove compression option, it is now gz. -+ * Remove some unneeded lines from debian/rules. -+ * Support parallel builds. -+ * Install NEWS file as changelog and don't install README. README is repition -+ of package description. -+ * Fix watch file. -+ * Add myself to uploaders field. -+ -+ -- Andres Mejia Fri, 16 Mar 2012 12:37:33 -0400 -+ -+intel-vaapi-driver (1.0.15-1) experimental; urgency=low -+ -+ [ Brandon Snider ] -+ * Initial release (Closes: #654567) -+ -+ [ Matteo F. Vescovi ] -+ * debian/gbp.conf: config file added -+ * debian/control: massive change -+ * debian/copyright: little re-work -+ * debian/*.install: renaming due to package's new name -+ * debian/README.*: useless (for now) files removed -+ * debian/clean: clean upstream after build -+ * debian/changelog: ITP bug added -+ * debian/control: "Section:" fields updated/removed -+ * debian/*.install: install path corrected -+ * debian/rules: paths corrected -+ * debian/rules: purging useless commented stuff -+ -+ [ Reinhard Tartler ] -+ * document that shades are licensed under EPL -+ * build-depend on pkg-config -+ * add myself to uploaders -+ * build-depend on libx11-dev -+ * provide a transition path for the i965-va-driver package -+ * tighten build dependency on libva-dev (Closes: #645359) -+ * normalize fields with wrap-and-sort(1) -+ * add ${misc:Depends} to i965-va-driver -+ * i965-va-driver: Add Priority and Section fields. -+ (Found by lintian) -+ * improve package descriptions -+ * i965-va-driver: Correct Breaks/Replaces field -+ -+ -- Reinhard Tartler Thu, 05 Jan 2012 12:59:27 +0100 -diff --git a/debian/clean b/debian/clean -new file mode 100644 -index 0000000..42a99ab ---- /dev/null -+++ b/debian/clean -@@ -0,0 +1,2 @@ -+debian.upstream/changelog -+debian.upstream/control -diff --git a/debian/compat b/debian/compat -new file mode 100644 -index 0000000..ec63514 ---- /dev/null -+++ b/debian/compat -@@ -0,0 +1 @@ -+9 -diff --git a/debian/control b/debian/control -new file mode 100644 -index 0000000..2613919 ---- /dev/null -+++ b/debian/control -@@ -0,0 +1,139 @@ -+Source: intel-vaapi-driver -+Section: libs -+Priority: optional -+Maintainer: Ubuntu Developers -+XSBC-Original-Maintainer: Debian Multimedia Maintainers -+Uploaders: -+ Brandon Snider , -+ Reinhard Tartler , -+ Matteo F. Vescovi , -+ Sebastian Ramacher -+Build-Depends: -+ debhelper (>= 9), -+ dh-autoreconf, -+ libdrm-dev (>= 2.4.45), -+ libva-dev (>= 1.3), -+ libx11-dev, -+ pkg-config -+Standards-Version: 3.9.5 -+Homepage: http://www.freedesktop.org/wiki/Software/vaapi -+Vcs-Git: git://anonscm.debian.org/pkg-multimedia/intel-vaapi-driver.git -+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/intel-vaapi-driver.git -+ -+Package: i965-va-driver -+Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 -+Multi-Arch: same -+Pre-Depends: ${misc:Pre-Depends} -+Depends: -+ ${misc:Depends}, -+ ${shlibs:Depends} -+Breaks: -+ libva-intel-vaapi-driver (<< 1.0.16-4) -+Replaces: -+ libva-intel-vaapi-driver -+Provides: -+ libva-intel-vaapi-driver -+Description: VAAPI driver for Intel G45 & HD Graphics family -+ The VA-API (Video Acceleration API) enables hardware accelerated video -+ decode/encode at various entry-points (VLD, IDCT, Motion Compensation -+ etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 -+ ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3). It provides an interface -+ to fully expose the video decode capabilities in today's GPUs. -+ . -+ Platform definitions: -+ CTG: Cantiga, Intel GMA 4500MHD (GM45) -+ ILK: Ironlake, Intel HD Graphics for 2010 Intel Core processor family -+ SNB: Sandybridge, Intel HD Graphics for 2011 Intel Core processor family -+ IVB: Ivybridge -+ . -+ This package contains the video decode & encode driver backend for the -+ Intel G45 chipsets and Intel HD Graphics for Intel Core processor -+ family. -+ -+Package: i965-va-driver-dbg -+Section: debug -+Priority: extra -+Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 -+Multi-Arch: same -+Breaks: -+ libva-intel-vaapi-driver-dbg (<< 1.0.16-4) -+Replaces: -+ libva-intel-vaapi-driver-dbg -+Provides: -+ libva-intel-vaapi-driver-dbg -+Depends: -+ i965-va-driver (= ${binary:Version}), -+ ${misc:Depends} -+Description: VAAPI driver for Intel G45 & HD Graphics family (debug symbols) -+ Video decode & encode driver for Intel G45 chipsets and Intel HD -+ Graphics for Intel Core processor family. -+ . -+ The VA-API (Video Acceleration API) enables hardware accelerated video -+ decode/encode at various entry-points (VLD, IDCT, Motion Compensation -+ etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 -+ ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3). It provides an interface -+ to fully expose the video decode capabilities in today's GPUs. -+ . -+ This package contains the debug files for the video decode & encode -+ driver backend for the Intel G45 chipsets and Intel HD Graphics for -+ Intel Core processor family. -+ -+Package: libva-intel-vaapi-driver -+Architecture: all -+Multi-Arch: foreign -+Depends: -+ i965-va-driver, -+ ${misc:Depends} -+Section: oldlibs -+Priority: extra -+Description: VAAPI driver for Intel G45 & HD Graphics family (transitional package) -+ The VA-API (Video Acceleration API) enables hardware accelerated video -+ decode/encode at various entry-points (VLD, IDCT, Motion Compensation -+ etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 -+ ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3). It provides an interface -+ to fully expose the video decode capabilities in today's GPUs. -+ . -+ Platform definitions: -+ CTG: Cantiga, Intel GMA 4500MHD (GM45) -+ ILK: Ironlake, Intel HD Graphics for 2010 Intel Core processor family -+ SNB: Sandybridge, Intel HD Graphics for 2011 Intel Core processor family -+ IVB: Ivybridge -+ . -+ This package installs the video decode & encode driver backend for the -+ Intel G45 chipsets and Intel HD Graphics for Intel Core processor -+ family. -+ . -+ This package ensures a smooth upgrades from previous versions of Debian. -+ It can safely be removed if no other packages depend on it. -+ -+Package: libva-intel-vaapi-driver-dbg -+Architecture: all -+Multi-Arch: foreign -+Depends: -+ i965-va-driver-dbg, -+ ${misc:Depends} -+Section: oldlibs -+Priority: extra -+Description: VAAPI driver for Intel G45 & HD Graphics family (dbg transitional package) -+ The VA-API (Video Acceleration API) enables hardware accelerated video -+ decode/encode at various entry-points (VLD, IDCT, Motion Compensation -+ etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 -+ ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3). It provides an interface -+ to fully expose the video decode capabilities in today's GPUs. -+ . -+ Platform definitions: -+ CTG: Cantiga, Intel GMA 4500MHD (GM45) -+ ILK: Ironlake, Intel HD Graphics for 2010 Intel Core processor family -+ SNB: Sandybridge, Intel HD Graphics for 2011 Intel Core processor family -+ IVB: Ivybridge -+ . -+ This package installs the video decode & encode driver backend for the -+ Intel G45 chipsets and Intel HD Graphics for Intel Core processor -+ family. -+ . -+ This package contains the debug files for the video decode & encode -+ driver backend for the Intel G45 chipsets and Intel HD Graphics for -+ Intel Core processor family. -+ . -+ This package ensures a smooth upgrades from previous versions of Debian. -+ It can safely be removed if no other packages depend on it. -diff --git a/debian/copyright b/debian/copyright -new file mode 100644 -index 0000000..f162a41 ---- /dev/null -+++ b/debian/copyright -@@ -0,0 +1,304 @@ -+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -+Upstream-Name: i965-va-driver -+Upstream-Contact: Chang Zhou -+ Gwenole Beauchesne -+ Haihao Xiang (primary author) -+ Nanhai Zou -+Source: http://www.freedesktop.org/wiki/Software/vaapi -+ -+Files: * -+Copyright: 2006-2014, Intel Corportation -+ 2009, Splitted-Desktop Systems -+License: Expat -+ -+Files: src/shaders/* -+Copyright: 2006,2008-2013, Intel Corportation -+License: EPL-1.0 -+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE -+ PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION -+ OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. -+ . -+ 1. DEFINITIONS -+ . -+ "Contribution" means: -+ . -+ a) in the case of the initial Contributor, the initial code and -+ documentation distributed under this Agreement, and -+ b) in the case of each subsequent Contributor: -+ i) changes to the Program, and -+ ii) additions to the Program; -+ where such changes and/or additions to the Program originate -+ from and are distributed by that particular Contributor. A -+ Contribution 'originates' from a Contributor if it was added to -+ the Program by such Contributor itself or anyone acting on such -+ Contributor's behalf. Contributions do not include additions to -+ the Program which: (i) are separate modules of software -+ distributed in conjunction with the Program under their own -+ license agreement, and (ii) are not derivative works of the -+ Program. -+ . -+ "Contributor" means any person or entity that distributes the -+ Program. -+ . -+ "Licensed Patents" mean patent claims licensable by a Contributor -+ which are necessarily infringed by the use or sale of its -+ Contribution alone or when combined with the Program. -+ . -+ "Program" means the Contributions distributed in accordance with this -+ Agreement. -+ . -+ "Recipient" means anyone who receives the Program under this -+ Agreement, including all Contributors. -+ . -+ 2. GRANT OF RIGHTS -+ . -+ a) Subject to the terms of this Agreement, each Contributor hereby -+ grants Recipient a non-exclusive, worldwide, royalty-free -+ copyright license to reproduce, prepare derivative works of, -+ publicly display, publicly perform, distribute and sublicense -+ the Contribution of such Contributor, if any, and such -+ derivative works, in source code and object code form. -+ b) Subject to the terms of this Agreement, each Contributor hereby -+ grants Recipient a non-exclusive, worldwide, royalty-free -+ patent license under Licensed Patents to make, use, sell, offer -+ to sell, import and otherwise transfer the Contribution of such -+ Contributor, if any, in source code and object code form. This -+ patent license shall apply to the combination of the -+ Contribution and the Program if, at the time the Contribution -+ is added by the Contributor, such addition of the Contribution -+ causes such combination to be covered by the Licensed -+ Patents. The patent license shall not apply to any other -+ combinations which include the Contribution. No hardware per se -+ is licensed hereunder. -+ c) Recipient understands that although each Contributor grants the -+ licenses to its Contributions set forth herein, no assurances -+ are provided by any Contributor that the Program does not -+ infringe the patent or other intellectual property rights of -+ any other entity. Each Contributor disclaims any liability to -+ Recipient for claims brought by any other entity based on -+ infringement of intellectual property rights or otherwise. As a -+ condition to exercising the rights and licenses granted -+ hereunder, each Recipient hereby assumes sole responsibility to -+ secure any other intellectual property rights needed, if -+ any. For example, if a third party patent license is required -+ to allow Recipient to distribute the Program, it is Recipient's -+ responsibility to acquire that license before distributing the -+ Program. -+ d) Each Contributor represents that to its knowledge it has -+ sufficient copyright rights in its Contribution, if any, to -+ grant the copyright license set forth in this Agreement. -+ . -+ 3. REQUIREMENTS -+ . -+ A Contributor may choose to distribute the Program in object code -+ form under its own license agreement, provided that: -+ . -+ a) it complies with the terms and conditions of this Agreement; -+ and -+ b) its license agreement: -+ i) effectively disclaims on behalf of all Contributors all -+ warranties and conditions, express and implied, including -+ warranties or conditions of title and non-infringement, and -+ implied warranties or conditions of merchantability and -+ fitness for a particular purpose; -+ ii) effectively excludes on behalf of all Contributors all -+ liability for damages, including direct, indirect, special, -+ incidental and consequential damages, such as lost profits; -+ iii) states that any provisions which differ from this -+ Agreement are offered by that Contributor alone and not by -+ any other party; and -+ iv) states that source code for the Program is available from -+ such Contributor, and informs licensees how to obtain it in -+ a reasonable manner on or through a medium customarily used -+ for software exchange. -+ . -+ When the Program is made available in source code form: -+ . -+ a) it must be made available under this Agreement; and -+ b) a copy of this Agreement must be included with each copy of the Program. -+ . -+ Contributors may not remove or alter any copyright notices contained -+ within the Program. -+ . -+ Each Contributor must identify itself as the originator of its -+ Contribution, if any, in a manner that reasonably allows subsequent -+ Recipients to identify the originator of the Contribution. -+ . -+ 4. COMMERCIAL DISTRIBUTION -+ . -+ Commercial distributors of software may accept certain -+ responsibilities with respect to end users, business partners and the -+ like. While this license is intended to facilitate the commercial use -+ of the Program, the Contributor who includes the Program in a -+ commercial product offering should do so in a manner which does not -+ create potential liability for other Contributors. Therefore, if a -+ Contributor includes the Program in a commercial product offering, -+ such Contributor ("Commercial Contributor") hereby agrees to defend -+ and indemnify every other Contributor ("Indemnified Contributor") -+ against any losses, damages and costs (collectively "Losses") arising -+ from claims, lawsuits and other legal actions brought by a third -+ party against the Indemnified Contributor to the extent caused by the -+ acts or omissions of such Commercial Contributor in connection with -+ its distribution of the Program in a commercial product offering. The -+ obligations in this section do not apply to any claims or Losses -+ relating to any actual or alleged intellectual property -+ infringement. In order to qualify, an Indemnified Contributor must: -+ a) promptly notify the Commercial Contributor in writing of such -+ claim, and b) allow the Commercial Contributor to control, and -+ cooperate with the Commercial Contributor in, the defense and any -+ related settlement negotiations. The Indemnified Contributor may -+ participate in any such claim at its own expense. -+ . -+ For example, a Contributor might include the Program in a commercial -+ product offering, Product X. That Contributor is then a Commercial -+ Contributor. If that Commercial Contributor then makes performance -+ claims, or offers warranties related to Product X, those performance -+ claims and warranties are such Commercial Contributor's -+ responsibility alone. Under this section, the Commercial Contributor -+ would have to defend claims against the other Contributors related to -+ those performance claims and warranties, and if a court requires any -+ other Contributor to pay any damages as a result, the Commercial -+ Contributor must pay those damages. -+ . -+ 5. NO WARRANTY -+ . -+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS -+ PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -+ KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY -+ WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY -+ OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -+ responsible for determining the appropriateness of using and -+ distributing the Program and assumes all risks associated with its -+ exercise of rights under this Agreement , including but not limited -+ to the risks and costs of program errors, compliance with applicable -+ laws, damage to or loss of data, programs or equipment, and -+ unavailability or interruption of operations. -+ . -+ 6. DISCLAIMER OF LIABILITY -+ . -+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT -+ NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, -+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -+ (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON -+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR -+ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF -+ THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS -+ GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH -+ DAMAGES. -+ . -+ 7. GENERAL -+ . -+ If any provision of this Agreement is invalid or unenforceable under -+ applicable law, it shall not affect the validity or enforceability of -+ the remainder of the terms of this Agreement, and without further -+ action by the parties hereto, such provision shall be reformed to the -+ minimum extent necessary to make such provision valid and -+ enforceable. -+ . -+ If Recipient institutes patent litigation against any entity -+ (including a cross-claim or counterclaim in a lawsuit) alleging that -+ the Program itself (excluding combinations of the Program with other -+ software or hardware) infringes such Recipient's patent(s), then such -+ Recipient's rights granted under Section 2(b) shall terminate as of -+ the date such litigation is filed. -+ . -+ All Recipient's rights under this Agreement shall terminate if it -+ fails to comply with any of the material terms or conditions of this -+ Agreement and does not cure such failure in a reasonable period of -+ time after becoming aware of such noncompliance. If all Recipient's -+ rights under this Agreement terminate, Recipient agrees to cease use -+ and distribution of the Program as soon as reasonably -+ practicable. However, Recipient's obligations under this Agreement -+ and any licenses granted by Recipient relating to the Program shall -+ continue and survive. -+ . -+ Everyone is permitted to copy and distribute copies of this -+ Agreement, but in order to avoid inconsistency the Agreement is -+ copyrighted and may only be modified in the following manner. The -+ Agreement Steward reserves the right to publish new versions -+ (including revisions) of this Agreement from time to time. No one -+ other than the Agreement Steward has the right to modify this -+ Agreement. The Eclipse Foundation is the initial Agreement -+ Steward. The Eclipse Foundation may assign the responsibility to -+ serve as the Agreement Steward to a suitable separate entity. Each -+ new version of the Agreement will be given a distinguishing version -+ number. The Program (including Contributions) may always be -+ distributed subject to the version of the Agreement under which it -+ was received. In addition, after a new version of the Agreement is -+ published, Contributor may elect to distribute the Program (including -+ its Contributions) under the new version. Except as expressly stated -+ in Sections 2(a) and 2(b) above, Recipient receives no rights or -+ licenses to the intellectual property of any Contributor under this -+ Agreement, whether expressly, by implication, estoppel or -+ otherwise. All rights in the Program not expressly granted under this -+ Agreement are reserved. -+ . -+ This Agreement is governed by the laws of the State of New York and -+ the intellectual property laws of the United States of America. No -+ party to this Agreement will bring a legal action under this -+ Agreement more than one year after the cause of action arose. Each -+ party waives its rights to a jury trial in any resulting litigation. -+ -+Files: src/shaders/post_processing/gen7/*.g4a -+ src/shaders/post_processing/gen8/*.g8a -+Copyright: 2000-2012, Intel Corportation -+License: Apache-2.0 -+ Licensed under the Apache License, Version 2.0 (the "License"); -+ you may not use this file except in compliance with the License. -+ You may obtain a copy of the License at -+ . -+ http://www.apache.org/licenses/LICENSE-2.0 -+ . -+ Unless required by applicable law or agreed to in writing, software -+ distributed under the License is distributed on an "AS IS" BASIS, -+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -+ See the License for the specific language governing permissions and -+ limitations under the License. -+ . -+ On a Debian system, the complete text of the Apache License, Version 2.0 can be -+ found in "/usr/share/common-licenses/Apache-2.0". -+ -+Files: src/shaders/render/*.g8a -+Copyright: 2013, Intel Corporation -+License: Expat -+ -+Files: debian/* -+Copyright: 2011 Brandon Snider -+License: GPL-2+ -+ This package is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 2 of the License, or -+ (at your option) any later version. -+ . -+ This package is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+Comment: -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see -+ . -+ On Debian systems, the complete text of the GNU General -+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". -+ -+License: Expat -+ Permission is hereby granted, free of charge, to any person obtaining a -+ copy of this software and associated documentation files (the -+ "Software"), to deal in the Software without restriction, including -+ without limitation the rights to use, copy, modify, merge, publish, -+ distribute, sub license, and/or sell copies of the Software, and to -+ permit persons to whom the Software is furnished to do so, subject to -+ the following conditions: -+ . -+ The above copyright notice and this permission notice (including the -+ next paragraph) shall be included in all copies or substantial portions -+ of the Software. -+ . -+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. -+ IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR -+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -+ -diff --git a/debian/gbp.conf b/debian/gbp.conf -new file mode 100644 -index 0000000..cec628c ---- /dev/null -+++ b/debian/gbp.conf -@@ -0,0 +1,2 @@ -+[DEFAULT] -+pristine-tar = True -diff --git a/debian/i965-va-driver.install b/debian/i965-va-driver.install -new file mode 100644 -index 0000000..6deaf51 ---- /dev/null -+++ b/debian/i965-va-driver.install -@@ -0,0 +1 @@ -+usr/lib/*/dri/*.so -diff --git a/debian/intel-get-orig-source b/debian/intel-get-orig-source -new file mode 100755 -index 0000000..71dad1d ---- /dev/null -+++ b/debian/intel-get-orig-source -@@ -0,0 +1,65 @@ -+#!/bin/sh -+ -+# This script is used to download the upstream source for libva and -+# generate it into an orig source tarball for Debian. -+ -+# Common variables used to ease maintenance of this script -+I965_VERSION="1.0.15" -+I965_TARBALL="intel-driver-$I965_VERSION.tar.gz" -+I965_ORIG_TARBALL="intel-driver_$I965_VERSION.orig.tar.gz" -+USAGE="\n\ -+This script is used to generate the orig tarball used in building\n\ -+Debian packages for intel-driver-$I965_VERSION.\n\ -+Usage: i965-get-orig-source [OPTION]\n\ -+\n\ -+ -h, --help Display this help message.\n" -+ -+while [ "$#" -gt "0" ] -+do -+ case "$1" in -+ -h|--help|*) -+ echo "${USAGE}" -+ exit 1 -+ ;; -+ esac -+done -+ -+make_current_tarball() { -+ # Download the tarball if it's not available in the current directory -+ [ -f $I965_TARBALL ] || \ -+ wget -c http://cgit.freedesktop.org/vaapi/intel-driver/snapshot/$I965_TARBALL -+ -+ # Extract tarball and run 'autoreconf -vif' -+ echo "Extracting tarball and running 'autoreconf -vif'" -+ tar -zxf $I965_TARBALL -+ cd intel-driver-$I965_VERSION -+ autoreconf -vif -+ cd .. -+ -+ # Remove temp files and other cruft from source tarball -+ # The find command snippet here was taken from debhelper's dh_clean command -+ # with some modification to delete more unneeded files. -+ echo "Removing temp files and other cruft from source tarball" -+ find intel-driver-$I965_VERSION \( \( -type f -a \ -+ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -+ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -+ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -+ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ -+ -o -name config.status -o -name config.cache -o -name config.log \ -+ \) -exec rm -f "{}" \; \) -o \ -+ \( -type d -a -name autom4te.cache -prune -exec rm -rf "{}" \; \) \) -+ rm intel-driver-$I965_VERSION/.gitignore -+ rm intel-driver-$I965_VERSION/.cvsignore -+ rm -rf intel-driver-$I965_VERSION/debian.upstream -+ rm -rf intel-driver-$I965_VERSION/debian -+ -+ # Remove empty directories -+ echo "Removing empty directories" -+ find intel-driver-$I965_VERSION -type d -empty -delete -+ -+ # Repack tarball to final orig tarball -+ echo "Creating orig tarball" -+ tar --exclude-vcs -zcf "$I965_ORIG_TARBALL" "intel-driver-$I965_VERSION/" -+} -+ -+make_current_tarball -diff --git a/debian/patches/0001-Fix_FTBFS_on_kFreeBSD.patch b/debian/patches/0001-Fix_FTBFS_on_kFreeBSD.patch -new file mode 100644 -index 0000000..972326d ---- /dev/null -+++ b/debian/patches/0001-Fix_FTBFS_on_kFreeBSD.patch -@@ -0,0 +1,33 @@ -+From: "Matteo F. Vescovi" -+Date: Fri, 27 Sep 2013 09:49:05 +0200 -+Subject: Fix_FTBFS_on_kFreeBSD -+ -+--- -+ src/intel_driver.h | 1 + -+ src/intel_memman.c | 1 + -+ 2 files changed, 2 insertions(+) -+ -+diff --git a/src/intel_driver.h b/src/intel_driver.h -+index 8f44274..7f83eb6 100644 -+--- a/src/intel_driver.h -++++ b/src/intel_driver.h -+@@ -5,6 +5,7 @@ -+ #include -+ #include -+ #include -++#include -+ -+ #include -+ #include -+diff --git a/src/intel_memman.c b/src/intel_memman.c -+index 7d56e96..bacad73 100644 -+--- a/src/intel_memman.c -++++ b/src/intel_memman.c -+@@ -28,6 +28,7 @@ -+ */ -+ -+ #include -++#include -+ -+ #include "intel_driver.h" -+ -diff --git a/debian/patches/series b/debian/patches/series -new file mode 100644 -index 0000000..f1f963d ---- /dev/null -+++ b/debian/patches/series -@@ -0,0 +1 @@ -+0001-Fix_FTBFS_on_kFreeBSD.patch -diff --git a/debian/rules b/debian/rules -new file mode 100755 -index 0000000..832597e ---- /dev/null -+++ b/debian/rules -@@ -0,0 +1,16 @@ -+#!/usr/bin/make -f -+ -+%: -+ dh $@ --parallel --with autoreconf -+ -+override_dh_strip: -+ dh_strip --dbg-package=i965-va-driver-dbg -+ -+override_dh_installchangelogs: -+ dh_installchangelogs NEWS -+ -+override_dh_auto_build: -+ dh_auto_build -- V=1 -+ -+get-orig-source: -+ $(dir $_)intel-get-orig-source -diff --git a/debian/source/format b/debian/source/format -new file mode 100644 -index 0000000..89ae9db ---- /dev/null -+++ b/debian/source/format -@@ -0,0 +1 @@ -+3.0 (native) -diff --git a/debian/source/options b/debian/source/options -new file mode 100644 -index 0000000..9cdfca9 ---- /dev/null -+++ b/debian/source/options -@@ -0,0 +1,2 @@ -+unapply-patches -+abort-on-upstream-changes -diff --git a/debian/watch b/debian/watch -new file mode 100644 -index 0000000..4505187 ---- /dev/null -+++ b/debian/watch -@@ -0,0 +1,3 @@ -+version=3 -+# we look for urls like http://cgit.freedesktop.org/vaapi/intel-driver/snapshot/intel-driver-1.0.5.tar.bz2 -+http://cgit.freedesktop.org/vaapi/intel-driver/ /vaapi/intel-driver/snapshot/intel-driver-([\d+\.]+)\.tar\.gz - -From a18dd39d59af6b765670b0ca91057813241bd7a0 Mon Sep 17 00:00:00 2001 -From: fritsch -Date: Tue, 19 Aug 2014 20:34:00 +0200 -Subject: [PATCH 19/19] Bump version to 1.3.3~pre4-1~trusty - ---- - debian/changelog | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/debian/changelog b/debian/changelog -index 1414df0..b457b0d 100644 ---- a/debian/changelog -+++ b/debian/changelog -@@ -1,3 +1,15 @@ -+intel-vaapi-driver (1.3.3~pre4-1~trusty) trusty; urgency=medium -+ -+ * Fix memory leak with state table (fixes advanced deinterlacing) -+ -+ -- wsnipex Wed, 26 Aug 2014 18:22:31 +0200 -+ -+intel-vaapi-driver (1.3.3~pre2-1~trusty) trusty; urgency=medium -+ -+ * Base on gwenoles vebox rewrite -+ -+ -- wsnipex Wed, 19 Aug 2014 20:32:37 +0200 -+ - intel-vaapi-driver (1.3.3~pre1-3~trusty) trusty; urgency=medium - - * [PATCH] decoder: h264: fix RefPicList0/1 without frame in DPB