diff options
author | John Koleszar <jkoleszar@google.com> | 2012-12-07 17:26:31 -0800 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2012-12-07 17:26:31 -0800 |
commit | d1356faeb8595f3c91bc12f72f6a4198348e2507 (patch) | |
tree | 00f87c71c4bee079c4c021199eefd903dc0016d4 /vp9/encoder | |
parent | 6f014dc5ad805411a7fe14b627e564a5cccda20f (diff) | |
parent | fccebcba57c6ae57d23047a0759effc014267963 (diff) | |
download | libvpx-d1356faeb8595f3c91bc12f72f6a4198348e2507.tar libvpx-d1356faeb8595f3c91bc12f72f6a4198348e2507.tar.gz libvpx-d1356faeb8595f3c91bc12f72f6a4198348e2507.tar.bz2 libvpx-d1356faeb8595f3c91bc12f72f6a4198348e2507.zip |
Merge remote-tracking branch 'origin/vp9-preview' into experimental
Diffstat (limited to 'vp9/encoder')
-rw-r--r-- | vp9/encoder/vp9_asm_enc_offsets.c | 41 | ||||
-rw-r--r-- | vp9/encoder/vp9_firstpass.c | 2 |
2 files changed, 1 insertions, 42 deletions
diff --git a/vp9/encoder/vp9_asm_enc_offsets.c b/vp9/encoder/vp9_asm_enc_offsets.c index 30431ff8c..71fad2e07 100644 --- a/vp9/encoder/vp9_asm_enc_offsets.c +++ b/vp9/encoder/vp9_asm_enc_offsets.c @@ -34,47 +34,6 @@ DEFINE(vp9_blockd_dequant, offsetof(BLOCKD, dequant)); DEFINE(vp9_blockd_dqcoeff, offsetof(BLOCKD, dqcoeff)); DEFINE(vp9_blockd_eob, offsetof(BLOCKD, eob)); -/* subtract */ -DEFINE(vp9_block_base_src, offsetof(BLOCK, base_src)); -DEFINE(vp9_block_src, offsetof(BLOCK, src)); -DEFINE(vp9_block_src_diff, offsetof(BLOCK, src_diff)); -DEFINE(vp9_block_src_stride, offsetof(BLOCK, src_stride)); - -DEFINE(vp9_blockd_predictor, offsetof(BLOCKD, predictor)); - -/* pack tokens */ -DEFINE(vp9_writer_lowvalue, offsetof(vp9_writer, lowvalue)); -DEFINE(vp9_writer_range, offsetof(vp9_writer, range)); -DEFINE(vp9_writer_value, offsetof(vp9_writer, value)); -DEFINE(vp9_writer_count, offsetof(vp9_writer, count)); -DEFINE(vp9_writer_pos, offsetof(vp9_writer, pos)); -DEFINE(vp9_writer_buffer, offsetof(vp9_writer, buffer)); - -DEFINE(tokenextra_token, offsetof(TOKENEXTRA, Token)); -DEFINE(tokenextra_extra, offsetof(TOKENEXTRA, Extra)); -DEFINE(tokenextra_context_tree, offsetof(TOKENEXTRA, context_tree)); -DEFINE(tokenextra_skip_eob_node, offsetof(TOKENEXTRA, skip_eob_node)); -DEFINE(TOKENEXTRA_SZ, sizeof(TOKENEXTRA)); - -DEFINE(vp9_extra_bit_struct_sz, sizeof(vp9_extra_bit_struct)); - -DEFINE(vp9_token_value, offsetof(vp9_token, value)); -DEFINE(vp9_token_len, offsetof(vp9_token, Len)); - -DEFINE(vp9_extra_bit_struct_tree, offsetof(vp9_extra_bit_struct, tree)); -DEFINE(vp9_extra_bit_struct_prob, offsetof(vp9_extra_bit_struct, prob)); -DEFINE(vp9_extra_bit_struct_len, offsetof(vp9_extra_bit_struct, Len)); -DEFINE(vp9_extra_bit_struct_base_val, offsetof(vp9_extra_bit_struct, base_val)); - -DEFINE(vp9_comp_tplist, offsetof(VP9_COMP, tplist)); -DEFINE(vp9_comp_common, offsetof(VP9_COMP, common)); - -DEFINE(tokenlist_start, offsetof(TOKENLIST, start)); -DEFINE(tokenlist_stop, offsetof(TOKENLIST, stop)); -DEFINE(TOKENLIST_SZ, sizeof(TOKENLIST)); - -DEFINE(vp9_common_mb_rows, offsetof(VP9_COMMON, mb_rows)); - END /* add asserts for any offset that is not supported by assembly code diff --git a/vp9/encoder/vp9_firstpass.c b/vp9/encoder/vp9_firstpass.c index e62eeedaf..13e189960 100644 --- a/vp9/encoder/vp9_firstpass.c +++ b/vp9/encoder/vp9_firstpass.c @@ -780,7 +780,7 @@ void vp9_first_pass(VP9_COMP *cpi) { else recon_file = fopen(filename, "ab"); - if (fwrite(lst_yv12->buffer_alloc, lst_yv12->frame_size, 1, recon_file)); + (void)fwrite(lst_yv12->buffer_alloc, lst_yv12->frame_size, 1, recon_file); fclose(recon_file); } |