Home
last modified time | relevance | path

Searched refs:tmp2 (Results 1 – 25 of 83) sorted by relevance

1234

/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v2/api/jpeg_ex/cmodel/src/
H A Didct.c147 S32 tmp0, tmp1, tmp2, tmp3; in idct() local
183 tmp2 = z1 + MULTIPLY( z3, -FIX_1_847759065 ); in idct()
191 tmp11 = tmp1 + tmp2; in idct()
192 tmp12 = tmp1 - tmp2; in idct()
196 tmp2 = ( S32 )dataptr[3]; in idct()
200 z2 = tmp1 + tmp2; in idct()
201 z3 = tmp0 + tmp2; in idct()
207 tmp2 = MULTIPLY( tmp2, FIX_3_072711026 ); in idct()
219 tmp2 += z2 + z3; in idct()
224 wsptr[1] = ( S16 )DESCALE( tmp11 + tmp2, CONST_BITS - PASS1_BITS ); in idct()
[all …]
H A Djidctint.c247 INT32 tmp0, tmp1, tmp2, tmp3; variable
306 tmp2 = z1 + MULTIPLY( z3, -FIX_1_847759065 );
317 tmp11 = tmp1 + tmp2;
318 tmp12 = tmp1 - tmp2;
326 tmp2 = DEQUANTIZE( inptr[DCTSIZE * 3], quantptr[DCTSIZE * 3] );
330 z2 = tmp1 + tmp2;
331 z3 = tmp0 + tmp2;
337 tmp2 = MULTIPLY( tmp2, FIX_3_072711026 ); /* sqrt(2) * ( c1+c3+c5-c7) */
349 tmp2 += z2 + z3;
356 wsptr[DCTSIZE * 1] = ( int )DESCALE( tmp11 + tmp2, CONST_BITS - PASS1_BITS );
[all …]
H A Djidctfst.c267 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; in jpeg_idct_ifast() local
324 tmp2 = DEQUANTIZE( inptr[DCTSIZE * 4], quantptr[DCTSIZE * 4] ); in jpeg_idct_ifast()
327 tmp10 = tmp0 + tmp2; /* phase 3 */ in jpeg_idct_ifast()
328 tmp11 = tmp0 - tmp2; in jpeg_idct_ifast()
336 tmp2 = tmp11 - tmp12; in jpeg_idct_ifast()
365 wsptr[DCTSIZE * 2] = ( int )( tmp2 + tmp5 ); in jpeg_idct_ifast()
366 wsptr[DCTSIZE * 5] = ( int )( tmp2 - tmp5 ); in jpeg_idct_ifast()
425 tmp2 = tmp11 - tmp12; in jpeg_idct_ifast()
476 i = IDESCALE( tmp2 + tmp5, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
479 i = IDESCALE( tmp2 - tmp5, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v1/api/jpeg/cmodel/src/
H A Didct.c147 S32 tmp0, tmp1, tmp2, tmp3; in idct() local
183 tmp2 = z1 + MULTIPLY( z3, -FIX_1_847759065 ); in idct()
191 tmp11 = tmp1 + tmp2; in idct()
192 tmp12 = tmp1 - tmp2; in idct()
196 tmp2 = ( S32 )dataptr[3]; in idct()
200 z2 = tmp1 + tmp2; in idct()
201 z3 = tmp0 + tmp2; in idct()
207 tmp2 = MULTIPLY( tmp2, FIX_3_072711026 ); in idct()
219 tmp2 += z2 + z3; in idct()
224 wsptr[1] = ( S16 )DESCALE( tmp11 + tmp2, CONST_BITS - PASS1_BITS ); in idct()
[all …]
H A Djidctint.c247 INT32 tmp0, tmp1, tmp2, tmp3; variable
306 tmp2 = z1 + MULTIPLY( z3, -FIX_1_847759065 );
317 tmp11 = tmp1 + tmp2;
318 tmp12 = tmp1 - tmp2;
326 tmp2 = DEQUANTIZE( inptr[DCTSIZE * 3], quantptr[DCTSIZE * 3] );
330 z2 = tmp1 + tmp2;
331 z3 = tmp0 + tmp2;
337 tmp2 = MULTIPLY( tmp2, FIX_3_072711026 ); /* sqrt(2) * ( c1+c3+c5-c7) */
349 tmp2 += z2 + z3;
356 wsptr[DCTSIZE * 1] = ( int )DESCALE( tmp11 + tmp2, CONST_BITS - PASS1_BITS );
[all …]
H A Djidctfst.c267 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; in jpeg_idct_ifast() local
324 tmp2 = DEQUANTIZE( inptr[DCTSIZE * 4], quantptr[DCTSIZE * 4] ); in jpeg_idct_ifast()
327 tmp10 = tmp0 + tmp2; /* phase 3 */ in jpeg_idct_ifast()
328 tmp11 = tmp0 - tmp2; in jpeg_idct_ifast()
336 tmp2 = tmp11 - tmp12; in jpeg_idct_ifast()
365 wsptr[DCTSIZE * 2] = ( int )( tmp2 + tmp5 ); in jpeg_idct_ifast()
366 wsptr[DCTSIZE * 5] = ( int )( tmp2 - tmp5 ); in jpeg_idct_ifast()
425 tmp2 = tmp11 - tmp12; in jpeg_idct_ifast()
476 i = IDESCALE( tmp2 + tmp5, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
479 i = IDESCALE( tmp2 - tmp5, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
/utopia/UTPA2-700.0.x/modules/audio/hal/curry/audio/
H A DhalMAD.c1347 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1354 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1356 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1357 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1359 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1361 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1362 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1364 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1379 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1386 tmp2 = audio_aes_info[1].aes_BufSize - audio_aes_info[1].aes_level; in HAL_MAD_MM2_checkAesInfo()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/M7621/audio/
H A DhalMAD.c1294 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1301 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1303 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1304 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1306 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1308 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1309 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1311 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1326 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1333 tmp2 = audio_aes_info[1].aes_BufSize - audio_aes_info[1].aes_level; in HAL_MAD_MM2_checkAesInfo()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/maserati/audio/
H A DhalMAD.c1260 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1267 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1269 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1270 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1272 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1274 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1275 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1277 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1292 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1299 tmp2 = audio_aes_info[1].aes_BufSize - audio_aes_info[1].aes_level; in HAL_MAD_MM2_checkAesInfo()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/k6lite/audio/
H A DhalMAD.c1336 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1343 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1345 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1346 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1348 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1350 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1351 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1353 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1368 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1375 tmp2 = audio_aes_info[1].aes_BufSize - audio_aes_info[1].aes_level; in HAL_MAD_MM2_checkAesInfo()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/maxim/audio/
H A DhalMAD.c1298 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1305 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1307 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1308 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1310 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1312 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1313 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1315 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1330 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1337 tmp2 = audio_aes_info[1].aes_BufSize - audio_aes_info[1].aes_level; in HAL_MAD_MM2_checkAesInfo()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/kano/audio/
H A DhalMAD.c1340 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1347 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1349 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1350 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1352 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1354 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1355 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1357 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1372 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1379 tmp2 = audio_aes_info[1].aes_BufSize - audio_aes_info[1].aes_level; in HAL_MAD_MM2_checkAesInfo()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/M7821/audio/
H A DhalMAD.c1256 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1263 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1265 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1266 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1268 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1270 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1271 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1273 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1288 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1295 tmp2 = audio_aes_info[1].aes_BufSize - audio_aes_info[1].aes_level; in HAL_MAD_MM2_checkAesInfo()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/k6/audio/
H A DhalMAD.c1336 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1343 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1345 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1346 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1348 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1350 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1351 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1353 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1368 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1375 tmp2 = audio_aes_info[1].aes_BufSize - audio_aes_info[1].aes_level; in HAL_MAD_MM2_checkAesInfo()
[all …]
/utopia/UTPA2-700.0.x/projects/build/scripts/genksyms/
H A Dgenksyms.c514 struct string_list *tmp, **tmp2; in print_list() local
528 tmp2 = e - 1; in print_list()
530 (*tmp2--) = list; in print_list()
532 *(tmp2--) = list; in print_list()
544 struct string_list *tmp, **tmp2; in expand_and_crc_sym() local
556 tmp2 = e - 1; in expand_and_crc_sym()
558 *(tmp2--) = list; in expand_and_crc_sym()
560 *(tmp2--) = list; in expand_and_crc_sym()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source4/usb_hid_p4/
H A Ddrvhidcore_4.c695 __u16 tmp2,result; in Parse_Joystick_Report_Port4() local
718 tmp2=GetValue_Port4(report,buttons_Port4.startbit,buttons_Port4.count); in Parse_Joystick_Report_Port4()
720 if (buttons_Port4.val!=tmp2) in Parse_Joystick_Report_Port4()
722 USB_HID_DBG(printf("buttons:%x %x\n",buttons_Port4.val, tmp2)); in Parse_Joystick_Report_Port4()
723 buttons_Port4.val=tmp2; in Parse_Joystick_Report_Port4()
724 tmp2 &=0x0fff; //only maximum 12 bits allowed in Parse_Joystick_Report_Port4()
725 result=(TYPE_BUTTON << 12) | tmp2; in Parse_Joystick_Report_Port4()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source3/usb_hid_p3/
H A Ddrvhidcore_3.c695 __u16 tmp2,result; in Parse_Joystick_Report_Port3() local
718 tmp2=GetValue_Port3(report,buttons_Port3.startbit,buttons_Port3.count); in Parse_Joystick_Report_Port3()
720 if (buttons_Port3.val!=tmp2) in Parse_Joystick_Report_Port3()
722 USB_HID_DBG(printf("buttons:%x %x\n",buttons_Port3.val, tmp2)); in Parse_Joystick_Report_Port3()
723 buttons_Port3.val=tmp2; in Parse_Joystick_Report_Port3()
724 tmp2 &=0x0fff; //only maximum 12 bits allowed in Parse_Joystick_Report_Port3()
725 result=(TYPE_BUTTON << 12) | tmp2; in Parse_Joystick_Report_Port3()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source/usb_hid_p1/
H A Ddrvhidcore.c695 __u16 tmp2,result; in Parse_Joystick_Report() local
718 tmp2=GetValue(report,buttons.startbit,buttons.count); in Parse_Joystick_Report()
720 if (buttons.val!=tmp2) in Parse_Joystick_Report()
722 USB_HID_DBG(printf("buttons:%x %x\n",buttons.val, tmp2)); in Parse_Joystick_Report()
723 buttons.val=tmp2; in Parse_Joystick_Report()
724 tmp2 &=0x0fff; //only maximum 12 bits allowed in Parse_Joystick_Report()
725 result=(TYPE_BUTTON << 12) | tmp2; in Parse_Joystick_Report()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source2/usb_hid_p2/
H A Ddrvhidcore_2.c694 __u16 tmp2,result; in Parse_Joystick_Report_Port2() local
717 tmp2=GetValue_Port2(report,buttons_Port2.startbit,buttons_Port2.count); in Parse_Joystick_Report_Port2()
719 if (buttons_Port2.val!=tmp2) in Parse_Joystick_Report_Port2()
721 USB_HID_DBG(printf("buttons:%x %x\n",buttons_Port2.val, tmp2)); in Parse_Joystick_Report_Port2()
722 buttons_Port2.val=tmp2; in Parse_Joystick_Report_Port2()
723 tmp2 &=0x0fff; //only maximum 12 bits allowed in Parse_Joystick_Report_Port2()
724 result=(TYPE_BUTTON << 12) | tmp2; in Parse_Joystick_Report_Port2()
/utopia/UTPA2-700.0.x/projects/build/scripts/
H A Dextract-ikconfig36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
37 dump_config $tmp2
52 tmp2=/tmp/ikconfig$$.2
53 trap "rm -f $tmp1 $tmp2" 0
/utopia/UTPA2-700.0.x/modules/audio/hal/messi/audio/
H A DhalMAD.c932 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
939 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
941 if ( tmp2 < (BYTES_IN_MIU_LINE*2) ) //¦Ü¤Ö keep 2 ±ø line ªºªÅ¶¡ in HAL_MAD_MM2_checkAesInfo()
942 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
944 tmp2 -= (BYTES_IN_MIU_LINE*2) ; in HAL_MAD_MM2_checkAesInfo()
946 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
970 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_inputAesFinished() local
983 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_inputAesFinished()
985 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_inputAesFinished()
2589 … long long tmp2 = (long long) HAL_MAD2_Read_DSP_sram(REG_DEC2_TIME_STAMP_MS, DSP_MEM_TYPE_DM); in HAL_MAD_GetCommInfo() local
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/mainz/audio/
H A DhalMAD.c934 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
941 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
943 if ( tmp2 < (BYTES_IN_MIU_LINE*2) ) //至少 keep 2 條 line 的空間 in HAL_MAD_MM2_checkAesInfo()
944 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
946 tmp2 -= (BYTES_IN_MIU_LINE*2) ; in HAL_MAD_MM2_checkAesInfo()
948 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
972 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_inputAesFinished() local
985 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_inputAesFinished()
987 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_inputAesFinished()
2761 … long long tmp2 = (long long) HAL_MAD2_Read_DSP_sram(REG_DEC2_TIME_STAMP_MS, DSP_MEM_TYPE_DM); in HAL_MAD_GetCommInfo() local
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/mooney/audio/
H A DhalMAD.c1267 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1274 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1276 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1277 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1279 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1281 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1282 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1284 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1316 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_inputAesFinished() local
1330 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_inputAesFinished()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/manhattan/audio/
H A DhalMAD.c1236 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1243 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1245 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1246 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1248 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1250 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1251 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1253 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1285 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_inputAesFinished() local
1298 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_inputAesFinished()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/maldives/audio/
H A DhalMAD.c1270 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_checkAesInfo() local
1277 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_checkAesInfo()
1279 if ( tmp2 < audio_aes_info[0].aes_BufSize/2) in HAL_MAD_MM2_checkAesInfo()
1280 tmp2 = 0; in HAL_MAD_MM2_checkAesInfo()
1282 tmp2 -= (audio_aes_info[0].aes_BufSize/2); in HAL_MAD_MM2_checkAesInfo()
1284 if (tmp2 > (audio_aes_info[0].aes_BufSize/4)) in HAL_MAD_MM2_checkAesInfo()
1285 tmp2 = audio_aes_info[0].aes_BufSize/4; in HAL_MAD_MM2_checkAesInfo()
1287 audio_aes_info[0].aes_freeSpace = (tmp1 > tmp2)?tmp2:tmp1; in HAL_MAD_MM2_checkAesInfo()
1319 MS_U32 tmp1, tmp2; in HAL_MAD_MM2_inputAesFinished() local
1333 tmp2 = audio_aes_info[0].aes_BufSize - audio_aes_info[0].aes_level; in HAL_MAD_MM2_inputAesFinished()
[all …]

1234