Home
last modified time | relevance | path

Searched refs:denominator (Results 1 – 25 of 44) sorted by relevance

12

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dina132.js41 var denominator = Math.pow(10, decimalPlaces);
42 return (numerator / denominator);
Djoystick12.js45 var denominator = Math.pow(10, decimalPlaces);
46 return (numerator / denominator);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Divfdec.c57 input_ctx->framerate.denominator = mem_get_le32(raw_hdr + 20); in file_is_ivf()
59 &input_ctx->framerate.denominator); in file_is_ivf()
Dwebmdec.c97 vpx_ctx->framerate.denominator = 0; in file_is_webm()
155 vpx_ctx->framerate.denominator = 1; in webm_guess_framerate()
182 vpx_ctx->framerate.denominator = (int)(tstamp / 1000); in webm_guess_framerate()
Dy4menc.c22 framerate->numerator, framerate->denominator, 'p', color); in y4m_write_file_header()
Dvideo_writer.c29 cfg.g_timebase.den = info->time_base.denominator; in write_header()
Dvideo_reader.c54 reader->info.time_base.denominator = mem_get_le32(header + 20); in vpx_video_reader_open()
Dtools_common.h87 int denominator; member
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
DV4LCapabilities.cpp319 …B("frmIvalEnum[%d].stepwise.min = %d/%d)", i, frmIvalEnum.stepwise.min.denominator, frmIvalEnum.st… in getCaps()
320 …B("frmIvalEnum[%d].stepwise.max = %d/%d)", i, frmIvalEnum.stepwise.max.denominator, frmIvalEnum.st… in getCaps()
321 …"frmIvalEnum[%d].stepwise.step = %d/%d)", i, frmIvalEnum.stepwise.step.denominator, frmIvalEnum.st… in getCaps()
322 … caps.ulFrameRates[i] = (frmIvalEnum.stepwise.max.denominator/frmIvalEnum.stepwise.max.numerator); in getCaps()
325 …AMHAL_LOGDB("frmIvalEnum[%d].frame rate= %d)",i, (frmIvalEnum.discrete.denominator/frmIvalEnum.dis… in getCaps()
326 … caps.ulFrameRates[i] = (frmIvalEnum.discrete.denominator/frmIvalEnum.discrete.numerator); in getCaps()
DV4LCameraAdapter.cpp260 streamParams.parm.capture.timeperframe.denominator = FPS_PERIOD; in restartPreview()
403 streamParams.parm.capture.timeperframe.denominator = FPS_PERIOD; in setParameters()
410 …int actualFps = streamParams.parm.capture.timeperframe.denominator / streamParams.parm.capture.tim… in setParameters()
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp226 unsigned int denominator = 0; in stringToRational() local
246 denominator = static_cast<unsigned int>(pow(10, den_len)); in stringToRational()
247 numerator = numerator * denominator + atoi(temp); in stringToRational()
249 denominator = 1; in stringToRational()
255 *den = denominator; in stringToRational()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp181 if (!cret && (req.bpp.denominator > 0)) { in get_output_filled_length()
183 filled_length /= req.bpp.denominator; in get_output_filled_length()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp181 if (!cret && (req.bpp.denominator > 0)) { in get_output_filled_length()
183 filled_length /= req.bpp.denominator; in get_output_filled_length()
/hardware/ti/omap4-aah/camera/
DEncoder_libjpeg.cpp283 unsigned int denominator = 0; in stringToRational() local
303 denominator = static_cast<unsigned int>(pow(10, den_len)); in stringToRational()
304 numerator = numerator * denominator + atoi(temp); in stringToRational()
306 denominator = 1; in stringToRational()
312 *den = denominator; in stringToRational()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dvp8cx_set_ref.c127 info.time_base.denominator = fps; in main()
150 cfg.g_timebase.den = info.time_base.denominator; in main()
Dsimple_encoder.c192 info.time_base.denominator = fps; in main()
219 cfg.g_timebase.den = info.time_base.denominator; in main()
Dtwopass_encoder.c151 info.time_base.denominator = fps; in main()
180 cfg.g_timebase.den = info.time_base.denominator; in main()
Dset_maps.c180 info.time_base.denominator = fps; in main()
203 cfg.g_timebase.den = info.time_base.denominator; in main()
/hardware/qcom/media/msm8974/libc2dcolorconvert/
DC2DColorConverter.h84 int32_t denominator; member
DC2DColorConverter.cpp588 bpp.denominator = 1; in calcBytesPerPixel()
604 bpp.denominator = 2; in calcBytesPerPixel()
/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.h88 int32_t denominator; member
DC2DColorConverter.cpp642 bpp.denominator = 1; in calcBytesPerPixel()
659 bpp.denominator = 2; in calcBytesPerPixel()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXExif.cpp707 unsigned int numerator = 0, denominator = 0; in setupEXIF_libjpeg() local
745 ExifElementsTable::stringToRational(temp_value, &numerator, &denominator); in setupEXIF_libjpeg()
746 snprintf(temp_value, sizeof(temp_value)/sizeof(char), "%u/%u", numerator, denominator); in setupEXIF_libjpeg()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXExif.cpp705 unsigned int numerator = 0, denominator = 0; in setupEXIF_libjpeg() local
743 ExifElementsTable::stringToRational(temp_value, &numerator, &denominator); in setupEXIF_libjpeg()
744 snprintf(temp_value, sizeof(temp_value)/sizeof(char), "%u/%u", numerator, denominator); in setupEXIF_libjpeg()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_vc1_parser.c492 static inline uint32 vbp_map_bfraction(uint32 numerator, uint32 denominator) in vbp_map_bfraction() argument
496 if ((numerator < 8) && (denominator < 9)) in vbp_map_bfraction()
498 b_fraction = b_fraction_table[numerator][denominator]; in vbp_map_bfraction()

12