Commit e2f20ff
[CP] Enable CP command queue ownership in driver
* [CP] Enable cp command queue ownership in driver
Changed cp command queue ownership from application to driver for CP operations. Driver now creates and manages its own command queue for cp operations instead of sharing the application's queue. Updated command queue initialization to support null hRTCommandQueue handle, using device callbacks for queue/context creation and destruction. Fixed memory leaks in destructor by properly cleaning up command pool and list pointers. Removed cp queue handling from video decode/process/encode queue creation path. Added MT_CP_CMD_QUEUE_INIT trace event to log command queue initialization errors. This enhances debugging capability by capturing the error status and return value when command queue creation fails.1 parent 82b86d2 commit e2f20ff
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
| 668 | + | |
668 | 669 | | |
669 | 670 | | |
670 | 671 | | |
| |||
0 commit comments