Lines Matching refs:queue
773 RK_S32 queue; member
795 ctx->queue = -9; in init_context()
802 if (ctx->queue >= 0) { in h264e_cabac_putbyte()
803 RK_S32 out = ctx->low >> (ctx->queue + 10); in h264e_cabac_putbyte()
805 ctx->low &= (0x400 << ctx->queue) - 1; in h264e_cabac_putbyte()
806 ctx->queue -= 8; in h264e_cabac_putbyte()
815 if (ctx->queue > 0) in h264e_cabac_putbyte()
816 mpp_writer_put_bits(s, carry, ctx->queue & 0x7); in h264e_cabac_putbyte()
823 mpp_writer_put_bits(s, out, MPP_MIN(8, 8 - ctx->queue)); in h264e_cabac_putbyte()
842 ctx->queue += shift; in h264e_cabac_renorm()
914 ctx->queue += 9; in h264e_cabac_flush()
919 ctx->low <<= -ctx->queue; in h264e_cabac_flush()
921 ctx->queue = 0; in h264e_cabac_flush()