CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 20:58:52 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/opencv/opencv.git
etag: W/"f8f442bf766de06cb46396209b1ae056"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=pIrVWmEccvycdy1hb%2BrliNBCktmT4VBfI4M%2BJ8PG51fseQ5zi4zMY97RUoNsOLawczOHhBDnBY8amPr6G1YqLqqCgPRQZNps538hXurBplAa19BgGjuEo10pmPGT17UcOBEtcd83xzlMy6EeWjvS4ofc%2FWTiuD9ZgtS7NgRzW6DskMiLKzIXw5QIoe770FVyTMVDf8kD0PSznDGmzJczs9ZRhBmxs8sOGFFW5eKetE7PAwIb4aeH1rp8XHt1a8DBVeciQPuXFdhAsAo8HdVgBg%3D%3D--6v2RcAQu%2BBMAhiqV--Nf2wDaoUewZrYW513sDP0A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1469797524.1753217931; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 20:58:51 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 20:58:51 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9918:36131:12E64B:18998D:687FFB8B
Merge pull request #19460 from mikhail-nikolskiy:videoio-hw · opencv/opencv@7bcb51e · GitHub
Copy file name to clipboardExpand all lines: modules/videoio/include/opencv2/videoio.hpp
Copy file name to clipboardExpand all lines: modules/videoio/src/backend_plugin.cpp
Copy file name to clipboardExpand all lines: modules/videoio/src/backend_static.cpp
Copy file name to clipboardExpand all lines: modules/videoio/src/cap_ffmpeg.cpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit 7bcb51e
Merge pull request #19460 from mikhail-nikolskiy:videoio-hw
videoio: HW decode/encode in FFMPEG backend; new properties with support in FFMPEG/GST/MSMF
* HW acceleration in FFMPEG backend
* fixes on Windows, remove D3D9
* HW acceleration in FFMPEG backend
* fixes on Windows, remove D3D9
* improve va test
* Copyright
* check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+
* CAP_MSMF test on .mp4
* .mp4 in test
* improve va test
* Copyright
* check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+
* CAP_MSMF test on .mp4
* .mp4 in test
* .avi for GStreamer test
* revert changes around seek()
* cv_writer_open_with_params
* params.warnUnusedParameters
* VideoCaptureParameters in GStreamer
* open_with_params
* params->getUnused
* Reduce PSNR threshold 33->32 (other tests use 30)
* require FFMPEG 4.0+; PSNR 30 as in other tests
* GStreamer AVI-demux plugin not installed in Ubuntu test environment?
* fix build on very old ffmpeg
* fix build on very old ffmpeg
* fix build issues
* fix build issues (static_cast)
* FFMPEG built on Windows without H264 encoder?
* fix for write_nothing test on VAAPI
* fix warnings
* fix cv_writer_get_prop in plugins
* use avcodec_get_hw_frames_parameters; more robust fallback to SW codecs
* internal function hw_check_device() for device check/logging
* two separate tests for HW read and write
* image size 640x480 in encode test
* WITH_VA=ON (only .h headers used in OpenCV, no linkage dependency)
* exception on VP9 SW encoder?
* rebase master; refine info message
* videoio: fix FFmpeg standalone plugin build
* videoio(ffmpeg): eliminate MSVC build warnings
* address review comments
* videoio(hw): update videocapture_acceleration.read test
- remove parallel decoding by SW code path
- check PSNR against the original generated image
* videoio: minor fixes
* videoio(test): disable unsupported MSMF cases (SW and HW)
* videoio(test): update PSNR thresholds for HW acceleration read
* videoio(test): update debug messages
* "hw_acceleration" whitelisting parameter
* little optimization in test
* D3D11VA supports decoders, doesn't support encoders
* videoio(test): adjust PSNR threshold in write_read_position tests
* videoio(ffmpeg): fix rejecting on acceleration device name mismatch
* videoio(ffmpeg): fix compilation USE_AV_HW_CODECS=0, add more debug logging
* videoio: rework VideoAccelerationType behavior
- enum is not a bitset
- default value is backend specific
- only '_NONE' and '_ANY' may fallback on software processing
- specific H/W acceleration doesn't fallback on software processing. It fails if there is no support for specified H/W acceleration.
* videoio(test): fix for current FFmpeg wrapper
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>1 parent f70e80a commit 7bcb51eCopy full SHA for 7bcb51e
File tree
Expand file treeCollapse file tree
13 files changed
+2211
-218
lines changedFilter options
- modules/videoio
- include/opencv2
- src
- test
- samples/tapi
Expand file treeCollapse file tree
13 files changed
+2211
-218
lines changedmodules/videoio/include/opencv2/videoio.hpp
Copy file name to clipboardExpand all lines: modules/videoio/include/opencv2/videoio.hpp+31-4Lines changed: 31 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
| 127 | + | |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
| |||
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
| 185 | + | |
| 186 | + | |
185 | 187 |
| |
186 | 188 |
| |
187 | 189 |
| |
188 | 190 |
| |
189 | 191 |
| |
190 |
| - | |
| 192 | + | |
191 | 193 |
| |
192 | 194 |
| |
193 | 195 |
| |
| |||
196 | 198 |
| |
197 | 199 |
| |
198 | 200 |
| |
199 |
| - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
200 | 207 |
| |
201 | 208 |
| |
202 | 209 |
| |
203 | 210 |
| |
204 | 211 |
| |
205 | 212 |
| |
206 | 213 |
| |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
207 | 234 |
| |
208 | 235 |
| |
209 | 236 |
| |
|
modules/videoio/src/backend_plugin.cpp
Copy file name to clipboardExpand all lines: modules/videoio/src/backend_plugin.cpp+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
415 | 415 |
| |
416 | 416 |
| |
417 | 417 |
| |
418 |
| - | |
| 418 | + | |
419 | 419 |
| |
420 | 420 |
| |
421 | 421 |
| |
| |||
547 | 547 |
| |
548 | 548 |
| |
549 | 549 |
| |
550 |
| - | |
| 550 | + | |
551 | 551 |
| |
552 | 552 |
| |
553 | 553 |
| |
|
modules/videoio/src/backend_static.cpp
Copy file name to clipboardExpand all lines: modules/videoio/src/backend_static.cpp+4-3Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
30 | 32 |
| |
31 |
| - | |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
|
modules/videoio/src/cap_ffmpeg.cpp
Copy file name to clipboardExpand all lines: modules/videoio/src/cap_ffmpeg.cpp+45-14Lines changed: 45 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
168 |
| - | |
| 168 | + | |
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
| |||
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
181 |
| - | |
| 181 | + | |
182 | 182 |
| |
183 | 183 |
| |
184 |
| - | |
| 184 | + | |
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 |
| - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
197 | 202 |
| |
198 | 203 |
| |
199 | 204 |
| |
| |||
207 | 212 |
| |
208 | 213 |
| |
209 | 214 |
| |
210 |
| - | |
211 |
| - | |
| 215 | + | |
212 | 216 |
| |
213 | 217 |
| |
214 | 218 |
| |
| |||
233 | 237 |
| |
234 | 238 |
| |
235 | 239 |
| |
236 |
| - | |
| 240 | + | |
237 | 241 |
| |
238 | 242 |
| |
239 | 243 |
| |
| |||
400 | 404 |
| |
401 | 405 |
| |
402 | 406 |
| |
403 |
| - | |
| 407 | + | |
404 | 408 |
| |
405 | 409 |
| |
406 | 410 |
| |
| |||
426 | 430 |
| |
427 | 431 |
| |
428 | 432 |
| |
429 |
| - | |
| 433 | + | |
430 | 434 |
| |
431 | 435 |
| |
432 | 436 |
| |
| |||
443 | 447 |
| |
444 | 448 |
| |
445 | 449 |
| |
446 |
| - | |
447 |
| - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
448 | 454 |
| |
449 | 455 |
| |
450 | 456 |
| |
451 | 457 |
| |
452 | 458 |
| |
453 |
| - | |
| 459 | + | |
| 460 | + | |
454 | 461 |
| |
455 | 462 |
| |
456 | 463 |
| |
| |||
470 | 477 |
| |
471 | 478 |
| |
472 | 479 |
| |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
473 | 488 |
| |
474 | 489 |
| |
475 | 490 |
| |
| |||
481 | 496 |
| |
482 | 497 |
| |
483 | 498 |
| |
484 |
| - | |
| 499 | + | |
485 | 500 |
| |
486 |
| - | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
487 | 515 |
| |
488 | 516 |
| |
489 | 517 |
| |
| |||
594 | 622 |
| |
595 | 623 |
| |
596 | 624 |
| |
| 625 | + | |
| 626 | + | |
| 627 | + | |
597 | 628 |
| |
598 | 629 |
| |
599 | 630 |
| |
|
You can’t perform that action at this time.
0 commit comments