Home
last modified time | relevance | path

Searched refs:audio2 (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUMAUDIO.c42 struct v4l2_audio audio2; in test_VIDIOC_ENUMAUDIO() local
74 memset(&audio2, 0, sizeof(audio2)); in test_VIDIOC_ENUMAUDIO()
75 audio2.index = audio.index; in test_VIDIOC_ENUMAUDIO()
76 strncpy((char *)audio2.name, (char *)audio.name, in test_VIDIOC_ENUMAUDIO()
77 sizeof(audio2.name)); in test_VIDIOC_ENUMAUDIO()
78 audio2.capability = audio.capability; in test_VIDIOC_ENUMAUDIO()
79 audio2.mode = audio.mode; in test_VIDIOC_ENUMAUDIO()
80 CU_ASSERT_EQUAL(memcmp(&audio, &audio2, sizeof(audio)), in test_VIDIOC_ENUMAUDIO()
96 memset(&audio2, 0xff, sizeof(audio2)); in test_VIDIOC_ENUMAUDIO()
97 audio2.index = i; in test_VIDIOC_ENUMAUDIO()
[all …]
Dtest_VIDIOC_AUDIO.c68 struct v4l2_audio audio2; in test_VIDIOC_G_AUDIO() local
96 memset(&audio2, 0, sizeof(audio2)); in test_VIDIOC_G_AUDIO()
97 audio2.index = audio.index; in test_VIDIOC_G_AUDIO()
98 strncpy((char *)audio2.name, (char *)audio.name, in test_VIDIOC_G_AUDIO()
99 sizeof(audio2.name)); in test_VIDIOC_G_AUDIO()
100 audio2.capability = audio.capability; in test_VIDIOC_G_AUDIO()
101 audio2.mode = audio.mode; in test_VIDIOC_G_AUDIO()
102 CU_ASSERT_EQUAL(memcmp(&audio, &audio2, sizeof(audio)), 0); in test_VIDIOC_G_AUDIO()
118 memset(&audio2, 0xff, sizeof(audio2)); in test_VIDIOC_G_AUDIO()
119 CU_ASSERT_EQUAL(memcmp(&audio, &audio2, sizeof(audio)), 0); in test_VIDIOC_G_AUDIO()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
Deas_math.h312 #define MULT_AUDIO_AUDIO(audio1,audio2) /*lint -e(702) <avoid divide for performance>*/ \ argument
315 ((int32_t)(audio1)) * ((int32_t)(audio2)) \