| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2007-2009 Intel Corporation. All Rights Reserved. | 2 * Copyright (c) 2007-2009 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 2471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2482 * Only attributes returned with VA_DISPLAY_ATTRIB_SETTABLE set in the "flags" f
ield | 2482 * Only attributes returned with VA_DISPLAY_ATTRIB_SETTABLE set in the "flags" f
ield |
| 2483 * from vaQueryDisplayAttributes() can be set. If the attribute is not settable
or | 2483 * from vaQueryDisplayAttributes() can be set. If the attribute is not settable
or |
| 2484 * the value is out of range, the function returns VA_STATUS_ERROR_ATTR_NOT_SUPP
ORTED | 2484 * the value is out of range, the function returns VA_STATUS_ERROR_ATTR_NOT_SUPP
ORTED |
| 2485 */ | 2485 */ |
| 2486 VAStatus vaSetDisplayAttributes ( | 2486 VAStatus vaSetDisplayAttributes ( |
| 2487 VADisplay dpy, | 2487 VADisplay dpy, |
| 2488 VADisplayAttribute *attr_list, | 2488 VADisplayAttribute *attr_list, |
| 2489 int num_attributes | 2489 int num_attributes |
| 2490 ); | 2490 ); |
| 2491 | 2491 |
| 2492 /** |
| 2493 * Get codec resolution |
| 2494 * This function returns the hardware codec supported maximum resolution. |
| 2495 */ |
| 2496 VAStatus vaGetCodecResolution ( |
| 2497 VADisplay dpy, |
| 2498 unsigned int *width, /* out */ |
| 2499 unsigned int *height /* out */ |
| 2500 ); |
| 2501 |
| 2492 /**@}*/ | 2502 /**@}*/ |
| 2493 | 2503 |
| 2494 #ifdef __cplusplus | 2504 #ifdef __cplusplus |
| 2495 } | 2505 } |
| 2496 #endif | 2506 #endif |
| 2497 | 2507 |
| 2498 #endif /* _VA_H_ */ | 2508 #endif /* _VA_H_ */ |
| OLD | NEW |