| 64 | } |
| 65 | |
| 66 | virtual Buffer *allocate(size_t size) |
| 67 | { |
| 68 | VaapiImage *vi = new VaapiImage(); |
| 69 | vi->allocator = this; |
| 70 | CALL_VA(vaCreateImage(display, &format, width, height, &vi->image)); |
| 71 | return vi; |
| 72 | } |
| 73 | |
| 74 | virtual void free(Buffer *b) |
| 75 | { |
nothing calls this directly
no outgoing calls
no test coverage detected