Commit d69161f8 authored by Alex Converse's avatar Alex Converse

Use the aom_writer type rather than the tag in calling code.

This makes room for typedefing some other struct to aom_writer.

Change-Id: I1e82de1320da00b3e41c90b14f2df45e7628aa89
parent 95aff94a
......@@ -1109,7 +1109,7 @@ static void write_txfm_mode(TX_MODE mode, struct aom_write_bit_buffer *wb) {
if (mode != TX_MODE_SELECT) aom_wb_write_literal(wb, mode, 2);
static void write_txfm_mode(TX_MODE mode, struct aom_writer *wb) {
static void write_txfm_mode(TX_MODE mode, aom_writer *wb) {
aom_write_literal(wb, AOMMIN(mode, ALLOW_32X32), 2);
if (mode >= ALLOW_32X32) aom_write_bit(wb, mode == TX_MODE_SELECT);
......@@ -16,14 +16,12 @@
extern "C" {
#include "aom_dsp/bitwriter.h"
#include "aom_dsp/prob.h"
struct aom_writer;
void av1_write_prob_diff_update(aom_writer *w, aom_prob newp, aom_prob oldp);
void av1_write_prob_diff_update(struct aom_writer *w, aom_prob newp,
aom_prob oldp);
void av1_cond_prob_diff_update(struct aom_writer *w, aom_prob *oldp,
void av1_cond_prob_diff_update(aom_writer *w, aom_prob *oldp,
const unsigned int ct[2]);
int av1_prob_diff_update_savings_search(const unsigned int *ct, aom_prob oldp,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment