Revision dc172ecc libavcodec/h264.h

View differences:

libavcodec/h264.h
265 265
typedef struct H264Context{
266 266
    MpegEncContext s;
267 267
    H264DSPContext h264dsp;
268
    int pixel_size;
268 269
    int chroma_qp[2]; //QPc
269 270

  
270 271
    int qp_thresh;      ///< QP threshold to skip loopfilter
......
296 297
    unsigned int top_samples_available;
297 298
    unsigned int topright_samples_available;
298 299
    unsigned int left_samples_available;
299
    uint8_t (*top_borders[2])[16+2*8];
300
    uint8_t (*top_borders[2])[(16+2*8)*2];
300 301

  
301 302
    /**
302 303
     * non zero coeff count cache.
......
406 407
    GetBitContext *intra_gb_ptr;
407 408
    GetBitContext *inter_gb_ptr;
408 409

  
409
    DECLARE_ALIGNED(16, DCTELEM, mb)[16*24];
410
    DECLARE_ALIGNED(16, DCTELEM, mb_luma_dc)[16];
411
    DCTELEM mb_padding[256];        ///< as mb is addressed by scantable[i] and scantable is uint8_t we can either check that i is not too large or ensure that there is some unused stuff after mb
410
    DECLARE_ALIGNED(16, DCTELEM, mb)[16*24*2]; ///< as a dct coeffecient is int32_t in high depth, we need to reserve twice the space.
411
    DECLARE_ALIGNED(16, DCTELEM, mb_luma_dc)[16*2];
412
    DCTELEM mb_padding[256*2];        ///< as mb is addressed by scantable[i] and scantable is uint8_t we can either check that i is not too large or ensure that there is some unused stuff after mb
412 413

  
413 414
    /**
414 415
     * Cabac

Also available in: Unified diff