Revision d268bed2 libavcodec/h264.h

View differences:

libavcodec/h264.h
108 108
 */
109 109
#define DELAYED_PIC_REF 4
110 110

  
111
#define QP_MAX_MAX (51 + 2*6)           // The maximum supported qp
111 112

  
112 113
/* NAL unit types */
113 114
enum {
......
354 355
     */
355 356
    PPS pps; //FIXME move to Picture perhaps? (->no) do we need that?
356 357

  
357
    uint32_t dequant4_buffer[6][52][16]; //FIXME should these be moved down?
358
    uint32_t dequant8_buffer[2][52][64];
358
    uint32_t dequant4_buffer[6][QP_MAX_MAX+1][16]; //FIXME should these be moved down?
359
    uint32_t dequant8_buffer[2][QP_MAX_MAX+1][64];
359 360
    uint32_t (*dequant4_coeff[6])[16];
360 361
    uint32_t (*dequant8_coeff[2])[64];
361 362

  
......
603 604
}H264Context;
604 605

  
605 606

  
606
extern const uint8_t ff_h264_chroma_qp[52];
607
extern const uint8_t ff_h264_chroma_qp[3][QP_MAX_MAX+1]; ///< One chroma qp table for each supported bit depth (8, 9, 10).
607 608

  
608 609
/**
609 610
 * Decode SEI

Also available in: Unified diff