This repository was archived by the owner on Jan 31, 2025. It is now read-only.
File tree 3 files changed +0
-34
lines changed
3 files changed +0
-34
lines changed Original file line number Diff line number Diff line change 90
90
AC_MSG_RESULT ( [ $LIBVA_DRIVERS_PATH] )
91
91
AC_SUBST ( LIBVA_DRIVERS_PATH )
92
92
93
- dnl Check for JPEG decoding API
94
- AC_CACHE_CHECK ( [ for JPEG decoding API] , ac_cv_have_jpeg_decoding_api , [
95
- saved_CFLAGS="$CFLAGS"
96
- CFLAGS="$CFLAGS $LIBVA_DEPS_CFLAGS"
97
- saved_LIBS="$LIBS"
98
- LIBS="$CFLAGS $LIBVA_DEPS_LIBS"
99
- AC_TRY_COMPILE (
100
- [ #include <va/va.h>
101
- #include <va/va_dec_jpeg.h>] ,
102
- [ VAPictureParameterBufferJPEG pic_param;
103
- VASliceParameterBufferJPEG slice_param;
104
- VAIQMatrixParameterBufferJPEG iq_matrix;] ,
105
- [ ac_cv_have_jpeg_decoding_api="yes"] ,
106
- [ ac_cv_have_jpeg_decoding_api="no"]
107
- )
108
- CFLAGS="$saved_CFLAGS"
109
- LIBS="$saved_LIBS"
110
- ] )
111
- if test "$ac_cv_have_jpeg_decoding_api" = "yes"; then
112
- AC_DEFINE ( HAVE_JPEG_DECODING , 1 ,
113
- [ Defined to 1 if VA-API exposes JPEG decoding] )
114
- fi
115
-
116
93
AC_OUTPUT ([
117
94
Makefile
118
95
debian.upstream/Makefile
Original file line number Diff line number Diff line change 26
26
*
27
27
*/
28
28
29
- #ifdef HAVE_CONFIG_H
30
- # include "config.h"
31
- #endif
32
29
#include <stdio.h>
33
30
#include <stdlib.h>
34
31
#include <string.h>
@@ -1944,7 +1941,6 @@ gen7_mfd_vc1_decode_picture(VADriverContextP ctx,
1944
1941
intel_batchbuffer_flush (batch );
1945
1942
}
1946
1943
1947
- #ifdef HAVE_JPEG_DECODING
1948
1944
static void
1949
1945
gen7_mfd_jpeg_decode_init (VADriverContextP ctx ,
1950
1946
struct decode_state * decode_state ,
@@ -2728,7 +2724,6 @@ gen7_mfd_jpeg_decode_picture(VADriverContextP ctx,
2728
2724
intel_batchbuffer_end_atomic (batch );
2729
2725
intel_batchbuffer_flush (batch );
2730
2726
}
2731
- #endif
2732
2727
2733
2728
static void
2734
2729
gen7_mfd_decode_picture (VADriverContextP ctx ,
@@ -2762,11 +2757,9 @@ gen7_mfd_decode_picture(VADriverContextP ctx,
2762
2757
gen7_mfd_vc1_decode_picture (ctx , decode_state , gen7_mfd_context );
2763
2758
break ;
2764
2759
2765
- #ifdef HAVE_JPEG_DECODING
2766
2760
case VAProfileJPEGBaseline :
2767
2761
gen7_mfd_jpeg_decode_picture (ctx , decode_state , gen7_mfd_context );
2768
2762
break ;
2769
- #endif
2770
2763
2771
2764
default :
2772
2765
assert (0 );
Original file line number Diff line number Diff line change @@ -1141,9 +1141,7 @@ i965_create_buffer_internal(VADriverContextP ctx,
1141
1141
case VAEncMiscParameterBufferType :
1142
1142
case VAProcPipelineParameterBufferType :
1143
1143
case VAProcFilterParameterBufferType :
1144
- #ifdef HAVE_JPEG_DECODING
1145
1144
case VAHuffmanTableBufferType :
1146
- #endif
1147
1145
/* Ok */
1148
1146
break ;
1149
1147
@@ -1540,11 +1538,9 @@ i965_decoder_render_picture(VADriverContextP ctx,
1540
1538
vaStatus = I965_RENDER_DECODE_BUFFER (slice_data );
1541
1539
break ;
1542
1540
1543
- #ifdef HAVE_JPEG_DECODING
1544
1541
case VAHuffmanTableBufferType :
1545
1542
vaStatus = I965_RENDER_DECODE_BUFFER (huffman_table );
1546
1543
break ;
1547
- #endif
1548
1544
1549
1545
default :
1550
1546
vaStatus = VA_STATUS_ERROR_UNSUPPORTED_BUFFERTYPE ;
You can’t perform that action at this time.
0 commit comments