Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: source/libvpx/vp8/decoder/onyxd_if.c

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 cm->frame_to_show = &cm->yv12_fb[cm->lst_fb_idx]; 252 cm->frame_to_show = &cm->yv12_fb[cm->lst_fb_idx];
253 } 253 }
254 else 254 else
255 cm->frame_to_show = &cm->yv12_fb[cm->new_fb_idx]; 255 cm->frame_to_show = &cm->yv12_fb[cm->new_fb_idx];
256 256
257 cm->fb_idx_ref_cnt[cm->new_fb_idx]--; 257 cm->fb_idx_ref_cnt[cm->new_fb_idx]--;
258 258
259 return err; 259 return err;
260 } 260 }
261 261
262 int check_fragments_for_errors(VP8D_COMP *pbi) 262 static int check_fragments_for_errors(VP8D_COMP *pbi)
263 { 263 {
264 if (!pbi->ec_active && 264 if (!pbi->ec_active &&
265 pbi->fragments.count <= 1 && pbi->fragments.sizes[0] == 0) 265 pbi->fragments.count <= 1 && pbi->fragments.sizes[0] == 0)
266 { 266 {
267 VP8_COMMON *cm = &pbi->common; 267 VP8_COMMON *cm = &pbi->common;
268 268
269 /* If error concealment is disabled we won't signal missing frames 269 /* If error concealment is disabled we won't signal missing frames
270 * to the decoder. 270 * to the decoder.
271 */ 271 */
272 if (cm->fb_idx_ref_cnt[cm->lst_fb_idx] > 1) 272 if (cm->fb_idx_ref_cnt[cm->lst_fb_idx] > 1)
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 remove_decompressor(pbi); 496 remove_decompressor(pbi);
497 } 497 }
498 else 498 else
499 { 499 {
500 /* TODO : remove frame threads and decoder instances for each 500 /* TODO : remove frame threads and decoder instances for each
501 * thread here */ 501 * thread here */
502 } 502 }
503 503
504 return VPX_CODEC_OK; 504 return VPX_CODEC_OK;
505 } 505 }
OLDNEW
« no previous file with comments | « source/libvpx/vp8/common/x86/variance_ssse3.c ('k') | source/libvpx/vp8/encoder/arm/armv6/vp8_mse16x16_armv6.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698