Revision 68e5d523 libavcodec/avcodec.h

View differences:

libavcodec/avcodec.h
807 807
     * - decoding: Read by user.\
808 808
     */\
809 809
    int64_t reordered_opaque;\
810
\
811
    /**\
812
     * hardware accelerator private data (FFmpeg allocated)\
813
     * - encoding: unused\
814
     * - decoding: Set by libavcodec\
815
     */\
816
    void *hwaccel_data_private;\
810 817

  
811 818

  
812 819
#define FF_QSCALE_TYPE_MPEG1 0
......
2456 2463
     * @return zero if successful, a negative value otherwise
2457 2464
     */
2458 2465
    int (*end_frame)(AVCodecContext *avctx);
2466

  
2467
    /**
2468
     * Size of HW accelerator private data.
2469
     *
2470
     * Private data is allocated with av_malloc() before
2471
     * AVCodecContext::get_buffer() and deallocated after
2472
     * AVCodecContext::release_buffer().
2473
     */
2474
    int priv_data_size;
2459 2475
} AVHWAccel;
2460 2476

  
2461 2477
/**

Also available in: Unified diff