static int minimum_frame_bits(VC2EncContext *s)

{

    int slice_x, slice_y, bits = 0;

    s->size_scaler = 64;

    for (slice_y = 0; slice_y < s->num_y; slice_y++) {

        for (slice_x = 0; slice_x < s->num_x; slice_x++) {

            bits += count_hq_slice(s, NULL, slice_x, slice_y, s->q_ceil);

        }

    }

    return bits;

}

static int minimum_frame_bits(VC2EncContext *s)

{

    int slice_x, slice_y, bits = 0;

    s->size_scaler = 64;

    for (slice_y = 0; slice_y < s->num_y; slice_y++) {

        for (slice_x = 0; slice_x < s->num_x; slice_x++) {

            bits += count_hq_slice(s, NULL, slice_x, slice_y, s->q_ceil);

        }

    }

    return bits;

}

    for (slice_y = 0; slice_y < s->num_y; slice_y++) {         for (slice_x = 0; slice_x < s->num_x; slice_x++) { static int minimum_frame_bits(VC2EncContext *s)     int slice_x, slice_y, bits = 0;     s->size_scaler = 64;     for (slice_y = 0; slice_y < s->num_y; slice_y++) {         for (slice_x = 0; slice_x < s->num_x; slice_x++) {             bits += count_hq_slice(s, NULL, slice_x, slice_y, s->q_ceil);     return bits;
static int FUNC_0(VC2EncContext *VAR_0)

{

    int VAR_1, VAR_2, VAR_3 = 0;

    VAR_0->size_scaler = 64;

    for (VAR_2 = 0; VAR_2 < VAR_0->num_y; VAR_2++) {

        for (VAR_1 = 0; VAR_1 < VAR_0->num_x; VAR_1++) {

            VAR_3 += count_hq_slice(VAR_0, NULL, VAR_1, VAR_2, VAR_0->q_ceil);

        }

    }

    return VAR_3;

}

static int FUNC_0(VC2EncContext *VAR_0)
{ int VAR_1, VAR_2, VAR_3 = 0; VAR_0->size_scaler = 64; for (VAR_2 = 0; VAR_2 < VAR_0->num_y; VAR_2++) { for (VAR_1 = 0; VAR_1 < VAR_0->num_x; VAR_1++) { VAR_3 += count_hq_slice(VAR_0, NULL, VAR_1, VAR_2, VAR_0->q_ceil); } } return VAR_3; }