1 /* 2 * Copyright (c) 2021, Alliance for Open Media. All rights reserved. 3 * 4 * This source code is subject to the terms of the BSD 2 Clause License and 5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License 6 * was not distributed with this source code in the LICENSE file, you can 7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open 8 * Media Patent License 1.0 was not distributed with this source code in the 9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent. 10 */ 11 12 typedef struct RD { 13 int u; 14 int v; 15 int arr[3]; 16 } RD; 17 18 typedef struct VP9_COMP { 19 int y; 20 RD *rd; 21 RD rd2; 22 RD rd3[2]; 23 } VP9_COMP; 24 parse_lvalue_2(VP9_COMP * cpi)25int parse_lvalue_2(VP9_COMP *cpi) { RD *rd2 = &cpi->rd2; } 26 func(VP9_COMP * cpi,int x)27int func(VP9_COMP *cpi, int x) { 28 cpi->rd->u = 0; 29 30 int y; 31 y = 0; 32 33 cpi->rd2.v = 0; 34 35 cpi->rd->arr[2] = 0; 36 37 cpi->rd3[1]->arr[2] = 0; 38 39 return 0; 40 } 41 main(void)42int main(void) { 43 int x = 0; 44 VP9_COMP cpi; 45 func(&cpi, x); 46 } 47