- Timestamp:
- May 6, 2009 2:34:13 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/test/codec_vectors.c
r2660 r2675 126 126 127 127 if (out_frame.size) { 128 fwrite(out_frame.buf, out_frame.size, 1, output); 128 int cnt; 129 130 cnt = fwrite(out_frame.buf, out_frame.size, 1, output); 129 131 130 132 if (encoded_frame_len == 0) 131 133 encoded_frame_len = out_frame.size; 132 } } 134 } 135 } 133 136 134 137 fclose(output); … … 491 494 } 492 495 493 496 #if PJMEDIA_HAS_G7221_CODEC 494 497 /* For ITU testing, off the 2 lsbs. */ 495 498 static void g7221_pcm_manip(short *pcm, unsigned count) … … 500 503 501 504 } 505 #endif /* PJMEDIA_HAS_G7221_CODEC */ 502 506 503 507 int codec_test_vectors(void) -
pjproject/trunk/pjmedia/src/test/mips_test.c
r2605 r2675 883 883 } 884 884 885 #if PJMEDIA_HAS_G7221_CODEC 885 886 /* G.722.1 benchmark benchmark */ 886 887 static pjmedia_port* g7221_encode_decode(pj_pool_t *pool, … … 912 913 samples_per_frame, flags, te); 913 914 } 915 #endif /* PJMEDIA_HAS_G7221_CODEC */ 914 916 915 917 #if defined(PJMEDIA_HAS_L16_CODEC) && PJMEDIA_HAS_L16_CODEC!=0 … … 1940 1942 1941 1943 /* G722.1 stream */ 1944 #if PJMEDIA_HAS_G7221_CODEC 1942 1945 static pjmedia_port* create_stream_g7221( pj_pool_t *pool, 1943 1946 unsigned clock_rate, … … 1968 1971 samples_per_frame, flags, te); 1969 1972 } 1973 #endif /* PJMEDIA_HAS_G7221_CODEC */ 1970 1974 1971 1975 /***************************************************************************/ -
pjproject/trunk/pjmedia/src/test/sdp_neg_test.c
r2604 r2675 1461 1461 } 1462 1462 } else if (neg) { 1463 status = pjmedia_sdp_neg_get_active_local(neg, &sdp2); 1463 const pjmedia_sdp_session *lsdp; 1464 status = pjmedia_sdp_neg_get_active_local(neg, &lsdp); 1464 1465 if (status != PJ_SUCCESS) { 1465 1466 app_perror(status, … … 1467 1468 return -215; 1468 1469 } 1470 sdp2 = (pjmedia_sdp_session*)lsdp; 1469 1471 } 1470 1472 -
pjproject/trunk/third_party/g7221/common/common.c
r2616 r2675 170 170 Word16 temp_category_balances[2*MAX_NUM_CATEGORIZATION_CONTROL_POSSIBILITIES]; 171 171 Word16 raw_max, raw_min; 172 Word16 raw_max_index , raw_min_index;172 Word16 raw_max_index=0, raw_min_index=0; 173 173 Word16 max_rate_pointer, min_rate_pointer; 174 174 Word16 max, min; -
pjproject/trunk/third_party/g7221/decode/decoder.c
r2623 r2675 473 473 Word16 num_vecs; 474 474 Word16 index; 475 Word16 bit ;476 Word16 signs_index ;475 Word16 bit=0; 476 Word16 signs_index=0; 477 477 Word16 num_sign_bits; 478 478 Word16 ran_out_of_bits_flag;
Note: See TracChangeset
for help on using the changeset viewer.