Home
last modified time | relevance | path

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

12

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dina132.js40 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
42 return (numerator / denominator);
Djoystick12.js44 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
46 return (numerator / denominator);
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp225 unsigned int numerator = 0; in stringToRational() local
234 numerator = atoi(temp); in stringToRational()
236 if (!numerator) in stringToRational()
237 numerator = 1; in stringToRational()
247 numerator = numerator * denominator + atoi(temp); in stringToRational()
254 *num = numerator; in stringToRational()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Divfdec.c56 input_ctx->framerate.numerator = mem_get_le32(raw_hdr + 16); in file_is_ivf()
58 fix_framerate(&input_ctx->framerate.numerator, in file_is_ivf()
Dwebmdec.c98 vpx_ctx->framerate.numerator = 0; in file_is_webm()
154 vpx_ctx->framerate.numerator = 30; in webm_guess_framerate()
181 vpx_ctx->framerate.numerator = (i - 1) * 1000000; in webm_guess_framerate()
Dy4menc.c22 framerate->numerator, framerate->denominator, 'p', color); in y4m_write_file_header()
Dvideo_writer.c28 cfg.g_timebase.num = info->time_base.numerator; in write_header()
Dvideo_reader.c53 reader->info.time_base.numerator = mem_get_le32(header + 16); in vpx_video_reader_open()
Dtools_common.h86 int numerator; member
/hardware/ti/omap4-aah/camera/
DEncoder_libjpeg.cpp282 unsigned int numerator = 0; in stringToRational() local
291 numerator = atoi(temp); in stringToRational()
293 if (!numerator) in stringToRational()
294 numerator = 1; in stringToRational()
304 numerator = numerator * denominator + atoi(temp); in stringToRational()
311 *num = numerator; in stringToRational()
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
DV4LCapabilities.cpp319 …epwise.min = %d/%d)", i, frmIvalEnum.stepwise.min.denominator, frmIvalEnum.stepwise.min.numerator); in getCaps()
320 …epwise.max = %d/%d)", i, frmIvalEnum.stepwise.max.denominator, frmIvalEnum.stepwise.max.numerator); in getCaps()
321 …ise.step = %d/%d)", i, frmIvalEnum.stepwise.step.denominator, frmIvalEnum.stepwise.step.numerator); in getCaps()
322 … caps.ulFrameRates[i] = (frmIvalEnum.stepwise.max.denominator/frmIvalEnum.stepwise.max.numerator); in getCaps()
325 …valEnum[%d].frame rate= %d)",i, (frmIvalEnum.discrete.denominator/frmIvalEnum.discrete.numerator)); in getCaps()
326 … caps.ulFrameRates[i] = (frmIvalEnum.discrete.denominator/frmIvalEnum.discrete.numerator); in getCaps()
DV4LCameraAdapter.cpp261 streamParams.parm.capture.timeperframe.numerator= 1; in restartPreview()
404 streamParams.parm.capture.timeperframe.numerator= 1; in setParameters()
410 …eamParams.parm.capture.timeperframe.denominator / streamParams.parm.capture.timeperframe.numerator; in setParameters()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dvp8cx_set_ref.c126 info.time_base.numerator = 1; in main()
149 cfg.g_timebase.num = info.time_base.numerator; in main()
Dsimple_encoder.c191 info.time_base.numerator = 1; in main()
218 cfg.g_timebase.num = info.time_base.numerator; in main()
Dtwopass_encoder.c150 info.time_base.numerator = 1; in main()
179 cfg.g_timebase.num = info.time_base.numerator; in main()
Dset_maps.c179 info.time_base.numerator = 1; in main()
202 cfg.g_timebase.num = info.time_base.numerator; in main()
/hardware/qcom/media/msm8974/libc2dcolorconvert/
DC2DColorConverter.h83 int32_t numerator; member
DC2DColorConverter.cpp587 bpp.numerator = 0; in calcBytesPerPixel()
592 bpp.numerator = 2; in calcBytesPerPixel()
595 bpp.numerator = 4; in calcBytesPerPixel()
603 bpp.numerator = 3; in calcBytesPerPixel()
/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.h87 int32_t numerator; member
DC2DColorConverter.cpp641 bpp.numerator = 0; in calcBytesPerPixel()
646 bpp.numerator = 2; in calcBytesPerPixel()
649 bpp.numerator = 4; in calcBytesPerPixel()
658 bpp.numerator = 3; in calcBytesPerPixel()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp182 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in get_output_filled_length()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp182 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in get_output_filled_length()
/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