Imported Upstream version 1.7.0
Sebastian Ramacher
8 years ago
0 | libva NEWS -- summary of user visible changes. 2015-12-15 | |
0 | libva NEWS -- summary of user visible changes. 2016-03-15 | |
1 | 1 | Copyright (C) 2009-2015 Intel Corporation |
2 | ||
3 | Version 1.7.0 - 15.Mar.2016 | |
4 | * Bump VA API version to 0.39 | |
5 | * Add support for VP9 10bit decode API | |
6 | * Allow libva to load the vaapi driver provided by Mesa Gallium for nouveau and radeon | |
7 | * Fix libva-glx against OpenGL 3.1 or above | |
2 | 8 | |
3 | 9 | Version 1.6.2 - 15.Dec.2015 |
4 | 10 | * Bump VA API version to 0.38.1 |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for libva 1.6.2. | |
2 | # Generated by GNU Autoconf 2.69 for libva 1.7.0. | |
3 | 3 | # |
4 | 4 | # Report bugs to <waldo.bastian@intel.com>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='libva' |
591 | 591 | PACKAGE_TARNAME='libva' |
592 | PACKAGE_VERSION='1.6.2' | |
593 | PACKAGE_STRING='libva 1.6.2' | |
592 | PACKAGE_VERSION='1.7.0' | |
593 | PACKAGE_STRING='libva 1.7.0' | |
594 | 594 | PACKAGE_BUGREPORT='waldo.bastian@intel.com' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
1394 | 1394 | # Omit some internal or obsolete options to make the list less imposing. |
1395 | 1395 | # This message is too long to be a string in the A/UX 3.1 sh. |
1396 | 1396 | cat <<_ACEOF |
1397 | \`configure' configures libva 1.6.2 to adapt to many kinds of systems. | |
1397 | \`configure' configures libva 1.7.0 to adapt to many kinds of systems. | |
1398 | 1398 | |
1399 | 1399 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1400 | 1400 | |
1464 | 1464 | |
1465 | 1465 | if test -n "$ac_init_help"; then |
1466 | 1466 | case $ac_init_help in |
1467 | short | recursive ) echo "Configuration of libva 1.6.2:";; | |
1467 | short | recursive ) echo "Configuration of libva 1.7.0:";; | |
1468 | 1468 | esac |
1469 | 1469 | cat <<\_ACEOF |
1470 | 1470 | |
1604 | 1604 | test -n "$ac_init_help" && exit $ac_status |
1605 | 1605 | if $ac_init_version; then |
1606 | 1606 | cat <<\_ACEOF |
1607 | libva configure 1.6.2 | |
1607 | libva configure 1.7.0 | |
1608 | 1608 | generated by GNU Autoconf 2.69 |
1609 | 1609 | |
1610 | 1610 | Copyright (C) 2012 Free Software Foundation, Inc. |
2094 | 2094 | This file contains any messages produced by compilers while |
2095 | 2095 | running configure, to aid debugging if configure makes a mistake. |
2096 | 2096 | |
2097 | It was created by libva $as_me 1.6.2, which was | |
2097 | It was created by libva $as_me 1.7.0, which was | |
2098 | 2098 | generated by GNU Autoconf 2.69. Invocation command line was |
2099 | 2099 | |
2100 | 2100 | $ $0 $@ |
2959 | 2959 | |
2960 | 2960 | # Define the identity of the package. |
2961 | 2961 | PACKAGE='libva' |
2962 | VERSION='1.6.2' | |
2962 | VERSION='1.7.0' | |
2963 | 2963 | |
2964 | 2964 | |
2965 | 2965 | cat >>confdefs.h <<_ACEOF |
3098 | 3098 | |
3099 | 3099 | |
3100 | 3100 | VA_API_MAJOR_VERSION=0 |
3101 | VA_API_MINOR_VERSION=38 | |
3102 | VA_API_MICRO_VERSION=1 | |
3103 | VA_API_VERSION=0.38.1 | |
3101 | VA_API_MINOR_VERSION=39 | |
3102 | VA_API_MICRO_VERSION=0 | |
3103 | VA_API_VERSION=0.39.0 | |
3104 | 3104 | |
3105 | 3105 | |
3106 | 3106 | |
3107 | 3107 | |
3108 | 3108 | |
3109 | 3109 | LIBVA_MAJOR_VERSION=1 |
3110 | LIBVA_MINOR_VERSION=6 | |
3111 | LIBVA_MICRO_VERSION=2 | |
3112 | LIBVA_VERSION=1.6.2 | |
3113 | ||
3114 | ||
3115 | ||
3116 | ||
3117 | ||
3118 | LIBVA_LT_CURRENT=3802 | |
3110 | LIBVA_MINOR_VERSION=7 | |
3111 | LIBVA_MICRO_VERSION=0 | |
3112 | LIBVA_VERSION=1.7.0 | |
3113 | ||
3114 | ||
3115 | ||
3116 | ||
3117 | ||
3118 | LIBVA_LT_CURRENT=3901 | |
3119 | 3119 | LIBVA_LT_REV=0 |
3120 | LIBVA_LT_AGE=3801 | |
3120 | LIBVA_LT_AGE=3900 | |
3121 | 3121 | LIBVA_LT_VERSION="$LIBVA_LT_CURRENT:$LIBVA_LT_REV:$LIBVA_LT_AGE" |
3122 | 3122 | LIBVA_LT_LDFLAGS="-version-info $LIBVA_LT_VERSION" |
3123 | 3123 | |
18078 | 18078 | # report actual input values of CONFIG_FILES etc. instead of their |
18079 | 18079 | # values after options handling. |
18080 | 18080 | ac_log=" |
18081 | This file was extended by libva $as_me 1.6.2, which was | |
18081 | This file was extended by libva $as_me 1.7.0, which was | |
18082 | 18082 | generated by GNU Autoconf 2.69. Invocation command line was |
18083 | 18083 | |
18084 | 18084 | CONFIG_FILES = $CONFIG_FILES |
18144 | 18144 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
18145 | 18145 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
18146 | 18146 | ac_cs_version="\\ |
18147 | libva config.status 1.6.2 | |
18147 | libva config.status 1.7.0 | |
18148 | 18148 | configured by $0, generated by GNU Autoconf 2.69, |
18149 | 18149 | with options \\"\$ac_cs_config\\" |
18150 | 18150 |
26 | 26 | # - reset micro version to zero when minor version is incremented |
27 | 27 | # - reset minor version to zero when major version is incremented |
28 | 28 | m4_define([va_api_major_version], [0]) |
29 | m4_define([va_api_minor_version], [38]) | |
30 | m4_define([va_api_micro_version], [1]) | |
29 | m4_define([va_api_minor_version], [39]) | |
30 | m4_define([va_api_micro_version], [0]) | |
31 | 31 | |
32 | 32 | m4_define([va_api_version], |
33 | 33 | [va_api_major_version.va_api_minor_version.va_api_micro_version]) |
41 | 41 | # - reset micro version to zero when VA-API major or minor version is changed |
42 | 42 | m4_define([libva_major_version], [m4_eval(va_api_major_version + 1)]) |
43 | 43 | m4_define([libva_minor_version], [m4_eval(va_api_minor_version - 32)]) |
44 | m4_define([libva_micro_version], [2]) | |
44 | m4_define([libva_micro_version], [0]) | |
45 | 45 | m4_define([libva_pre_version], [0]) |
46 | 46 | |
47 | 47 | m4_define([libva_version], |
313 | 313 | exit 1;; \ |
314 | 314 | esac; \ |
315 | 315 | done; \ |
316 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu debian.upstream/Makefile'; \ | |
316 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign debian.upstream/Makefile'; \ | |
317 | 317 | $(am__cd) $(top_srcdir) && \ |
318 | $(AUTOMAKE) --gnu debian.upstream/Makefile | |
318 | $(AUTOMAKE) --foreign debian.upstream/Makefile | |
319 | 319 | .PRECIOUS: Makefile |
320 | 320 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
321 | 321 | @case '$?' in \ |
0 | libva (1.6.2-1) unstable; urgency=low | |
0 | libva (1.7.0-1) unstable; urgency=low | |
1 | 1 | |
2 | 2 | * Autogenerated package, see NEWS file for ChangeLog. |
3 | 3 | |
4 | -- Gwenole Beauchesne <gwenole.beauchesne@intel.com> Tue, 15 Dec 2015 14:17:03 +0800 | |
4 | -- Gwenole Beauchesne <gwenole.beauchesne@intel.com> Tue, 15 Mar 2016 15:05:31 +0800 |
310 | 310 | exit 1;; \ |
311 | 311 | esac; \ |
312 | 312 | done; \ |
313 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ | |
313 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ | |
314 | 314 | $(am__cd) $(top_srcdir) && \ |
315 | $(AUTOMAKE) --gnu doc/Makefile | |
315 | $(AUTOMAKE) --foreign doc/Makefile | |
316 | 316 | .PRECIOUS: Makefile |
317 | 317 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
318 | 318 | @case '$?' in \ |
392 | 392 | exit 1;; \ |
393 | 393 | esac; \ |
394 | 394 | done; \ |
395 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dummy_drv_video/Makefile'; \ | |
395 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign dummy_drv_video/Makefile'; \ | |
396 | 396 | $(am__cd) $(top_srcdir) && \ |
397 | $(AUTOMAKE) --gnu dummy_drv_video/Makefile | |
397 | $(AUTOMAKE) --foreign dummy_drv_video/Makefile | |
398 | 398 | .PRECIOUS: Makefile |
399 | 399 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
400 | 400 | @case '$?' in \ |
345 | 345 | exit 1;; \ |
346 | 346 | esac; \ |
347 | 347 | done; \ |
348 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pkgconfig/Makefile'; \ | |
348 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign pkgconfig/Makefile'; \ | |
349 | 349 | $(am__cd) $(top_srcdir) && \ |
350 | $(AUTOMAKE) --gnu pkgconfig/Makefile | |
350 | $(AUTOMAKE) --foreign pkgconfig/Makefile | |
351 | 351 | .PRECIOUS: Makefile |
352 | 352 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
353 | 353 | @case '$?' in \ |
357 | 357 | exit 1;; \ |
358 | 358 | esac; \ |
359 | 359 | done; \ |
360 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \ | |
360 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \ | |
361 | 361 | $(am__cd) $(top_srcdir) && \ |
362 | $(AUTOMAKE) --gnu test/Makefile | |
362 | $(AUTOMAKE) --foreign test/Makefile | |
363 | 363 | .PRECIOUS: Makefile |
364 | 364 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
365 | 365 | @case '$?' in \ |
423 | 423 | exit 1;; \ |
424 | 424 | esac; \ |
425 | 425 | done; \ |
426 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/basic/Makefile'; \ | |
426 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/basic/Makefile'; \ | |
427 | 427 | $(am__cd) $(top_srcdir) && \ |
428 | $(AUTOMAKE) --gnu test/basic/Makefile | |
428 | $(AUTOMAKE) --foreign test/basic/Makefile | |
429 | 429 | .PRECIOUS: Makefile |
430 | 430 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
431 | 431 | @case '$?' in \ |
394 | 394 | exit 1;; \ |
395 | 395 | esac; \ |
396 | 396 | done; \ |
397 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/common/Makefile'; \ | |
397 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/common/Makefile'; \ | |
398 | 398 | $(am__cd) $(top_srcdir) && \ |
399 | $(AUTOMAKE) --gnu test/common/Makefile | |
399 | $(AUTOMAKE) --foreign test/common/Makefile | |
400 | 400 | .PRECIOUS: Makefile |
401 | 401 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
402 | 402 | @case '$?' in \ |
389 | 389 | exit 1;; \ |
390 | 390 | esac; \ |
391 | 391 | done; \ |
392 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/decode/Makefile'; \ | |
392 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/decode/Makefile'; \ | |
393 | 393 | $(am__cd) $(top_srcdir) && \ |
394 | $(AUTOMAKE) --gnu test/decode/Makefile | |
394 | $(AUTOMAKE) --foreign test/decode/Makefile | |
395 | 395 | .PRECIOUS: Makefile |
396 | 396 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
397 | 397 | @case '$?' in \ |
413 | 413 | exit 1;; \ |
414 | 414 | esac; \ |
415 | 415 | done; \ |
416 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/encode/Makefile'; \ | |
416 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/encode/Makefile'; \ | |
417 | 417 | $(am__cd) $(top_srcdir) && \ |
418 | $(AUTOMAKE) --gnu test/encode/Makefile | |
418 | $(AUTOMAKE) --foreign test/encode/Makefile | |
419 | 419 | .PRECIOUS: Makefile |
420 | 420 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
421 | 421 | @case '$?' in \ |
967 | 967 | default: { |
968 | 968 | printf("Unsupported format:\n"); |
969 | 969 | show_help(); |
970 | break; | |
970 | return -1; | |
971 | 971 | } |
972 | 972 | |
973 | 973 | } |
393 | 393 | exit 1;; \ |
394 | 394 | esac; \ |
395 | 395 | done; \ |
396 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/putsurface/Makefile'; \ | |
396 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/putsurface/Makefile'; \ | |
397 | 397 | $(am__cd) $(top_srcdir) && \ |
398 | $(AUTOMAKE) --gnu test/putsurface/Makefile | |
398 | $(AUTOMAKE) --foreign test/putsurface/Makefile | |
399 | 399 | .PRECIOUS: Makefile |
400 | 400 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
401 | 401 | @case '$?' in \ |
371 | 371 | exit 1;; \ |
372 | 372 | esac; \ |
373 | 373 | done; \ |
374 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/vainfo/Makefile'; \ | |
374 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/vainfo/Makefile'; \ | |
375 | 375 | $(am__cd) $(top_srcdir) && \ |
376 | $(AUTOMAKE) --gnu test/vainfo/Makefile | |
376 | $(AUTOMAKE) --foreign test/vainfo/Makefile | |
377 | 377 | .PRECIOUS: Makefile |
378 | 378 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
379 | 379 | @case '$?' in \ |
60 | 60 | case VAProfileHEVCMain: return "VAProfileHEVCMain"; |
61 | 61 | case VAProfileHEVCMain10: return "VAProfileHEVCMain10"; |
62 | 62 | case VAProfileVP9Profile0: return "VAProfileVP9Profile0"; |
63 | case VAProfileVP9Profile1: return "VAProfileVP9Profile1"; | |
64 | case VAProfileVP9Profile2: return "VAProfileVP9Profile2"; | |
65 | case VAProfileVP9Profile3: return "VAProfileVP9Profile3"; | |
63 | 66 | |
64 | 67 | default: |
65 | 68 | break; |
565 | 565 | exit 1;; \ |
566 | 566 | esac; \ |
567 | 567 | done; \ |
568 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu va/Makefile'; \ | |
568 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign va/Makefile'; \ | |
569 | 569 | $(am__cd) $(top_srcdir) && \ |
570 | $(AUTOMAKE) --gnu va/Makefile | |
570 | $(AUTOMAKE) --foreign va/Makefile | |
571 | 571 | .PRECIOUS: Makefile |
572 | 572 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
573 | 573 | @case '$?' in \ |
405 | 405 | exit 1;; \ |
406 | 406 | esac; \ |
407 | 407 | done; \ |
408 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu va/drm/Makefile'; \ | |
408 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign va/drm/Makefile'; \ | |
409 | 409 | $(am__cd) $(top_srcdir) && \ |
410 | $(AUTOMAKE) --gnu va/drm/Makefile | |
410 | $(AUTOMAKE) --foreign va/drm/Makefile | |
411 | 411 | .PRECIOUS: Makefile |
412 | 412 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
413 | 413 | @case '$?' in \ |
40 | 40 | { "pvrsrvkm", 8, "pvr" }, // Intel UMG PVR driver |
41 | 41 | { "emgd", 4, "emgd" }, // Intel ECG PVR driver |
42 | 42 | { "hybrid", 6, "hybrid" }, // Intel OTC Hybrid driver |
43 | { "nouveau", 7, "gallium" }, // Mesa Gallium driver | |
44 | { "radeon", 6, "gallium" }, // Mesa Gallium driver | |
43 | 45 | { NULL, } |
44 | 46 | }; |
45 | 47 |
397 | 397 | exit 1;; \ |
398 | 398 | esac; \ |
399 | 399 | done; \ |
400 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu va/egl/Makefile'; \ | |
400 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign va/egl/Makefile'; \ | |
401 | 401 | $(am__cd) $(top_srcdir) && \ |
402 | $(AUTOMAKE) --gnu va/egl/Makefile | |
402 | $(AUTOMAKE) --foreign va/egl/Makefile | |
403 | 403 | .PRECIOUS: Makefile |
404 | 404 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
405 | 405 | @case '$?' in \ |
406 | 406 | exit 1;; \ |
407 | 407 | esac; \ |
408 | 408 | done; \ |
409 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu va/glx/Makefile'; \ | |
409 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign va/glx/Makefile'; \ | |
410 | 410 | $(am__cd) $(top_srcdir) && \ |
411 | $(AUTOMAKE) --gnu va/glx/Makefile | |
411 | $(AUTOMAKE) --foreign va/glx/Makefile | |
412 | 412 | .PRECIOUS: Makefile |
413 | 413 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
414 | 414 | @case '$?' in \ |
190 | 190 | return 0; |
191 | 191 | } |
192 | 192 | |
193 | static int check_extension3(const char *name) | |
194 | { | |
195 | int nbExtensions, i; | |
196 | PFNGLGETSTRINGIPROC glGetStringi = 0; | |
197 | ||
198 | glGetStringi = (PFNGLGETSTRINGIPROC) get_proc_address("glGetStringi"); | |
199 | if(!glGetStringi) | |
200 | return 0; | |
201 | ||
202 | ||
203 | glGetIntegerv(GL_NUM_EXTENSIONS, &nbExtensions); | |
204 | for(i = 0; i < nbExtensions; i++) | |
205 | { | |
206 | const GLubyte *strExtension = glGetStringi(GL_EXTENSIONS, i); | |
207 | if(strcmp(strExtension, (const GLubyte *)name) == 0) | |
208 | return 1; | |
209 | } | |
210 | ||
211 | return 0; | |
212 | } | |
213 | ||
193 | 214 | static int check_tfp_extensions(VADriverContextP ctx) |
194 | 215 | { |
195 | 216 | const char *gl_extensions; |
196 | 217 | const char *glx_extensions; |
197 | 218 | |
198 | 219 | gl_extensions = (const char *)glGetString(GL_EXTENSIONS); |
199 | if (!check_extension("GL_ARB_texture_non_power_of_two", gl_extensions)) | |
220 | if (!check_extension("GL_ARB_texture_non_power_of_two", gl_extensions) && !check_extension3("GL_ARB_texture_non_power_of_two")) | |
200 | 221 | return 0; |
201 | 222 | |
202 | 223 | glx_extensions = glXQueryExtensionsString(ctx->native_dpy, ctx->x11_screen); |
203 | 224 | if (!check_extension("GLX_EXT_texture_from_pixmap", glx_extensions)) |
204 | 225 | return 0; |
226 | ||
205 | 227 | return 1; |
206 | 228 | } |
207 | 229 | |
210 | 232 | const char *gl_extensions; |
211 | 233 | |
212 | 234 | gl_extensions = (const char *)glGetString(GL_EXTENSIONS); |
213 | if (check_extension("GL_ARB_framebuffer_object", gl_extensions)) | |
235 | if (check_extension("GL_ARB_framebuffer_object", gl_extensions) || check_extension3("GL_ARB_framebuffer_object")) | |
214 | 236 | return 1; |
215 | if (check_extension("GL_EXT_framebuffer_object", gl_extensions)) | |
237 | if (check_extension("GL_EXT_framebuffer_object", gl_extensions) || check_extension3("GL_EXT_framebuffer_object")) | |
216 | 238 | return 1; |
239 | ||
217 | 240 | return 0; |
218 | 241 | } |
219 | 242 |
245 | 245 | int minor; |
246 | 246 | } compatible_versions[] = { |
247 | 247 | { VA_MAJOR_VERSION, VA_MINOR_VERSION }, |
248 | { 0, 38 }, | |
248 | 249 | { 0, 37 }, |
249 | 250 | { 0, 36 }, |
250 | 251 | { 0, 35 }, |
302 | 302 | VAProfileH264StereoHigh = 16, |
303 | 303 | VAProfileHEVCMain = 17, |
304 | 304 | VAProfileHEVCMain10 = 18, |
305 | VAProfileVP9Profile0 = 19 | |
305 | VAProfileVP9Profile0 = 19, | |
306 | VAProfileVP9Profile1 = 20, | |
307 | VAProfileVP9Profile2 = 21, | |
308 | VAProfileVP9Profile3 = 22 | |
306 | 309 | } VAProfile; |
307 | 310 | |
308 | 311 | /** |
181 | 181 | uint8_t segment_pred_probs[3]; |
182 | 182 | |
183 | 183 | /** \brief VP9 Profile definition |
184 | * value can be 0 or 1. | |
185 | */ | |
184 | * value range [0..3]. | |
185 | */ | |
186 | 186 | uint8_t profile; |
187 | ||
188 | /** \brief VP9 bit depth per sample | |
189 | * same for both luma and chroma samples. | |
190 | */ | |
191 | uint8_t bit_depth; | |
187 | 192 | |
188 | 193 | /**@}*/ |
189 | 194 |
36 | 36 | * |
37 | 37 | * The minor version of VA-API (2, if %VA_VERSION is 1.2.3) |
38 | 38 | */ |
39 | #define VA_MINOR_VERSION 38 | |
39 | #define VA_MINOR_VERSION 39 | |
40 | 40 | |
41 | 41 | /** |
42 | 42 | * VA_MICRO_VERSION: |
43 | 43 | * |
44 | 44 | * The micro version of VA-API (3, if %VA_VERSION is 1.2.3) |
45 | 45 | */ |
46 | #define VA_MICRO_VERSION 1 | |
46 | #define VA_MICRO_VERSION 0 | |
47 | 47 | |
48 | 48 | /** |
49 | 49 | * VA_VERSION: |
50 | 50 | * |
51 | 51 | * The full version of VA-API, like 1.2.3 |
52 | 52 | */ |
53 | #define VA_VERSION 0.38.1 | |
53 | #define VA_VERSION 0.39.0 | |
54 | 54 | |
55 | 55 | /** |
56 | 56 | * VA_VERSION_S: |
58 | 58 | * The full version of VA-API, in string form (suited for string |
59 | 59 | * concatenation) |
60 | 60 | */ |
61 | #define VA_VERSION_S "0.38.1" | |
61 | #define VA_VERSION_S "0.39.0" | |
62 | 62 | |
63 | 63 | /** |
64 | 64 | * VA_VERSION_HEX: |
421 | 421 | exit 1;; \ |
422 | 422 | esac; \ |
423 | 423 | done; \ |
424 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu va/wayland/Makefile'; \ | |
424 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign va/wayland/Makefile'; \ | |
425 | 425 | $(am__cd) $(top_srcdir) && \ |
426 | $(AUTOMAKE) --gnu va/wayland/Makefile | |
426 | $(AUTOMAKE) --foreign va/wayland/Makefile | |
427 | 427 | .PRECIOUS: Makefile |
428 | 428 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
429 | 429 | @case '$?' in \ |
116 | 116 | |
117 | 117 | struct wl_drm_listener { |
118 | 118 | /** |
119 | * device - (none) | |
120 | * @name: (none) | |
119 | * device - device | |
120 | * @name: name | |
121 | 121 | */ |
122 | 122 | void (*device)(void *data, |
123 | 123 | struct wl_drm *wl_drm, |
124 | 124 | const char *name); |
125 | 125 | /** |
126 | * format - (none) | |
127 | * @format: (none) | |
126 | * format - format | |
127 | * @format: format | |
128 | 128 | */ |
129 | 129 | void (*format)(void *data, |
130 | 130 | struct wl_drm *wl_drm, |
131 | 131 | uint32_t format); |
132 | 132 | /** |
133 | * authenticated - (none) | |
133 | * authenticated - authenticated | |
134 | 134 | */ |
135 | 135 | void (*authenticated)(void *data, |
136 | 136 | struct wl_drm *wl_drm); |
178 | 178 | { |
179 | 179 | struct wl_proxy *id; |
180 | 180 | |
181 | id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_drm, | |
182 | WL_DRM_CREATE_BUFFER, &wl_buffer_interface, NULL, name, width, height, stride, format); | |
181 | id = wl_proxy_create((struct wl_proxy *) wl_drm, | |
182 | &wl_buffer_interface); | |
183 | if (!id) | |
184 | return NULL; | |
185 | ||
186 | wl_proxy_marshal((struct wl_proxy *) wl_drm, | |
187 | WL_DRM_CREATE_BUFFER, id, name, width, height, stride, format); | |
183 | 188 | |
184 | 189 | return (struct wl_buffer *) id; |
185 | 190 | } |
189 | 194 | { |
190 | 195 | struct wl_proxy *id; |
191 | 196 | |
192 | id = wl_proxy_marshal_constructor((struct wl_proxy *) wl_drm, | |
193 | WL_DRM_CREATE_PLANAR_BUFFER, &wl_buffer_interface, NULL, name, width, height, format, offset0, stride0, offset1, stride1, offset2, stride2); | |
197 | id = wl_proxy_create((struct wl_proxy *) wl_drm, | |
198 | &wl_buffer_interface); | |
199 | if (!id) | |
200 | return NULL; | |
201 | ||
202 | wl_proxy_marshal((struct wl_proxy *) wl_drm, | |
203 | WL_DRM_CREATE_PLANAR_BUFFER, id, name, width, height, format, offset0, stride0, offset1, stride1, offset2, stride2); | |
194 | 204 | |
195 | 205 | return (struct wl_buffer *) id; |
196 | 206 | } |
414 | 414 | exit 1;; \ |
415 | 415 | esac; \ |
416 | 416 | done; \ |
417 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu va/x11/Makefile'; \ | |
417 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign va/x11/Makefile'; \ | |
418 | 418 | $(am__cd) $(top_srcdir) && \ |
419 | $(AUTOMAKE) --gnu va/x11/Makefile | |
419 | $(AUTOMAKE) --foreign va/x11/Makefile | |
420 | 420 | .PRECIOUS: Makefile |
421 | 421 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
422 | 422 | @case '$?' in \ |