77 |
log2bin(uint32_t value) |
log2bin(uint32_t value) |
78 |
{ |
{ |
79 |
/* Changed by Chenm001 */ |
/* Changed by Chenm001 */ |
80 |
#ifndef WIN32 |
#if !defined(_MSC_VER) |
81 |
int n = 0; |
int n = 0; |
82 |
|
|
83 |
while (value) { |
while (value) { |
568 |
BitstreamSkip(bs, 15); // latter_half_vbv_occupancy |
BitstreamSkip(bs, 15); // latter_half_vbv_occupancy |
569 |
READ_MARKER(); |
READ_MARKER(); |
570 |
} |
} |
571 |
|
}else{ |
572 |
|
dec->low_delay = dec->low_delay_default; |
573 |
} |
} |
574 |
|
|
575 |
dec->shape = BitstreamGetBits(bs, 2); // video_object_layer_shape |
dec->shape = BitstreamGetBits(bs, 2); // video_object_layer_shape |
874 |
dec->time_bp = (uint32_t) |
dec->time_bp = (uint32_t) |
875 |
(dec->time_inc_resolution + dec->last_non_b_time - dec->time)%dec->time_inc_resolution; |
(dec->time_inc_resolution + dec->last_non_b_time - dec->time)%dec->time_inc_resolution; |
876 |
} |
} |
877 |
|
DPRINTF(DPRINTF_HEADER,"time_pp=%i", dec->time_pp); |
878 |
|
DPRINTF(DPRINTF_HEADER,"time_bp=%i", dec->time_bp); |
879 |
|
|
880 |
READ_MARKER(); |
READ_MARKER(); |
881 |
|
|