Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
13 Views

m_pMFXAllocator->Alloc error

Jump to solution

hi,

I use pipiline_decode.cpp, I want to creat 2 decoders,and both decodecrs use video memcry. When I use m_pMFXAllocator->Alloc(m_pMFXAllocator->pthis, &Request, &m_mfxResponse), each decoder retern the same memid(m_mfxResponse.mids),it means the two decoders are use the same video memory. How can I set decoders use different video memory?

 

thank you very much!

 

 

0 Kudos

Accepted Solutions
Highlighted
Employee
13 Views

Two Alloc calls should return different mids arrays. You can debug inside video memory allocator since it's an opensource (part of samples ) and find put what went wrong.Just make sure allocator creates different handles of d3d9/11 surfaces/textures or vaapi surfaces.

View solution in original post

0 Kudos
1 Reply
Highlighted
Employee
14 Views

Two Alloc calls should return different mids arrays. You can debug inside video memory allocator since it's an opensource (part of samples ) and find put what went wrong.Just make sure allocator creates different handles of d3d9/11 surfaces/textures or vaapi surfaces.

View solution in original post

0 Kudos