Changeset 4827 for pjproject/trunk
- Timestamp:
- Apr 25, 2014 7:52:27 AM (11 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4815 r4827 7114 7114 main () 7115 7115 { 7116 int main() { CreateSVCEncoder(0); return 0; } 7116 WelsCreateSVCEncoder(0); 7117 7117 7118 7118 ; -
pjproject/trunk/aconfigure.ac
r4815 r4827 1146 1146 #include <wels/codec_app_def.h> 1147 1147 ]], 1148 [ int main() { CreateSVCEncoder(0); return 0; }]1148 [WelsCreateSVCEncoder(0);] 1149 1149 )], 1150 1150 [ ac_openh264_cflags="-DPJMEDIA_HAS_OPENH264_CODEC=1 $OPENH264_CFLAGS" -
pjproject/trunk/pjmedia/src/pjmedia-codec/openh264.cpp
r4815 r4827 334 334 335 335 /* encoder allocation */ 336 rc = CreateSVCEncoder(&oh264_data->enc);336 rc = WelsCreateSVCEncoder(&oh264_data->enc); 337 337 if (rc != 0) 338 338 goto on_error; … … 341 341 342 342 /* decoder allocation */ 343 rc = CreateDecoder(&oh264_data->dec);343 rc = WelsCreateDecoder(&oh264_data->dec); 344 344 if (rc != 0) 345 345 goto on_error; … … 362 362 oh264_data = (oh264_codec_data*) codec->codec_data; 363 363 if (oh264_data->enc) { 364 DestroySVCEncoder(oh264_data->enc);364 WelsDestroySVCEncoder(oh264_data->enc); 365 365 oh264_data->enc = NULL; 366 366 } 367 367 if (oh264_data->dec) { 368 368 oh264_data->dec->Uninitialize(); 369 DestroyDecoder(oh264_data->dec);369 WelsDestroyDecoder(oh264_data->dec); 370 370 oh264_data->dec = NULL; 371 371 } … … 455 455 pj_bzero(&eprm, sizeof(eprm)); 456 456 eprm.iInputCsp = videoFormatI420; 457 eprm.sSpatialLayers[0].uiProfileIdc = 66; // PRO_BASELINE457 eprm.sSpatialLayers[0].uiProfileIdc = PRO_BASELINE; 458 458 eprm.iPicWidth = param->enc_fmt.det.vid.size.w; 459 459 eprm.iPicHeight = param->enc_fmt.det.vid.size.h; … … 469 469 eprm.iLoopFilterBetaOffset = 0; 470 470 eprm.iMultipleThreadIdc = 1; 471 eprm.bEnableRc = 1;471 //eprm.bEnableRc = 1; 472 472 eprm.iTargetBitrate = param->enc_fmt.det.vid.avg_bps; 473 473 eprm.bEnableFrameSkip = 1; … … 543 543 // Apply "sprop-parameter-sets" here 544 544 545 rc = CreateDecoder(&oh264_data->dec);545 rc = WelsCreateDecoder(&oh264_data->dec); 546 546 if (rc) { 547 547 PJ_LOG(4,(THIS_FILE, "Unable to create OpenH264 decoder"));
Note: See TracChangeset
for help on using the changeset viewer.