Merge "vp9_bitstream.c: cosmetics"
This commit is contained in:
commit
dcb6aa8e41
@ -520,7 +520,7 @@ static void update_coef_probs_common(vp9_writer* const bc, VP9_COMP *cpi,
|
||||
int i, j, k, l, t;
|
||||
switch (cpi->sf.use_fast_coef_updates) {
|
||||
case TWO_LOOP: {
|
||||
/* dry run to see if there is any udpate at all needed */
|
||||
/* dry run to see if there is any update at all needed */
|
||||
int savings = 0;
|
||||
int update[2] = {0, 0};
|
||||
for (i = 0; i < PLANE_TYPES; ++i) {
|
||||
@ -739,7 +739,6 @@ static void encode_quantization(VP9_COMMON *cm,
|
||||
write_delta_q(wb, cm->uv_ac_delta_q);
|
||||
}
|
||||
|
||||
|
||||
static void encode_segmentation(VP9_COMP *cpi,
|
||||
struct vp9_write_bit_buffer *wb) {
|
||||
int i, j;
|
||||
@ -802,7 +801,6 @@ static void encode_segmentation(VP9_COMP *cpi,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static void encode_txfm_probs(VP9_COMMON *cm, vp9_writer *w) {
|
||||
// Mode
|
||||
vp9_write_literal(w, MIN(cm->tx_mode, ALLOW_32X32), 2);
|
||||
@ -1223,4 +1221,3 @@ void vp9_pack_bitstream(VP9_COMP *cpi, uint8_t *dest, size_t *size) {
|
||||
|
||||
*size = data - dest;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user