Revision 2ae7e124 libavcodec/dvdata.h

View differences:

libavcodec/dvdata.h
30 30
#include "libavutil/rational.h"
31 31
#include "avcodec.h"
32 32

  
33
typedef struct DVwork_chunk {
34
    uint16_t  buf_offset;
35
    uint16_t  mb_coordinates[5];
36
} DVwork_chunk;
37

  
33 38
/*
34 39
 * DVprofile is used to express the differences between various
35 40
 * DV flavors. For now it's primarily used for differentiating
......
47 52
    int              height;                /* picture height in pixels */
48 53
    int              width;                 /* picture width in pixels */
49 54
    AVRational       sar[2];                /* sample aspect ratios for 4:3 and 16:9 */
50
    void           **work_chunks;           /* each thread gets its own chunk of frame to work on */
55
    DVwork_chunk    *work_chunks;           /* each thread gets its own chunk of frame to work on */
51 56
    const uint16_t  *video_place;           /* positions of all DV macroblocks */
52 57
    enum PixelFormat pix_fmt;               /* picture pixel format */
53 58
    int              bpm;                   /* blocks per macroblock */
......
6160 6165
    80, 80, 80, 80, 80, 80, 64, 64,
6161 6166
};
6162 6167

  
6163
static void  *work_chunks_dv25pal   [1*12*27];
6164
static void  *work_chunks_dv25pal411[1*12*27];
6165
static void  *work_chunks_dv25ntsc  [1*10*27];
6166
static void  *work_chunks_dv50pal   [2*12*27];
6167
static void  *work_chunks_dv50ntsc  [2*10*27];
6168
static void  *work_chunks_dv100palp [2*12*27];
6169
static void  *work_chunks_dv100ntscp[2*10*27];
6170
static void  *work_chunks_dv100pali [4*12*27];
6171
static void  *work_chunks_dv100ntsci[4*10*27];
6168
static DVwork_chunk work_chunks_dv25pal   [1*12*27];
6169
static DVwork_chunk work_chunks_dv25pal411[1*12*27];
6170
static DVwork_chunk work_chunks_dv25ntsc  [1*10*27];
6171
static DVwork_chunk work_chunks_dv50pal   [2*12*27];
6172
static DVwork_chunk work_chunks_dv50ntsc  [2*10*27];
6173
static DVwork_chunk work_chunks_dv100palp [2*12*27];
6174
static DVwork_chunk work_chunks_dv100ntscp[2*10*27];
6175
static DVwork_chunk work_chunks_dv100pali [4*12*27];
6176
static DVwork_chunk work_chunks_dv100ntsci[4*10*27];
6172 6177

  
6173 6178
static const DVprofile dv_profiles[] = {
6174 6179
    { .dsf = 0,

Also available in: Unified diff