Home | History | Annotate | Download | only in src

Lines Matching refs:framerate

445 //          video->FrameRate = 30000/(float)1001; /* fix it to 29.97 fps */
447 video->FrameRate = timeIncRes / ((float)timeInc);
507 /* Make sure the maximum framerate is consistent with the given profile and level */
616 /* Check if the video size and framerate(MBsPerSec) are vald */
644 //video->frameRate = video->encParams->LayerFrameRate[0]; /* Set current layer frame rate */
1980 float bitrate_r, framerate;
1997 /* get image width, height, bitrate and framerate */
2001 framerate = encData->encParams->LayerFrameRate[0];
2002 if (!width || !height || !(bitrate_r > 0 && framerate > 0)) return PV_FALSE;
2005 if (bitrate_r <= rBR_bound[1] && framerate <= max_h263_framerate[0] &&
2013 framerate > max_h263_framerate[1]) /* check the highest level 70 */
2023 ((width <= max_h263_width[0] && height <= max_h263_height[0] && framerate <= max_h263_framerate[1]) ||
2024 (width <= max_h263_width[1] && height <= max_h263_height[1] && framerate <= max_h263_framerate[0])))
2029 else /* width, height and framerate are ok, now choose level 30 or 40 */
2091 OSCL_EXPORT_REF Bool PVUpdateEncFrameRate(VideoEncControls *encCtrl, float *frameRate)
2107 /* New check: encoding framerate should be consistent with the given profile and level */
2109 //mbPerSec = (Int)(nTotalMB * frameRate[i]);
2111 if (frameRate[i] > encData->encParams->LayerMaxFrameRate[i]) return PV_FALSE; /* set by users or profile */
2113 encData->encParams->LayerFrameRate[i] = frameRate[i];
2633 srcFrameInterval = 1000 / video->FrameRate;
2981 #define UPPER_BOUND_RATIO 8.54 /* upper_bound = 1.4*(1.1+bound/10)*bitrate/framerate */