OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 v_pos += v_pitch; | 135 v_pos += v_pitch; |
136 } | 136 } |
137 return true; | 137 return true; |
138 } | 138 } |
139 | 139 |
140 int errors_; | 140 int errors_; |
141 int width_; | 141 int width_; |
142 int height_; | 142 int height_; |
143 int num_rendered_frames_; | 143 int num_rendered_frames_; |
144 bool black_frame_; | 144 bool black_frame_; |
145 mutable rtc::CriticalSection crit_; | 145 rtc::CriticalSection crit_; |
146 }; | 146 }; |
147 | 147 |
148 } // namespace cricket | 148 } // namespace cricket |
149 | 149 |
150 #endif // TALK_MEDIA_BASE_FAKEVIDEORENDERER_H_ | 150 #endif // TALK_MEDIA_BASE_FAKEVIDEORENDERER_H_ |
OLD | NEW |