| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 int rows = cm->mi_rows; | 56 int rows = cm->mi_rows; |
| 57 int cols = cm->mi_cols; | 57 int cols = cm->mi_cols; |
| 58 | 58 |
| 59 print_mi_data(cm, mvs, "Partitions:", offsetof(MB_MODE_INFO, sb_type)); | 59 print_mi_data(cm, mvs, "Partitions:", offsetof(MB_MODE_INFO, sb_type)); |
| 60 print_mi_data(cm, mvs, "Modes:", offsetof(MB_MODE_INFO, mode)); | 60 print_mi_data(cm, mvs, "Modes:", offsetof(MB_MODE_INFO, mode)); |
| 61 print_mi_data(cm, mvs, "Skips:", offsetof(MB_MODE_INFO, skip_coeff)); | 61 print_mi_data(cm, mvs, "Skips:", offsetof(MB_MODE_INFO, skip_coeff)); |
| 62 print_mi_data(cm, mvs, "Ref frame:", offsetof(MB_MODE_INFO, ref_frame[0])); | 62 print_mi_data(cm, mvs, "Ref frame:", offsetof(MB_MODE_INFO, ref_frame[0])); |
| 63 print_mi_data(cm, mvs, "Transform:", offsetof(MB_MODE_INFO, tx_size)); | 63 print_mi_data(cm, mvs, "Transform:", offsetof(MB_MODE_INFO, tx_size)); |
| 64 print_mi_data(cm, mvs, "UV Modes:", offsetof(MB_MODE_INFO, uv_mode)); | 64 print_mi_data(cm, mvs, "UV Modes:", offsetof(MB_MODE_INFO, uv_mode)); |
| 65 | 65 |
| 66 log_frame_info(cm, "Vectors ",mvs); | 66 log_frame_info(cm, "Vectors ", mvs); |
| 67 for (mi_row = 0; mi_row < rows; mi_row++) { | 67 for (mi_row = 0; mi_row < rows; mi_row++) { |
| 68 fprintf(mvs,"V "); | 68 fprintf(mvs, "V "); |
| 69 for (mi_col = 0; mi_col < cols; mi_col++) { | 69 for (mi_col = 0; mi_col < cols; mi_col++) { |
| 70 fprintf(mvs, "%4d:%4d ", mi_8x8[mi_index]->mbmi.mv[0].as_mv.row, | 70 fprintf(mvs, "%4d:%4d ", mi_8x8[mi_index]->mbmi.mv[0].as_mv.row, |
| 71 mi_8x8[mi_index]->mbmi.mv[0].as_mv.col); | 71 mi_8x8[mi_index]->mbmi.mv[0].as_mv.col); |
| 72 mi_index++; | 72 mi_index++; |
| 73 } | 73 } |
| 74 fprintf(mvs, "\n"); | 74 fprintf(mvs, "\n"); |
| 75 mi_index += 8; | 75 mi_index += 8; |
| 76 } | 76 } |
| 77 fprintf(mvs, "\n"); | 77 fprintf(mvs, "\n"); |
| 78 | 78 |
| 79 fclose(mvs); | 79 fclose(mvs); |
| 80 } | 80 } |
| OLD | NEW |