Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 22 of 22) sorted by relevance

/hardware/qcom/camera/mm-camera-interface/
Dmm_camera_channel.c54 mm_camera_ch_t *ch,
62 mm_camera_ch_t *ch,
84 if(my_obj->ch[ch_type].video.has_main) { in mm_camera_ch_util_get_num_stream()
107 *stream1 = &my_obj->ch[ch_type].raw.stream; in mm_camera_ch_util_get_stream_objs()
110 *stream1 = &my_obj->ch[ch_type].preview.stream; in mm_camera_ch_util_get_stream_objs()
113 *stream1 = &my_obj->ch[ch_type].video.video; in mm_camera_ch_util_get_stream_objs()
114 if(my_obj->ch[ch_type].video.has_main) { in mm_camera_ch_util_get_stream_objs()
115 *stream2 = &my_obj->ch[ch_type].video.main; in mm_camera_ch_util_get_stream_objs()
119 *stream1 = &my_obj->ch[ch_type].snapshot.main; in mm_camera_ch_util_get_stream_objs()
121 *stream2 = &my_obj->ch[ch_type].snapshot.thumbnail; in mm_camera_ch_util_get_stream_objs()
[all …]
Dmm_camera_notify.c59 stream = &my_obj->ch[MM_CAMERA_CH_RAW].raw.stream; in mm_camera_read_raw_frame()
64 pthread_mutex_lock(&my_obj->ch[MM_CAMERA_CH_RAW].mutex); in mm_camera_read_raw_frame()
66 if((my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].cb) && in mm_camera_read_raw_frame()
70 data[cnt].def.frame = &my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.frame[idx].frame; in mm_camera_read_raw_frame()
71 my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.ref_count[idx]++; in mm_camera_read_raw_frame()
73 (uint32_t)my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].cb, in mm_camera_read_raw_frame()
74 (uint32_t)my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].user_data); in mm_camera_read_raw_frame()
75 … memcpy(&buf_cb[cnt], &my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i], sizeof(mm_camera_buf_cb_t)); in mm_camera_read_raw_frame()
79 pthread_mutex_unlock(&my_obj->ch[MM_CAMERA_CH_RAW].mutex); in mm_camera_read_raw_frame()
108 pthread_mutex_lock(&my_obj->ch[MM_CAMERA_CH_PREVIEW].mutex); in mm_camera_zsl_frame_cmp_and_enq()
[all …]
Dmm_camera_poll_thread.c167 __func__, event->event_type, event->e.ch.ch, event->e.ch.evt); in mm_camera_poll_proc_pipe()
247 __func__, event->event_type, event->e.ch.ch, event->e.ch.evt, poll_cb->data.poll_type, in mm_camera_poll_send_ch_event()
Dmm_camera.c707 pthread_mutex_lock(&my_obj->ch[ch_type].mutex); in mm_camera_unprepare_buf()
710 pthread_mutex_unlock(&my_obj->ch[ch_type].mutex); in mm_camera_unprepare_buf()
815 event.e.ch.evt = evt; in mm_camera_send_ch_on_off_event()
816 event.e.ch.ch = ch_type; in mm_camera_send_ch_on_off_event()
818 __func__, event.event_type, event.e.ch.ch, event.e.ch.evt); in mm_camera_send_ch_on_off_event()
Dmm_camera.h245 mm_camera_ch_t ch[MM_CAMERA_CH_MAX]; member
/hardware/qcom/audio/libalsa-intf/
Darec.c387 int rec_raw(const char *fg, const char *device, int rate, int ch, in rec_raw() argument
408 count = rate * ch * 2; in rec_raw()
414 ch, rate, 16, format); in rec_raw()
421 return record_file(rate, ch, fd, count, flag, device); in rec_raw()
424 int rec_wav(const char *fg, const char *device, int rate, int ch, const char *fn) in rec_wav() argument
448 hdr.num_channels = ch; in rec_wav()
451 hdr.byte_rate = (rate * ch * hdr.bits_per_sample) / 8; in rec_wav()
452 hdr.block_align = ( hdr.bits_per_sample * ch ) / 8; in rec_wav()
459 count = rate * ch * 2; in rec_wav()
474 hdr.num_channels = ch; in rec_wav()
[all …]
Daplay.c472 int play_raw(const char *fg, int rate, int ch, const char *device, const char *fn) in play_raw() argument
494 fn, get_format_desc(format), ch ); in play_raw()
495 return play_file(rate, ch, fd, flag, device, 0); in play_raw()
498 int play_wav(const char *fg, int rate, int ch, const char *device, const char *fn) in play_wav() argument
517 hdr.num_channels = ch; in play_wav()
545 hdr.num_channels = ch; in play_wav()
563 int ch = 2; in main() local
608 ch = (int)strtol(optarg, NULL, 0); in main()
658 rc = play_wav(mmap, rate, ch, device, filename); in main()
660 rc = play_raw(mmap, rate, ch, device, filename); in main()
[all …]
Dalsaucm_test.c89 char ch; in alsaucm_test_cmd_svr() local
95 read_count = read(fd, &ch, 1); in alsaucm_test_cmd_svr()
104 if (ch != '\n') { in alsaucm_test_cmd_svr()
105 strlcat(cmdstr, &ch , (2+strlen(cmdstr))); in alsaucm_test_cmd_svr()
Dalsa_pcm.c139 const char *ch = format; in get_compressed_format() local
140 if (strcmp(ch, "MP3") == 0) { in get_compressed_format()
143 } else if (strcmp(ch, "AC3_PASS_THROUGH") == 0) { in get_compressed_format()
439 struct snd_pcm_channel_info ch; in mmap_buffer() local
Dalsa_audio.h40 struct snd_pcm_channel_info ch[2]; member
/hardware/qcom/gps/loc_api/libloc_api_50001/
DLocApiAdapter.cpp105 char ch = data[i]; in hexcode() local
108 snprintf(&hexstring[i*2], 3, "%02X", ch); in hexcode()
134 unsigned char ch = data[i], low = ch & 0x0F, hi = ch >> 4; in decodeAddress() local
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp1198 char ch; in menu_gps() local
1212 ch = getchar(); in menu_gps()
1213 printf("%c", ch); in menu_gps()
1217 switch (ch) { in menu_gps()
1277 char ch; in functional_menu() local
1379 ch = getchar(); in functional_menu()
1380 printf("%c", ch); in functional_menu()
1384 switch (ch) { in functional_menu()
2113 char ch; in error_scenario() local
2130 ch = getchar(); in error_scenario()
[all …]
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c79 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
80 ch_obj = &cam_obj->ch[i]; in mm_camera_util_get_channel_by_handler()
191 event.e.ch.evt = evt; in mm_camera_send_ch_event()
193 event.e.ch.ch = stream_id; in mm_camera_send_ch_event()
195 __func__, event.event_type, event.e.ch.ch, event.e.ch.evt); in mm_camera_send_ch_event()
753 if (MM_CHANNEL_STATE_NOTUSED == my_obj->ch[ch_idx].state) { in mm_camera_add_channel()
754 ch_obj = &my_obj->ch[ch_idx]; in mm_camera_add_channel()
/hardware/qcom/gps/loc_api/libloc_api/
Dloc_eng_ni.cpp204 char ch = data[i]; in hexcode() local
207 snprintf(&hexstring[i*2], 3, "%02X", ch); in hexcode()
/hardware/ti/wlan/wl1271/platforms/os/common/src/
DosRgstry.c5352 char ch; in parse_hex_string() local
5355 while ((iter < StrLength) && (ch = pString[iter])) in parse_hex_string()
5357 TI_UINT8 val = ((ch >= '0' && ch <= '9') ? (ch - '0') : in parse_hex_string()
5358 (ch >= 'A' && ch <= 'F') ? (0xA + ch - 'A') : in parse_hex_string()
5359 (ch >= 'a' && ch <= 'f') ? (0xA + ch - 'a') : 0); in parse_hex_string()
5377 char ch; in parse_binary_string() local
5380 while ((iter < StrLength) && (ch = pString[iter])) in parse_binary_string()
5382 TI_UINT8 val = (ch == '1' ? 1 : 0); in parse_binary_string()
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/
Dcu_cmd.c791 S8 ch; in CuCmd_ParseMaskString() local
795 while ((ch = pString[iter])) in CuCmd_ParseMaskString()
797 val = (ch == '1' ? 1 : 0); in CuCmd_ParseMaskString()
813 S8 ch; in CuCmd_ParsePatternString() local
817 while ((ch = pString[iter])) in CuCmd_ParsePatternString()
819 val = ((ch >= '0' && ch <= '9') ? (ch - '0') : in CuCmd_ParsePatternString()
820 (ch >= 'A' && ch <= 'F') ? (0xA + ch - 'A') : in CuCmd_ParsePatternString()
821 (ch >= 'a' && ch <= 'f') ? (0xA + ch - 'a') : 0); in CuCmd_ParsePatternString()
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h403 mm_channel_t ch[MM_CAMERA_CHANNEL_MAX]; member
/hardware/qcom/camera/QCamera/HAL2/core/inc/
DQCamera_Intf.h859 uint32_t ch; member
972 mm_camera_ch_event_t ch; member
/hardware/qcom/camera/
DQCamera_Intf.h925 uint32_t ch; member
1037 mm_camera_ch_event_t ch; member
DQCameraHWI.cpp784 switch(event->ch) { in processChannelEvent()
921 processChannelEvent(&event->e.ch, &app_cb); in processEvent()
DQualcommCameraHardware.cpp1067 static int countChar(const char *str , char ch ) in countChar() argument
1072 if ( str[i] == ch ) in countChar()
/hardware/qcom/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp770 switch(event->ch) { in processChannelEvent()
889 processChannelEvent(&event->e.ch, &app_cb); in processEvent()