Home | History | Annotate | Download | only in decoder

Lines Matching refs:bc

297 static int get_delta_q(vp8_reader *bc, int prev, int *q_update)
301 if (vp8_read_bit(bc))
303 ret_val = vp8_read_literal(bc, 4);
305 if (vp8_read_bit(bc))
439 pc->multi_token_partition = (TOKEN_PARTITION)vp8_read_literal(&pbi->bc, 2);
570 vp8_reader *const bc = & pbi->bc;
653 if (vp8dx_start_decode(bc, data, data_end - data))
657 pc->clr_type = (YUV_TYPE)vp8_read_bit(bc);
658 pc->clamp_type = (CLAMP_TYPE)vp8_read_bit(bc);
662 xd->segmentation_enabled = (unsigned char)vp8_read_bit(bc);
667 xd->update_mb_segmentation_map = (unsigned char)vp8_read_bit(bc);
668 xd->update_mb_segmentation_data = (unsigned char)vp8_read_bit(bc);
672 xd->mb_segement_abs_delta = (unsigned char)vp8_read_bit(bc);
682 if (vp8_read_bit(bc))
684 xd->segment_feature_data[i][j] = (signed char)vp8_read_literal(bc, mb_feature_data_bits[i]);
686 if (vp8_read_bit(bc))
704 if (vp8_read_bit(bc))
705 xd->mb_segment_tree_probs[i] = (vp8_prob)vp8_read_literal(bc, 8);
711 pc->filter_type = (LOOPFILTERTYPE) vp8_read_bit(bc);
712 pc->filter_level = vp8_read_literal(bc, 6);
713 pc->sharpness_level = vp8_read_literal(bc, 3);
717 xd->mode_ref_lf_delta_enabled = (unsigned char)vp8_read_bit(bc);
722 xd->mode_ref_lf_delta_update = (unsigned char)vp8_read_bit(bc);
729 if (vp8_read_bit(bc))
731 /*sign = vp8_read_bit( bc );*/
732 xd->ref_lf_deltas[i] = (signed char)vp8_read_literal(bc, 6);
734 if (vp8_read_bit(bc)) /* Apply sign */
742 if (vp8_read_bit(bc))
744 /*sign = vp8_read_bit( bc );*/
745 xd->mode_lf_deltas[i] = (signed char)vp8_read_literal(bc, 6);
747 if (vp8_read_bit(bc)) /* Apply sign */
761 Q = vp8_read_literal(bc, 7); /* AC 1st order Q = default */
764 pc->y1dc_delta_q = get_delta_q(bc, pc->y1dc_delta_q, &q_update);
765 pc->y2dc_delta_q = get_delta_q(bc, pc->y2dc_delta_q, &q_update);
766 pc->y2ac_delta_q = get_delta_q(bc, pc->y2ac_delta_q, &q_update);
767 pc->uvdc_delta_q = get_delta_q(bc, pc->uvdc_delta_q, &q_update);
768 pc->uvac_delta_q = get_delta_q(bc, pc->uvac_delta_q, &q_update);
784 pc->refresh_golden_frame = vp8_read_bit(bc);
785 pc->refresh_alt_ref_frame = vp8_read_bit(bc);
791 pc->copy_buffer_to_gf = vp8_read_literal(bc, 2);
796 pc->copy_buffer_to_arf = vp8_read_literal(bc, 2);
798 pc->ref_frame_sign_bias[GOLDEN_FRAME] = vp8_read_bit(bc);
799 pc->ref_frame_sign_bias[ALTREF_FRAME] = vp8_read_bit(bc);
802 pc->refresh_entropy_probs = vp8_read_bit(bc);
808 pc->refresh_last_frame = pc->frame_type == KEY_FRAME || vp8_read_bit(bc);
835 if (vp8_read(bc, vp8_coef_update_probs [i][j][k][l]))
837 *p = (vp8_prob)vp8_read_literal(bc, 8);
860 pc->mb_no_coeff_skip = (int)vp8_read_bit(bc);
912 vp8dx_bool_error(bc);
917 /* vpx_log("Decoder: Frame Decoded, Size Roughly:%d bytes \n",bc->pos+pbi->bc2.pos); */
934 unsigned int size = pbi->bc2.pos + pbi->bc.pos + 8;