Home
last modified time | relevance | path

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

123

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dviddec_parse_sc_fast_loop.c47 unsigned char ch; in parser_find_next_startcode() local
49 ch = buf[i]; in parser_find_next_startcode()
52 if ( FIRST_STARTCODE_BYTE == ch ) in parser_find_next_startcode()
75 else if ( THIRD_STARTCODE_BYTE == ch ) in parser_find_next_startcode()
/hardware/qcom/audio/legacy/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()
/hardware/bsp/intel/peripheral/displays/SparkFun_OLED/
DSparkFunOLED.cpp66 int ch = 0; in ReadOpts() local
68 while ((ch = getopt_long(argc, argv, shortopts, longopts, NULL)) != -1) { in ReadOpts()
69 switch (ch) { in ReadOpts()
/hardware/bsp/intel/peripheral/examples/mraa/gpio_output/
DOutputGPIO.cpp76 int ch = 0; in ReadOpts() local
78 while ((ch = getopt_long(argc, argv, shortopts, longopts, NULL)) != -1) { in ReadOpts()
79 switch (ch) { in ReadOpts()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_ar3k.c245 hci_command_hdr *ch = (void *)cmd; in load_hci_ps_hdr() local
247 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in load_hci_ps_hdr()
249 ch->plen = len + PS_HDR_LEN; in load_hci_ps_hdr()
389 hci_command_hdr *ch = (void *)ptr; in set_cntrlr_baud() local
395 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in set_cntrlr_baud()
397 ch->plen = 2; in set_cntrlr_baud()
430 #define __is_delim(ch) ((ch) == ':') argument
681 hci_command_hdr *ch = (void *)cmd; in write_bdaddr() local
685 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in write_bdaddr()
687 ch->plen = 10; in write_bdaddr()
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_ar3k.c248 hci_command_hdr *ch = (void *)cmd; in load_hci_ps_hdr() local
250 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in load_hci_ps_hdr()
252 ch->plen = len + PS_HDR_LEN; in load_hci_ps_hdr()
392 hci_command_hdr *ch = (void *)ptr; in set_cntrlr_baud() local
398 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in set_cntrlr_baud()
400 ch->plen = 2; in set_cntrlr_baud()
433 #define __is_delim(ch) ((ch) == ':') argument
684 hci_command_hdr *ch = (void *)cmd; in write_bdaddr() local
688 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in write_bdaddr()
690 ch->plen = 10; in write_bdaddr()
[all …]
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhw_ar3k.c245 hci_command_hdr *ch = (void *)cmd; in load_hci_ps_hdr() local
247 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in load_hci_ps_hdr()
249 ch->plen = len + PS_HDR_LEN; in load_hci_ps_hdr()
389 hci_command_hdr *ch = (void *)ptr; in set_cntrlr_baud() local
395 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in set_cntrlr_baud()
397 ch->plen = 2; in set_cntrlr_baud()
430 #define __is_delim(ch) ((ch) == ':') argument
681 hci_command_hdr *ch = (void *)cmd; in write_bdaddr() local
685 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in write_bdaddr()
687 ch->plen = 10; in write_bdaddr()
[all …]
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhw_ar3k.c248 hci_command_hdr *ch = (void *)cmd; in load_hci_ps_hdr() local
250 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in load_hci_ps_hdr()
252 ch->plen = len + PS_HDR_LEN; in load_hci_ps_hdr()
392 hci_command_hdr *ch = (void *)ptr; in set_cntrlr_baud() local
398 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in set_cntrlr_baud()
400 ch->plen = 2; in set_cntrlr_baud()
433 #define __is_delim(ch) ((ch) == ':') argument
684 hci_command_hdr *ch = (void *)cmd; in write_bdaddr() local
688 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, in write_bdaddr()
690 ch->plen = 10; in write_bdaddr()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
DQCameraHAL3MainTestContext.cpp262 char ch = '0'; in hal3appPrintMenu() local
272 std::cin >> ch; in hal3appPrintMenu()
273 } while(!(ch >= '1' && ch <= '9')); in hal3appPrintMenu()
274 choice = ch -'0'; in hal3appPrintMenu()
/hardware/bsp/intel/peripheral/displays/Grove_LCD_RGB/
DgroveLCD.cpp71 int ch = 0; in ReadOpts() local
74 while ((ch = getopt_long(argc, argv, shortopts, longopts, NULL)) != -1) { in ReadOpts()
75 switch (ch) { in ReadOpts()
/hardware/bsp/intel/peripheral/libmraa/src/arm/
D96boards.c57 char ch; in mraa_96boards() local
114 ch = 'A'; in mraa_96boards()
118 sprintf(name, "GPIO-%c", ch++); in mraa_96boards()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c578 mm_camera_channel_t *ch = NULL; in mm_app_stop_capture_raw() local
583 ch = mm_app_get_channel_by_type(test_obj, MM_CHANNEL_TYPE_CAPTURE); in mm_app_stop_capture_raw()
585 rc = mm_app_stop_channel(test_obj, ch); in mm_app_stop_capture_raw()
590 for ( i = 0 ; i < ch->num_streams ; i++ ) { in mm_app_stop_capture_raw()
591 mm_app_del_stream(test_obj, ch, &ch->streams[i]); in mm_app_stop_capture_raw()
597 mm_app_del_channel(test_obj, ch); in mm_app_stop_capture_raw()
661 mm_camera_channel_t *ch = NULL; in mm_app_stop_capture() local
663 ch = mm_app_get_channel_by_type(test_obj, MM_CHANNEL_TYPE_CAPTURE); in mm_app_stop_capture()
665 rc = mm_app_stop_and_del_channel(test_obj, ch); in mm_app_stop_capture()
/hardware/qcom/gps/msm8960/core/
DLocApiBase.cpp48 char ch = data[i]; in hexcode() local
51 snprintf(&hexstring[i*2], 3, "%02X", ch); in hexcode()
77 unsigned char ch = data[i], low = ch & 0x0F, hi = ch >> 4; in decodeAddress() local
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
Dgtest-all.cc1345 GTEST_API_ bool IsInSet(char ch, const char* str);
1346 GTEST_API_ bool IsAsciiDigit(char ch);
1347 GTEST_API_ bool IsAsciiPunct(char ch);
1348 GTEST_API_ bool IsRepeat(char ch);
1349 GTEST_API_ bool IsAsciiWhiteSpace(char ch);
1350 GTEST_API_ bool IsAsciiWordChar(char ch);
1351 GTEST_API_ bool IsValidEscape(char ch);
1352 GTEST_API_ bool AtomMatchesChar(bool escaped, char pattern, char ch);
1356 bool escaped, char ch, char repeat, const char* regex, const char* str);
3150 for (const char* ch = start; ch != end; ++ch) { in StringStreamToString() local
[all …]
/hardware/qcom/gps/msm8084/core/
DLocApiBase.cpp49 char ch = data[i]; in hexcode() local
52 snprintf(&hexstring[i*2], 3, "%02X", ch); in hexcode()
78 unsigned char ch = data[i], low = ch & 0x0F, hi = ch >> 4; in decodeAddress() local
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c662 mm_camera_channel_t *ch = NULL; in mm_app_stop_capture_raw() local
667 ch = mm_app_get_channel_by_type(test_obj, MM_CHANNEL_TYPE_CAPTURE); in mm_app_stop_capture_raw()
669 rc = mm_app_stop_channel(test_obj, ch); in mm_app_stop_capture_raw()
674 for ( i = 0 ; i < ch->num_streams ; i++ ) { in mm_app_stop_capture_raw()
675 mm_app_del_stream(test_obj, ch, &ch->streams[i]); in mm_app_stop_capture_raw()
681 mm_app_del_channel(test_obj, ch); in mm_app_stop_capture_raw()
745 mm_camera_channel_t *ch = NULL; in mm_app_stop_capture() local
747 ch = mm_app_get_channel_by_type(test_obj, MM_CHANNEL_TYPE_CAPTURE); in mm_app_stop_capture()
749 rc = mm_app_stop_and_del_channel(test_obj, ch); in mm_app_stop_capture()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
Dviddec_vc1_parse.c8 #define vc1_is_frame_start_code( ch ) \ argument
9 (( vc1_SCField == ch ||vc1_SCSlice == ch || vc1_SCFrameHeader == ch ) ? 1 : 0)
/hardware/bsp/intel/peripheral/libupm/src/pca9685/
DCMakeLists.txt2 set (libdescription "upm pca9685 I2C 16ch, 12b pwm, LED controller")
/hardware/qcom/gps/msm8996/core/
DLocApiBase.cpp49 char ch = data[i]; in hexcode() local
52 snprintf(&hexstring[i*2], 3, "%02X", ch); in hexcode()
78 unsigned char ch = data[i], low = ch & 0x0F, hi = ch >> 4; in decodeAddress() local
/hardware/qcom/gps/msm8909/core/
DLocApiBase.cpp49 char ch = data[i]; in hexcode() local
52 snprintf(&hexstring[i*2], 3, "%02X", ch); in hexcode()
78 unsigned char ch = data[i], low = ch & 0x0F, hi = ch >> 4; in decodeAddress() local
/hardware/qcom/gps/core/
DLocApiBase.cpp49 char ch = data[i]; in hexcode() local
52 snprintf(&hexstring[i*2], 3, "%02X", ch); in hexcode()
78 unsigned char ch = data[i], low = ch & 0x0F, hi = ch >> 4; in decodeAddress() local
/hardware/qcom/gps/msm8994/core/
DLocApiBase.cpp49 char ch = data[i]; in hexcode() local
52 snprintf(&hexstring[i*2], 3, "%02X", ch); in hexcode()
78 unsigned char ch = data[i], low = ch & 0x0F, hi = ch >> 4; in decodeAddress() local
/hardware/qcom/gps/msm8998/core/
DLocApiBase.cpp49 char ch = data[i]; in hexcode() local
52 snprintf(&hexstring[i*2], 3, "%02X", ch); in hexcode()
78 unsigned char ch = data[i], low = ch & 0x0F, hi = ch >> 4; in decodeAddress() local

123