Searched refs:BITRATE_AVERAGE_WINDOW (Results 1 – 2 of 2) sorted by relevance
25 #define BITRATE_AVERAGE_WINDOW 4 macro26 #define FRAMERATE_SCALE ((BITRATE_AVERAGE_WINDOW-1)*10000L)261 int32 nBitsPerVop[BITRATE_AVERAGE_WINDOW];262 uint32 prevTimestamp[BITRATE_AVERAGE_WINDOW];
793 for (idx = 0; idx < BITRATE_AVERAGE_WINDOW; idx++) in PVGetDecBitrate()797 sum = (sum * video->frameRate) / (10 * BITRATE_AVERAGE_WINDOW); in PVGetDecBitrate()1393 idx = ++video->frame_idx % BITRATE_AVERAGE_WINDOW; in PVDecodeVopBody()1406 video->duration -= video->prevTimestamp[(++idx)%BITRATE_AVERAGE_WINDOW]; in PVDecodeVopBody()