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

Side by Side Diff: source/libvpx/vp8/encoder/ethreading.c

Issue 756673003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years 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 | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vp8/encoder/encodeframe.c ('k') | source/libvpx/vp8/encoder/onyx_if.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 else 254 else
255 cpi->cyclic_refresh_map[map_index + mb_col] = 1; 255 cpi->cyclic_refresh_map[map_index + mb_col] = 1;
256 256
257 } 257 }
258 } 258 }
259 259
260 #if CONFIG_REALTIME_ONLY & CONFIG_ONTHEFLY_BITPACKING 260 #if CONFIG_REALTIME_ONLY & CONFIG_ONTHEFLY_BITPACKING
261 /* pack tokens for this MB */ 261 /* pack tokens for this MB */
262 { 262 {
263 int tok_count = tp - tp_start; 263 int tok_count = tp - tp_start;
264 pack_tokens(w, tp_start, tok_count); 264 vp8_pack_tokens(w, tp_start, tok_count);
265 } 265 }
266 #else 266 #else
267 cpi->tplist[mb_row].stop = tp; 267 cpi->tplist[mb_row].stop = tp;
268 #endif 268 #endif
269 /* Increment pointer into gf usage flags structure. */ 269 /* Increment pointer into gf usage flags structure. */
270 x->gf_active_ptr++; 270 x->gf_active_ptr++;
271 271
272 /* Increment the activity mask pointers. */ 272 /* Increment the activity mask pointers. */
273 x->mb_activity_ptr++; 273 x->mb_activity_ptr++;
274 274
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 z->mv_col_min = x->mv_col_min; 339 z->mv_col_min = x->mv_col_min;
340 z->mv_col_max = x->mv_col_max; 340 z->mv_col_max = x->mv_col_max;
341 z->mv_row_min = x->mv_row_min; 341 z->mv_row_min = x->mv_row_min;
342 z->mv_row_max = x->mv_row_max; 342 z->mv_row_max = x->mv_row_max;
343 */ 343 */
344 344
345 z->short_fdct4x4 = x->short_fdct4x4; 345 z->short_fdct4x4 = x->short_fdct4x4;
346 z->short_fdct8x4 = x->short_fdct8x4; 346 z->short_fdct8x4 = x->short_fdct8x4;
347 z->short_walsh4x4 = x->short_walsh4x4; 347 z->short_walsh4x4 = x->short_walsh4x4;
348 z->quantize_b = x->quantize_b; 348 z->quantize_b = x->quantize_b;
349 z->quantize_b_pair = x->quantize_b_pair;
350 z->optimize = x->optimize; 349 z->optimize = x->optimize;
351 350
352 /* 351 /*
353 z->mvc = x->mvc; 352 z->mvc = x->mvc;
354 z->src.y_buffer = x->src.y_buffer; 353 z->src.y_buffer = x->src.y_buffer;
355 z->src.u_buffer = x->src.u_buffer; 354 z->src.u_buffer = x->src.u_buffer;
356 z->src.v_buffer = x->src.v_buffer; 355 z->src.v_buffer = x->src.v_buffer;
357 */ 356 */
358 357
359 z->mvcost[0] = x->mvcost[0]; 358 z->mvcost[0] = x->mvcost[0];
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 sem_destroy(&cpi->h_event_start_lpf); 660 sem_destroy(&cpi->h_event_start_lpf);
662 661
663 /* free thread related resources */ 662 /* free thread related resources */
664 vpx_free(cpi->h_event_start_encoding); 663 vpx_free(cpi->h_event_start_encoding);
665 vpx_free(cpi->h_encoding_thread); 664 vpx_free(cpi->h_encoding_thread);
666 vpx_free(cpi->mb_row_ei); 665 vpx_free(cpi->mb_row_ei);
667 vpx_free(cpi->en_thread_data); 666 vpx_free(cpi->en_thread_data);
668 } 667 }
669 } 668 }
670 #endif 669 #endif
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/encodeframe.c ('k') | source/libvpx/vp8/encoder/onyx_if.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698