-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
It looks like nearly all of the structs defined in include/h264-ctrls.h are defined in /usr/include/linux/v4l2-controls.h already:
$ /usr/bin/meson compile -C aarch64-redhat-linux-gnu --verbose
Found runner: ['/usr/bin/ninja']
ninja: Entering directory `aarch64-redhat-linux-gnu'
[1/4] gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/h264.c.o -MF src/v4l2_request_drv_video.so.p/h264.c.o.d -o src/v4l2_request_drv_video.so.p/h264.c.o -c ../src/h264.c
FAILED: src/v4l2_request_drv_video.so.p/h264.c.o
gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/h264.c.o -MF src/v4l2_request_drv_video.so.p/h264.c.o.d -o src/v4l2_request_drv_video.so.p/h264.c.o -c ../src/h264.c
In file included from ../src/h264.c:36:
../include/h264-ctrls.h:52:8: error: redefinition of ‘struct v4l2_ctrl_h264_sps’
52 | struct v4l2_ctrl_h264_sps {
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/h264.c:35:
/usr/include/linux/v4l2-controls.h:1273:8: note: originally defined here
1273 | struct v4l2_ctrl_h264_sps {
| ^~~~~~~~~~~~~~~~~~
In file included from ../src/h264.c:36:
../include/h264-ctrls.h:82:8: error: redefinition of ‘struct v4l2_ctrl_h264_pps’
82 | struct v4l2_ctrl_h264_pps {
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/h264.c:35:
/usr/include/linux/v4l2-controls.h:1329:8: note: originally defined here
1329 | struct v4l2_ctrl_h264_pps {
| ^~~~~~~~~~~~~~~~~~
In file included from ../src/h264.c:36:
../include/h264-ctrls.h:96:8: error: redefinition of ‘struct v4l2_ctrl_h264_scaling_matrix’
96 | struct v4l2_ctrl_h264_scaling_matrix {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/h264.c:35:
/usr/include/linux/v4l2-controls.h:1361:8: note: originally defined here
1361 | struct v4l2_ctrl_h264_scaling_matrix {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/h264.c:36:
../include/h264-ctrls.h:101:8: error: redefinition of ‘struct v4l2_h264_weight_factors’
101 | struct v4l2_h264_weight_factors {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/h264.c:35:
/usr/include/linux/v4l2-controls.h:1366:8: note: originally defined here
1366 | struct v4l2_h264_weight_factors {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/h264.c:36:
../include/h264-ctrls.h:122: warning: "V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED" redefined
122 | #define V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x04
|
In file included from /usr/include/linux/videodev2.h:65,
from ../src/h264.c:35:
/usr/include/linux/v4l2-controls.h:1403: note: this is the location of the previous definition
1403 | #define V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x01
|
In file included from ../src/h264.c:36:
../include/h264-ctrls.h:123: warning: "V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH" redefined
123 | #define V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH 0x08
|
In file included from /usr/include/linux/videodev2.h:65,
from ../src/h264.c:35:
/usr/include/linux/v4l2-controls.h:1404: note: this is the location of the previous definition
1404 | #define V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH 0x02
|
In file included from ../src/h264.c:36:
../include/h264-ctrls.h:125:8: error: redefinition of ‘struct v4l2_ctrl_h264_slice_params’
125 | struct v4l2_ctrl_h264_slice_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/h264.c:35:
/usr/include/linux/v4l2-controls.h:1464:8: note: originally defined here
1464 | struct v4l2_ctrl_h264_slice_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/h264.c:36:
../include/h264-ctrls.h:173:8: error: redefinition of ‘struct v4l2_h264_dpb_entry’
173 | struct v4l2_h264_dpb_entry {
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/h264.c:35:
/usr/include/linux/v4l2-controls.h:1509:8: note: originally defined here
1509 | struct v4l2_h264_dpb_entry {
| ^~~~~~~~~~~~~~~~~~~
In file included from ../src/h264.c:36:
../include/h264-ctrls.h:185:8: error: redefinition of ‘struct v4l2_ctrl_h264_decode_params’
185 | struct v4l2_ctrl_h264_decode_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/h264.c:35:
/usr/include/linux/v4l2-controls.h:1546:8: note: originally defined here
1546 | struct v4l2_ctrl_h264_decode_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/4] gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/context.c.o -MF src/v4l2_request_drv_video.so.p/context.c.o.d -o src/v4l2_request_drv_video.so.p/context.c.o -c ../src/context.c
FAILED: src/v4l2_request_drv_video.so.p/context.c.o
gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/context.c.o -MF src/v4l2_request_drv_video.so.p/context.c.o.d -o src/v4l2_request_drv_video.so.p/context.c.o -c ../src/context.c
In file included from ../src/context.c:43:
../include/h264-ctrls.h:52:8: error: redefinition of ‘struct v4l2_ctrl_h264_sps’
52 | struct v4l2_ctrl_h264_sps {
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:1273:8: note: originally defined here
1273 | struct v4l2_ctrl_h264_sps {
| ^~~~~~~~~~~~~~~~~~
In file included from ../src/context.c:43:
../include/h264-ctrls.h:82:8: error: redefinition of ‘struct v4l2_ctrl_h264_pps’
82 | struct v4l2_ctrl_h264_pps {
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:1329:8: note: originally defined here
1329 | struct v4l2_ctrl_h264_pps {
| ^~~~~~~~~~~~~~~~~~
In file included from ../src/context.c:43:
../include/h264-ctrls.h:96:8: error: redefinition of ‘struct v4l2_ctrl_h264_scaling_matrix’
96 | struct v4l2_ctrl_h264_scaling_matrix {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:1361:8: note: originally defined here
1361 | struct v4l2_ctrl_h264_scaling_matrix {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/context.c:43:
../include/h264-ctrls.h:101:8: error: redefinition of ‘struct v4l2_h264_weight_factors’
101 | struct v4l2_h264_weight_factors {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:1366:8: note: originally defined here
1366 | struct v4l2_h264_weight_factors {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/context.c:43:
../include/h264-ctrls.h:122: warning: "V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED" redefined
122 | #define V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x04
|
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:1403: note: this is the location of the previous definition
1403 | #define V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x01
|
In file included from ../src/context.c:43:
../include/h264-ctrls.h:123: warning: "V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH" redefined
123 | #define V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH 0x08
|
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:1404: note: this is the location of the previous definition
1404 | #define V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH 0x02
|
In file included from ../src/context.c:43:
../include/h264-ctrls.h:125:8: error: redefinition of ‘struct v4l2_ctrl_h264_slice_params’
125 | struct v4l2_ctrl_h264_slice_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:1464:8: note: originally defined here
1464 | struct v4l2_ctrl_h264_slice_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/context.c:43:
../include/h264-ctrls.h:173:8: error: redefinition of ‘struct v4l2_h264_dpb_entry’
173 | struct v4l2_h264_dpb_entry {
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:1509:8: note: originally defined here
1509 | struct v4l2_h264_dpb_entry {
| ^~~~~~~~~~~~~~~~~~~
In file included from ../src/context.c:43:
../include/h264-ctrls.h:185:8: error: redefinition of ‘struct v4l2_ctrl_h264_decode_params’
185 | struct v4l2_ctrl_h264_decode_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/context.c:28:
/usr/include/linux/v4l2-controls.h:1546:8: note: originally defined here
1546 | struct v4l2_ctrl_h264_decode_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/4] gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/config.c.o -MF src/v4l2_request_drv_video.so.p/config.c.o.d -o src/v4l2_request_drv_video.so.p/config.c.o -c ../src/config.c
FAILED: src/v4l2_request_drv_video.so.p/config.c.o
gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/config.c.o -MF src/v4l2_request_drv_video.so.p/config.c.o.d -o src/v4l2_request_drv_video.so.p/config.c.o -c ../src/config.c
In file included from ../src/config.c:38:
../include/h264-ctrls.h:52:8: error: redefinition of ‘struct v4l2_ctrl_h264_sps’
52 | struct v4l2_ctrl_h264_sps {
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:1273:8: note: originally defined here
1273 | struct v4l2_ctrl_h264_sps {
| ^~~~~~~~~~~~~~~~~~
In file included from ../src/config.c:38:
../include/h264-ctrls.h:82:8: error: redefinition of ‘struct v4l2_ctrl_h264_pps’
82 | struct v4l2_ctrl_h264_pps {
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:1329:8: note: originally defined here
1329 | struct v4l2_ctrl_h264_pps {
| ^~~~~~~~~~~~~~~~~~
In file included from ../src/config.c:38:
../include/h264-ctrls.h:96:8: error: redefinition of ‘struct v4l2_ctrl_h264_scaling_matrix’
96 | struct v4l2_ctrl_h264_scaling_matrix {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:1361:8: note: originally defined here
1361 | struct v4l2_ctrl_h264_scaling_matrix {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/config.c:38:
../include/h264-ctrls.h:101:8: error: redefinition of ‘struct v4l2_h264_weight_factors’
101 | struct v4l2_h264_weight_factors {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:1366:8: note: originally defined here
1366 | struct v4l2_h264_weight_factors {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/config.c:38:
../include/h264-ctrls.h:122: warning: "V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED" redefined
122 | #define V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x04
|
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:1403: note: this is the location of the previous definition
1403 | #define V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED 0x01
|
In file included from ../src/config.c:38:
../include/h264-ctrls.h:123: warning: "V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH" redefined
123 | #define V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH 0x08
|
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:1404: note: this is the location of the previous definition
1404 | #define V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH 0x02
|
In file included from ../src/config.c:38:
../include/h264-ctrls.h:125:8: error: redefinition of ‘struct v4l2_ctrl_h264_slice_params’
125 | struct v4l2_ctrl_h264_slice_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:1464:8: note: originally defined here
1464 | struct v4l2_ctrl_h264_slice_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/config.c:38:
../include/h264-ctrls.h:173:8: error: redefinition of ‘struct v4l2_h264_dpb_entry’
173 | struct v4l2_h264_dpb_entry {
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:1509:8: note: originally defined here
1509 | struct v4l2_h264_dpb_entry {
| ^~~~~~~~~~~~~~~~~~~
In file included from ../src/config.c:38:
../include/h264-ctrls.h:185:8: error: redefinition of ‘struct v4l2_ctrl_h264_decode_params’
185 | struct v4l2_ctrl_h264_decode_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/linux/videodev2.h:65,
from ../src/request.h:37,
from ../src/config.h:33,
from ../src/config.c:27:
/usr/include/linux/v4l2-controls.h:1546:8: note: originally defined here
1546 | struct v4l2_ctrl_h264_decode_params {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
If I patch out all the struct definitions, I get this error:
[13/18] gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/h264.c.o -MF src/v4l2_request_drv_video.so.p/h264.c.o.d -o src/v4l2_request_drv_video.so.p/h264.c.o -c ../src/h264.c
FAILED: src/v4l2_request_drv_video.so.p/h264.c.o
gcc -Isrc/v4l2_request_drv_video.so.p -Isrc -I../src -I../include -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Wall -fvisibility=hidden -MD -MQ src/v4l2_request_drv_video.so.p/h264.c.o -MF src/v4l2_request_drv_video.so.p/h264.c.o.d -o src/v4l2_request_drv_video.so.p/h264.c.o -c ../src/h264.c
../src/h264.c: In function ‘h264_va_picture_to_v4l2’:
../src/h264.c:223:15: error: ‘struct v4l2_ctrl_h264_decode_params’ has no member named ‘num_slices’
223 | decode->num_slices = surface->slices_count;
| ^~
../src/h264.c: In function ‘h264_va_slice_to_v4l2’:
../src/h264.c:332:14: error: ‘struct v4l2_ctrl_h264_slice_params’ has no member named ‘size’
332 | slice->size = VASlice->slice_data_size;
| ^~
../src/h264.c:359:51: error: incompatible types when assigning to type ‘struct v4l2_h264_reference’ from type ‘unsigned int’
359 | slice->ref_pic_list0[i] = idx;
| ^~~
../src/h264.c:378:51: error: incompatible types when assigning to type ‘struct v4l2_h264_reference’ from type ‘unsigned int’
378 | slice->ref_pic_list1[i] = idx;
| ^~~
../src/h264.c:385:14: error: ‘struct v4l2_ctrl_h264_slice_params’ has no member named ‘pred_weight_table’
385 | slice->pred_weight_table.chroma_log2_weight_denom =
| ^~
../src/h264.c:387:14: error: ‘struct v4l2_ctrl_h264_slice_params’ has no member named ‘pred_weight_table’
387 | slice->pred_weight_table.luma_log2_weight_denom =
| ^~
../src/h264.c:392:44: error: ‘struct v4l2_ctrl_h264_slice_params’ has no member named ‘pred_weight_table’
392 | h264_copy_pred_table(&slice->pred_weight_table.weight_factors[0],
| ^~
../src/h264.c:400:44: error: ‘struct v4l2_ctrl_h264_slice_params’ has no member named ‘pred_weight_table’
400 | h264_copy_pred_table(&slice->pred_weight_table.weight_factors[1],
| ^~
Metadata
Metadata
Assignees
Labels
No labels