1b8e80941Smrg/************************************************************************** 2b8e80941Smrg * 3b8e80941Smrg * Copyright 2010 Thomas Balling Sørensen & Orasanu Lucian. 4b8e80941Smrg * Copyright 2014 Advanced Micro Devices, Inc. 5b8e80941Smrg * All Rights Reserved. 6b8e80941Smrg * 7b8e80941Smrg * Permission is hereby granted, free of charge, to any person obtaining a 8b8e80941Smrg * copy of this software and associated documentation files (the 9b8e80941Smrg * "Software"), to deal in the Software without restriction, including 10b8e80941Smrg * without limitation the rights to use, copy, modify, merge, publish, 11b8e80941Smrg * distribute, sub license, and/or sell copies of the Software, and to 12b8e80941Smrg * permit persons to whom the Software is furnished to do so, subject to 13b8e80941Smrg * the following conditions: 14b8e80941Smrg * 15b8e80941Smrg * The above copyright notice and this permission notice (including the 16b8e80941Smrg * next paragraph) shall be included in all copies or substantial portions 17b8e80941Smrg * of the Software. 18b8e80941Smrg * 19b8e80941Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 20b8e80941Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 21b8e80941Smrg * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 22b8e80941Smrg * IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR 23b8e80941Smrg * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 24b8e80941Smrg * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 25b8e80941Smrg * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 26b8e80941Smrg * 27b8e80941Smrg **************************************************************************/ 28b8e80941Smrg 29b8e80941Smrg#include "va_private.h" 30b8e80941Smrg 31b8e80941SmrgVAStatus 32b8e80941SmrgvlVaQueryDisplayAttributes(VADriverContextP ctx, VADisplayAttribute *attr_list, int *num_attributes) 33b8e80941Smrg{ 34b8e80941Smrg if (!ctx) 35b8e80941Smrg return VA_STATUS_ERROR_INVALID_CONTEXT; 36b8e80941Smrg 37b8e80941Smrg if (!(attr_list && num_attributes)) 38b8e80941Smrg return VA_STATUS_ERROR_UNKNOWN; 39b8e80941Smrg 40b8e80941Smrg *num_attributes = 0; 41b8e80941Smrg 42b8e80941Smrg return VA_STATUS_SUCCESS; 43b8e80941Smrg} 44b8e80941Smrg 45b8e80941SmrgVAStatus 46b8e80941SmrgvlVaGetDisplayAttributes(VADriverContextP ctx, VADisplayAttribute *attr_list, int num_attributes) 47b8e80941Smrg{ 48b8e80941Smrg if (!ctx) 49b8e80941Smrg return VA_STATUS_ERROR_INVALID_CONTEXT; 50b8e80941Smrg 51b8e80941Smrg return VA_STATUS_ERROR_UNIMPLEMENTED; 52b8e80941Smrg} 53b8e80941Smrg 54b8e80941SmrgVAStatus 55b8e80941SmrgvlVaSetDisplayAttributes(VADriverContextP ctx, VADisplayAttribute *attr_list, int num_attributes) 56b8e80941Smrg{ 57b8e80941Smrg if (!ctx) 58b8e80941Smrg return VA_STATUS_ERROR_INVALID_CONTEXT; 59b8e80941Smrg 60b8e80941Smrg return VA_STATUS_ERROR_UNIMPLEMENTED; 61b8e80941Smrg} 62