summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-codec
AgeCommit message (Collapse)Author
2014-01-23Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir ↵Nanang Izzuddin
Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-17Misc (re #1630): replaced htons() with ntohs() in l16_decode() on little ↵Nanang Izzuddin
endian platforms. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4621 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Re #1680: Add initial support for Win64Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23Re #1630: fixed various warningsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4487 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19Misc (re #1630): set default frames per packet for AMR codec to 1 (from 2) ↵Benny Prijono
because it yields lower and more consistent CPU utilization on BB10 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4481 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-14Re #1608: Fixed array size calculation of amr bitrates array.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4348 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-31Re #1608: Try to store the number of frames in the packet in case ↵Liong Sauw Ming
SKP_Silk_SDK_get_TOC() couldn't return the correct number of frames during decode This was reported to happen in SILK ARM version (thanks to Marcus for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4339 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-29Re #1608: Fixed the way codec is initialized, enumerated, and deinit since ↵Liong Sauw Ming
both NB and WB use the same factory git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4335 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23Re #1608: Add support for OpenCORE AMR-WBLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4331 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23Re #1586: Fixed samples_per_frame calculationLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4328 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-20Misc (re #1562): Update ffmpeg version check regarding 'AVCodec::encode' ↵Nanang Izzuddin
removal (see also r4277). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4311 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-03Re #1586: Fixed useInBandFEC setting and default value setting in ↵Liong Sauw Ming
pjmedia_codec_silk_set_config() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4293 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-05Re #1586: Add support for SILK multiple frames per packetLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4278 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-04Misc (re #1562): Fixed ffmpeg codec wrapper compile error of undefined ↵Nanang Izzuddin
'AVCodec::encode' (removed in the recent ffmpeg version). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4277 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-01Re #1586: Implement SILK config setting and fixed decoding fmtpLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4272 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-24Re #1586: Initial version of SILK wrapper.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4264 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Misc (re #1446): Updated ffmpeg compatibility issues, e.g: av_set_int() ↵Nanang Izzuddin
return code not match to av_opt_set_int(), update libavcodec version to at least 53.61 for av_opt_set*() usage. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4089 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-25Misc (re #1446): more support newer libavcodec version (major: 54) which ↵Nanang Izzuddin
deprecated AVCodec::encode and avcodec_encode_video(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4083 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24Re #1474: merged r4054-r4079Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4082 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24Misc (re #1446): support newer libavcodec version (major: 54) which ↵Benny Prijono
deprecated few APIs git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4081 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17Misc (re #1446): redirect ffmpeg logging with custom log callback.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4056 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Re #1446 (misc): Modified ffmpeg_codecs to ffmpeg_vid_codecsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4049 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (Re #1446): Remove XVID format and add default resolution and fps for ↵Liong Sauw Ming
MPEG4 and MJPEG git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4017 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (Re #1446): changed h.263 and h.264 default maximum bandwidth to ↵Benny Prijono
256kb/s from 512kb/s git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4015 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-02Misc (re #1446): Updated default video frame rate from 30 fps to 15 fps (for ↵Nanang Izzuddin
both H264 & H263-1998). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4007 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-02Misc (re #1446): Added macro PJMEDIA_MAX_VID_PAYLOAD_SIZE, also updated the ↵Nanang Izzuddin
default encoding MTU of ffmpeg codec & H263/H264 packetizers to this macro setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4006 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: merged r3879Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4002 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: merged r3879:3885Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4001 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Misc (re #1446): Avoid unnecessary high latency caused by clock drift or ↵Nanang Izzuddin
call setup lag by overriding initial framerate setting to be 1.5x higher in video stream decoding direction. Note that a previous method in r3972 has just been cancelled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3998 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-09Misc (re #1446): Updated ffmpeg video codecs default params:Nanang Izzuddin
- decoder fps to be 1.5x faster than encoder's, to encounter accumulated frames in jbuf when decoder clock gets short pauses in video setup (e.g: renderer creation, format change) - separate size & fps for H.264 and H.263 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3972 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-10Fix #1443: put destroy method to opencore-amr codec factory op.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3939 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-26Re #1393 (misc): reduced default ffmpeg h264 bandwidth from 512 to 256kbpsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3922 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-15Close #1279: Implemented custom SDP format match for G.722.1 and AMR-NB/WB.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3911 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-15Misc (re #1393): fix compile error in pjmedia-codec/audio_codecs.c, caused ↵Nanang Izzuddin
by typo and wrong member reference: '&c->passthough.ilbc' should be '&c->passthrough.setting'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3910 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-08Re #1234: minor update, put libavcodec version check for constant ↵Nanang Izzuddin
AV_PICTURE_TYPE_I/FF_I_TYPE usage. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3904 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-07Re #1234: Initial version of keyframe request/response via SIP INFO.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3901 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01Closed #1420: Add support for event managerLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3893 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3833:r3877 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3878 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26Re #1390: Updated h264 settings: bitrate from 128k to 512k, size from ↵Nanang Izzuddin
352x288 to 720x480, x264 preset from 'veryslow' to 'veryfast'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3861 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Re #1390: disable H264 encoder source format RGB24 as x264 doesn't support ↵Nanang Izzuddin
4:4:4 for baseline profile. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3853 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Misc (re #1393): Put log warning in ffmpeg codecs when a codec is enabled ↵Nanang Izzuddin
but cannot be found in ffmpeg library. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3838 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-23Misc (re #1393): increase default H.263 bandwidthBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3836 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-21Re #1390: Fixed ffmpeg codecs to update size & fps in AVCodecContext after ↵Nanang Izzuddin
applying SDP fmtp to codec param. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3833 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18Compile error with older ffmpeg due to H.264 modification (re #1390)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3824 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18Reenable ffmpeg H264 (re #1390):Nanang Izzuddin
- Review H264 codec settings such as profile, level, NAL unit size, bitrate, quality, latency. - Added new format PJMEDIA_FORMAT_GBRP, 24 bits planar RGB, one of the formats outputted by the latest ffmpeg H264 decoder. - Fixed format change detection bug in ffmpeg wrapper, decoder didn't update its internal state with the new format so format change event was generated in every decoding operation. - Added compile time configurations for enabling/disabling ffmpeg codec H263+ & H264. - Updated pjsua app to adjust window size to original video size. With H264, default window size will be too big as it is init'd with default H264 video size, e.g: 720x480 for profile level 30. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3819 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-10Set default H.263 bandwidth to 128Kbps instead of 1Mbps (re #1370)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3805 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): disable H263 codec for RTP communication (was enabled to ↵Nanang Izzuddin
test whether it can use H263-1998 packetization). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3801 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Close #1381:Nanang Izzuddin
- Added 'ignore_fmtp' field in pjmedia_vid_codec_param to allow application to omit SDP fmtp in codec param without risking video size and frame rate param being overridden with default values. - Updated sample app vid_streamutil.c to use that field, which currently not supplying SDP fmtp to video codec. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3795 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-29Closed #1361: codec API change. Details:Benny Prijono
- changed encode(), packetize(), unpacketize(), and decode() to encode_begin(), encode_more(), and decode() - codec has new "packing" setting - updated stream, aviplay, codec-test, and stream-util due to above - minor doxygen documentation fixes here and there git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3776 74dad513-b988-da41-8d7b-12977e46ad98