Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2007 Intel Corporation. All Rights Reserved. | 2 * Copyright (c) 2007 Intel Corporation. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Permission is hereby granted, free of charge, to any person obtaining a | 4 * Permission is hereby granted, free of charge, to any person obtaining a |
| 5 * copy of this software and associated documentation files (the | 5 * copy of this software and associated documentation files (the |
| 6 * "Software"), to deal in the Software without restriction, including | 6 * "Software"), to deal in the Software without restriction, including |
| 7 * without limitation the rights to use, copy, modify, merge, publish, | 7 * without limitation the rights to use, copy, modify, merge, publish, |
| 8 * distribute, sub license, and/or sell copies of the Software, and to | 8 * distribute, sub license, and/or sell copies of the Software, and to |
| 9 * permit persons to whom the Software is furnished to do so, subject to | 9 * permit persons to whom the Software is furnished to do so, subject to |
| 10 * the following conditions: | 10 * the following conditions: |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 385 void **buffer /* if it is not NULL, map the surface buffer for | 385 void **buffer /* if it is not NULL, map the surface buffer for |
| 386 * CPU access | 386 * CPU access |
| 387 */ | 387 */ |
| 388 ); | 388 ); |
| 389 | 389 |
| 390 VAStatus (*vaUnlockSurface) ( | 390 VAStatus (*vaUnlockSurface) ( |
| 391 VADriverContextP ctx, | 391 VADriverContextP ctx, |
| 392 VASurfaceID surface | 392 VASurfaceID surface |
| 393 ); | 393 ); |
| 394 | 394 |
| 395 VAStatus (*vaGetCodecResolution) ( | |
|
wuchengli
2015/01/23 12:58:21
We should call this vaGetProfileResolution. Functi
| |
| 396 VADriverContextP ctx, | |
| 397 unsigned int *width, /* out */ | |
| 398 unsigned int *height /* out */ | |
| 399 ); | |
| 400 | |
| 395 /* DEPRECATED */ | 401 /* DEPRECATED */ |
| 396 VAStatus | 402 VAStatus |
| 397 (*vaGetSurfaceAttributes)( | 403 (*vaGetSurfaceAttributes)( |
| 398 VADriverContextP dpy, | 404 VADriverContextP dpy, |
| 399 VAConfigID config, | 405 VAConfigID config, |
| 400 VASurfaceAttrib *attrib_list, | 406 VASurfaceAttrib *attrib_list, |
| 401 unsigned int num_attribs | 407 unsigned int num_attribs |
| 402 ); | 408 ); |
| 403 | 409 |
| 404 VAStatus | 410 VAStatus |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 536 void *opaque; /* opaque for display extensions (e.g. GLX) */ | 542 void *opaque; /* opaque for display extensions (e.g. GLX) */ |
| 537 void *vatrace; /* opaque for VA trace context */ | 543 void *vatrace; /* opaque for VA trace context */ |
| 538 void *vafool; /* opaque for VA fool context */ | 544 void *vafool; /* opaque for VA fool context */ |
| 539 }; | 545 }; |
| 540 | 546 |
| 541 typedef VAStatus (*VADriverInit) ( | 547 typedef VAStatus (*VADriverInit) ( |
| 542 VADriverContextP driver_context | 548 VADriverContextP driver_context |
| 543 ); | 549 ); |
| 544 | 550 |
| 545 #endif /* _VA_BACKEND_H_ */ | 551 #endif /* _VA_BACKEND_H_ */ |
| OLD | NEW |