Searched defs:frames (Results 1 - 25 of 31) sorted by relevance

12

/hardware/intel/img/hwcomposer/merrifield/common/base/
H A DHwcLayer.cpp271 int frames = mFrames.size(); local
272 while (frames && now - mFrames[0] > 5000000000LL) {
274 frames--;
277 if (frames > 1) {
278 fps = frames * 1000000000.0/ (now - mFrames[0]);
/hardware/qcom/audio/legacy/libalsa-intf/
H A Daplay.c173 long frames; local
281 frames = (pcm->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4);
325 fprintf(stderr, "Aplay:avail = %d frames = %d\n",avail, frames);
341 frames = (pcm->flags & PCM_MONO) ? (remainingData / 2) : (remainingData / 4);
361 pcm->sync_ptr->c.control.appl_ptr += frames;
410 offset += frames;
H A Darec.c185 long frames; local
269 frames = bufsize / 2;
271 frames = bufsize / 8;
273 frames = bufsize / 12;
275 frames = bufsize / 4;
277 x.frames = frames;
300 fprintf(stderr, "Arec:avail 1 = %d frames = %ld\n",avail, frames);
307 if (x.frames > avai
[all...]
H A Dalsa_pcm.c468 long frames)
478 frames = frames * channels *2 ;
480 while (frames-- > 0) {
489 long frames)
502 frames = frames * channels *2 ;
504 while (frames-- > 0) {
524 long frames; local
528 frames
467 mmap_transfer(struct pcm *pcm, void *data, unsigned offset, long frames) argument
488 mmap_transfer_capture(struct pcm *pcm, void *data, unsigned offset, long frames) argument
[all...]
/hardware/interfaces/audio/2.0/default/
H A DStreamIn.cpp103 mStream, &mStatus.reply.capturePosition.frames,
418 uint64_t* frames, uint64_t* time) {
429 *frames = halFrames;
436 uint64_t frames = 0, time = 0; local
437 Result retval = getCapturePositionImpl(mStream, &frames, &time);
438 _hidl_cb(retval, frames, time);
417 getCapturePositionImpl(audio_stream_in_t* stream, uint64_t* frames, uint64_t* time) argument
H A DStreamOut.cpp93 mStream, &mStatus.reply.presentationPosition.frames,
488 uint64_t* frames,
499 stream->get_presentation_position(stream, frames, &halTimeStamp),
510 uint64_t frames = 0; local
512 Result retval = getPresentationPositionImpl(mStream, &frames, &timeStamp);
513 _hidl_cb(retval, frames, timeStamp);
487 getPresentationPositionImpl(audio_stream_out_t* stream, uint64_t* frames, TimeSpec* timeStamp) argument
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUsbALSA.cpp383 long frames; local
432 frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4);
433 x.frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4);
492 if (x.frames > avail)
493 frames = avail;
537 musbRecordingHandle->sync_ptr->c.control.appl_ptr += frames;
549 mproxyRecordingHandle->sync_ptr->c.control.appl_ptr += frames;
772 long frames; local
839 frames = (mproxyPlaybackHandle->flags & PCM_MONO) ? (proxyPeriod / 2) : (proxyPeriod / 4);
840 x.frames
[all...]
/hardware/interfaces/audio/2.0/vts/functional/
H A DAudioPrimaryHidlHalTest.cpp1093 "The number of frames lost on a never started stream should be 0");
1104 uint64_t frames; local
1106 ASSERT_OK(stream->getCapturePosition(returnIn(res, frames, time)));
1310 uint64_t frames; local
1312 ASSERT_OK(stream->getPresentationPosition(returnIn(res, frames, mesureTS)));
1317 ASSERT_EQ(0U, frames);
/hardware/libhardware/modules/usbaudio/
H A Daudio_hal.c498 uint64_t *frames, struct timespec *timestamp)
504 const int ret = proxy_get_presentation_position(proxy, frames, timestamp);
497 out_get_presentation_position(const struct audio_stream_out *stream, uint64_t *frames, struct timespec *timestamp) argument
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device.cpp881 DEBUG_PRINT_ERROR("Warning: B frames not supported");
960 DEBUG_PRINT_ERROR("Warning: B frames not supported");
2004 bool venc_dev::venc_set_ltruse(OMX_U32 id, OMX_U32 frames) argument
2009 ltr_use.ltr_frames = (unsigned long)frames;
2010 DEBUG_PRINT_HIGH("Set ltr use: id = %d, ltr_frames = %d", id, frames);
2359 DEBUG_PRINT_ERROR("B frames not supported");
2362 DEBUG_PRINT_ERROR("B frames not supported");
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device.cpp882 DEBUG_PRINT_ERROR("Warning: B frames not supported");
961 DEBUG_PRINT_ERROR("Warning: B frames not supported");
2005 bool venc_dev::venc_set_ltruse(OMX_U32 id, OMX_U32 frames) argument
2010 ltr_use.ltr_frames = (unsigned long)frames;
2011 DEBUG_PRINT_HIGH("Set ltr use: id = %d, ltr_frames = %d", id, frames);
2360 DEBUG_PRINT_ERROR("B frames not supported");
2363 DEBUG_PRINT_ERROR("B frames not supported");
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device.cpp882 DEBUG_PRINT_ERROR("Warning: B frames not supported");
961 DEBUG_PRINT_ERROR("Warning: B frames not supported");
2005 bool venc_dev::venc_set_ltruse(OMX_U32 id, OMX_U32 frames) argument
2010 ltr_use.ltr_frames = (unsigned long)frames;
2011 DEBUG_PRINT_HIGH("Set ltr use: id = %d, ltr_frames = %d", id, frames);
2360 DEBUG_PRINT_ERROR("B frames not supported");
2363 DEBUG_PRINT_ERROR("B frames not supported");
/hardware/qcom/audio/hal/
H A Daudio_hw.c1789 * 5.000 ms = 240 frames = 15*16*1*2 = 480, a whole multiple of 32 (15)
1790 * 3.333 ms = 160 frames = 10*16*1*2 = 320, a whole multiple of 32 (10)
2260 /* Do not limit write size if the available frames count is unknown */
2359 unsigned long frames = 0; local
2361 compress_get_tstamp(out->compr, &frames, &out->sample_rate);
2362 *dsp_frames = (uint32_t)frames;
2363 ALOGVV("%s rendered frames %d sample_rate %d",
2391 uint64_t *frames, struct timespec *timestamp)
2404 ALOGVV("%s rendered frames %ld sample_rate %d",
2406 *frames
2390 out_get_presentation_position(const struct audio_stream_out *stream, uint64_t *frames, struct timespec *timestamp) argument
2958 in_get_capture_position(const struct audio_stream_in *stream, int64_t *frames, int64_t *time) argument
[all...]
/hardware/qcom/msm8994/kernel-headers/sound/
H A Dasound.h446 snd_pcm_uframes_t frames; member in struct:snd_xferi
452 snd_pcm_uframes_t frames; member in struct:snd_xfern
/hardware/qcom/msm8994/original-kernel-headers/sound/
H A Dasound.h266 #define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 /* internal kernel flag - FIFO size is in frames */
322 #define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13 /* Approx frames between
334 #define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17 /* Size of buffer in frames */
372 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */
386 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */
388 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */
389 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */
409 snd_pcm_sframes_t delay; /* current delay in frames */
410 snd_pcm_uframes_t avail; /* number of frames available */
411 snd_pcm_uframes_t avail_max; /* max frames availabl
452 snd_pcm_uframes_t frames; member in struct:snd_xferi
458 snd_pcm_uframes_t frames; member in struct:snd_xfern
[all...]
/hardware/qcom/msm8996/kernel-headers/sound/
H A Dasound.h450 snd_pcm_uframes_t frames; member in struct:snd_xferi
456 snd_pcm_uframes_t frames; member in struct:snd_xfern
/hardware/qcom/msm8996/original-kernel-headers/sound/
H A Dasound.h272 #define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 /* internal kernel flag - FIFO size is in frames */
328 #define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13 /* Approx frames between
340 #define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17 /* Size of buffer in frames */
378 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */
392 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */
394 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */
395 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */
417 snd_pcm_sframes_t delay; /* current delay in frames */
418 snd_pcm_uframes_t avail; /* number of frames available */
419 snd_pcm_uframes_t avail_max; /* max frames availabl
460 snd_pcm_uframes_t frames; member in struct:snd_xferi
466 snd_pcm_uframes_t frames; member in struct:snd_xfern
[all...]
/hardware/qcom/msm8x09/kernel-headers/sound/
H A Dasound.h450 snd_pcm_uframes_t frames; member in struct:snd_xferi
456 snd_pcm_uframes_t frames; member in struct:snd_xfern
/hardware/qcom/msm8x09/original-kernel-headers/sound/
H A Dasound.h272 #define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 /* internal kernel flag - FIFO size is in frames */
328 #define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13 /* Approx frames between
340 #define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17 /* Size of buffer in frames */
378 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */
392 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */
394 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */
395 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */
417 snd_pcm_sframes_t delay; /* current delay in frames */
418 snd_pcm_uframes_t avail; /* number of frames available */
419 snd_pcm_uframes_t avail_max; /* max frames availabl
460 snd_pcm_uframes_t frames; member in struct:snd_xferi
466 snd_pcm_uframes_t frames; member in struct:snd_xfern
[all...]
/hardware/qcom/msm8x26/kernel-headers/sound/
H A Dasound.h445 snd_pcm_uframes_t frames; member in struct:snd_xferi
451 snd_pcm_uframes_t frames; member in struct:snd_xfern
/hardware/qcom/msm8x26/original-kernel-headers/sound/
H A Dasound.h265 #define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 /* internal kernel flag - FIFO size is in frames */
321 #define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13 /* Approx frames between
333 #define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17 /* Size of buffer in frames */
371 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */
385 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */
387 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */
388 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */
408 snd_pcm_sframes_t delay; /* current delay in frames */
409 snd_pcm_uframes_t avail; /* number of frames available */
410 snd_pcm_uframes_t avail_max; /* max frames availabl
451 snd_pcm_uframes_t frames; member in struct:snd_xferi
457 snd_pcm_uframes_t frames; member in struct:snd_xfern
[all...]
/hardware/qcom/msm8x84/kernel-headers/sound/
H A Dasound.h445 snd_pcm_uframes_t frames; member in struct:snd_xferi
451 snd_pcm_uframes_t frames; member in struct:snd_xfern
/hardware/qcom/msm8x84/original-kernel-headers/sound/
H A Dasound.h265 #define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 /* internal kernel flag - FIFO size is in frames */
321 #define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13 /* Approx frames between
333 #define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17 /* Size of buffer in frames */
371 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */
385 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */
387 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */
388 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */
408 snd_pcm_sframes_t delay; /* current delay in frames */
409 snd_pcm_uframes_t avail; /* number of frames available */
410 snd_pcm_uframes_t avail_max; /* max frames availabl
451 snd_pcm_uframes_t frames; member in struct:snd_xferi
457 snd_pcm_uframes_t frames; member in struct:snd_xfern
[all...]
/hardware/qcom/msm8994/kernel-headers/linux/
H A Dvideodev2.h407 __u8 frames; member in struct:v4l2_timecode
/hardware/qcom/msm8994/original-kernel-headers/linux/
H A Dvideodev2.h540 __u8 frames; member in struct:v4l2_timecode

Completed in 514 milliseconds

12