Revision 1790a5e9 libavcodec/h264.h

View differences:

libavcodec/h264.h
532 532
    int initial_cpb_removal_delay[32]; ///< Initial timestamps for CPBs
533 533
}H264Context;
534 534

  
535
/**
536
 * Decode SEI
537
 */
538
int ff_h264_decode_sei(H264Context *h);
539

  
540
/**
541
 * Decode SPS
542
 */
543
int ff_h264_decode_seq_parameter_set(H264Context *h);
544

  
545
/**
546
 * Decode PPS
547
 */
548
int ff_h264_decode_picture_parameter_set(H264Context *h, int bit_length);
549

  
550
/**
551
 * Decodes a network abstraction layer unit.
552
 * @param consumed is the number of bytes used as input
553
 * @param length is the length of the array
554
 * @param dst_length is the number of decoded bytes FIXME here or a decode rbsp tailing?
555
 * @returns decoded bytes, might be src+1 if no escapes
556
 */
557
const uint8_t *ff_h264_decode_nal(H264Context *h, const uint8_t *src, int *dst_length, int *consumed, int length);
558

  
559
/**
560
 * identifies the exact end of the bitstream
561
 * @return the length of the trailing, or 0 if damaged
562
 */
563
int ff_h264_decode_rbsp_trailing(H264Context *h, const uint8_t *src);
564

  
535 565
#endif /* AVCODEC_H264_H */

Also available in: Unified diff