/hardware/qcom/camera/mm-camera-interface/ |
D | mm_camera_channel.c | 54 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 …]
|
D | mm_camera_notify.c | 59 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 …]
|
D | mm_camera_poll_thread.c | 167 __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()
|
D | mm_camera.c | 707 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()
|
D | mm_camera.h | 245 mm_camera_ch_t ch[MM_CAMERA_CH_MAX]; member
|
/hardware/qcom/audio/libalsa-intf/ |
D | arec.c | 387 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 …]
|
D | aplay.c | 472 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 …]
|
D | alsaucm_test.c | 89 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()
|
D | alsa_pcm.c | 139 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
|
D | alsa_audio.h | 40 struct snd_pcm_channel_info ch[2]; member
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | LocApiAdapter.cpp | 105 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/ |
D | camera_test_menu.cpp | 1198 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/ |
D | mm_camera.c | 79 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/ |
D | loc_eng_ni.cpp | 204 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/ |
D | osRgstry.c | 5352 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/ |
D | cu_cmd.c | 791 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/ |
D | mm_camera.h | 403 mm_channel_t ch[MM_CAMERA_CHANNEL_MAX]; member
|
/hardware/qcom/camera/QCamera/HAL2/core/inc/ |
D | QCamera_Intf.h | 859 uint32_t ch; member 972 mm_camera_ch_event_t ch; member
|
/hardware/qcom/camera/ |
D | QCamera_Intf.h | 925 uint32_t ch; member 1037 mm_camera_ch_event_t ch; member
|
D | QCameraHWI.cpp | 784 switch(event->ch) { in processChannelEvent() 921 processChannelEvent(&event->e.ch, &app_cb); in processEvent()
|
D | QualcommCameraHardware.cpp | 1067 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/ |
D | QCameraHWI.cpp | 770 switch(event->ch) { in processChannelEvent() 889 processChannelEvent(&event->e.ch, &app_cb); in processEvent()
|