Changeset 176 for pjproject/trunk/pjmedia/include/pjmedia/codec.h
- Timestamp:
- Feb 10, 2006 3:57:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/codec.h
r171 r176 183 183 184 184 185 /** 186 * Instruct the codec to inspect the specified payload/packet and 187 * split the packet info individual frames. 188 * 189 * @param codec The codec instance 190 * @param pkt The input packet. 191 * @param pkt_size Size of the packet. 192 * @param frame_cnt On input, specifies the maximum number of frames 193 * in the array. On output, the codec must fill 194 * with number of frames detected in the packet. 195 * @param frames On output, specifies the frames that have been 196 * detected in the packet. 197 * 198 * @return PJ_SUCCESS on success. 199 */ 200 pj_status_t (*get_frames)(pjmedia_codec *codec, 201 void *pkt, 202 pj_size_t pkt_size, 203 unsigned *frame_cnt, 204 pjmedia_frame frames[]); 205 185 206 /** 186 207 * Instruct the codec to encode the specified input frame. … … 400 421 401 422 /** 423 * Get default codec param for the specified codec info. 424 * 425 * @param mgr The codec manager. 426 * @param info The codec info, which default parameter's is being 427 * queried. 428 * @param param On return, will be filled with the default codec 429 * parameter. 430 * 431 * @return PJ_SUCCESS on success. 432 */ 433 PJ_DECL(pj_status_t) pjmedia_codec_mgr_get_default_param(pjmedia_codec_mgr *mgr, 434 const pjmedia_codec_info *info, 435 pjmedia_codec_param *param ); 436 437 /** 402 438 * Request the codec manager to allocate one instance of codec with the 403 439 * specified codec info. The codec will enumerate all codec factories
Note: See TracChangeset
for help on using the changeset viewer.