17ec681f3Smrg/************************************************************************** 27ec681f3Smrg * 37ec681f3Smrg * Copyright 2010 Thomas Balling Sørensen & Orasanu Lucian. 47ec681f3Smrg * Copyright 2014 Advanced Micro Devices, Inc. 57ec681f3Smrg * All Rights Reserved. 67ec681f3Smrg * 77ec681f3Smrg * Permission is hereby granted, free of charge, to any person obtaining a 87ec681f3Smrg * copy of this software and associated documentation files (the 97ec681f3Smrg * "Software"), to deal in the Software without restriction, including 107ec681f3Smrg * without limitation the rights to use, copy, modify, merge, publish, 117ec681f3Smrg * distribute, sub license, and/or sell copies of the Software, and to 127ec681f3Smrg * permit persons to whom the Software is furnished to do so, subject to 137ec681f3Smrg * the following conditions: 147ec681f3Smrg * 157ec681f3Smrg * The above copyright notice and this permission notice (including the 167ec681f3Smrg * next paragraph) shall be included in all copies or substantial portions 177ec681f3Smrg * of the Software. 187ec681f3Smrg * 197ec681f3Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 207ec681f3Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 217ec681f3Smrg * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 227ec681f3Smrg * IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR 237ec681f3Smrg * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 247ec681f3Smrg * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 257ec681f3Smrg * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 267ec681f3Smrg * 277ec681f3Smrg **************************************************************************/ 287ec681f3Smrg 297ec681f3Smrg#include "va_private.h" 307ec681f3Smrg 317ec681f3SmrgVAStatus 327ec681f3SmrgvlVaQueryDisplayAttributes(VADriverContextP ctx, VADisplayAttribute *attr_list, int *num_attributes) 337ec681f3Smrg{ 347ec681f3Smrg if (!ctx) 357ec681f3Smrg return VA_STATUS_ERROR_INVALID_CONTEXT; 367ec681f3Smrg 377ec681f3Smrg if (!(attr_list && num_attributes)) 387ec681f3Smrg return VA_STATUS_ERROR_UNIMPLEMENTED; 397ec681f3Smrg 407ec681f3Smrg *num_attributes = 0; 417ec681f3Smrg 427ec681f3Smrg return VA_STATUS_SUCCESS; 437ec681f3Smrg} 447ec681f3Smrg 457ec681f3SmrgVAStatus 467ec681f3SmrgvlVaGetDisplayAttributes(VADriverContextP ctx, VADisplayAttribute *attr_list, int num_attributes) 477ec681f3Smrg{ 487ec681f3Smrg if (!ctx) 497ec681f3Smrg return VA_STATUS_ERROR_INVALID_CONTEXT; 507ec681f3Smrg 517ec681f3Smrg return VA_STATUS_ERROR_UNIMPLEMENTED; 527ec681f3Smrg} 537ec681f3Smrg 547ec681f3SmrgVAStatus 557ec681f3SmrgvlVaSetDisplayAttributes(VADriverContextP ctx, VADisplayAttribute *attr_list, int num_attributes) 567ec681f3Smrg{ 577ec681f3Smrg if (!ctx) 587ec681f3Smrg return VA_STATUS_ERROR_INVALID_CONTEXT; 597ec681f3Smrg 607ec681f3Smrg return VA_STATUS_ERROR_UNIMPLEMENTED; 617ec681f3Smrg} 62