Lines Matching defs:par
27 int ff_reshuffle_raw_rgb(AVFormatContext *s, AVPacket **ppkt, AVCodecParameters *par, int expected_stride)
31 int64_t bpc = par->bits_per_coded_sample != 15 ? par->bits_per_coded_sample : 16;
32 int min_stride = (par->width * bpc + 7) >> 3;
33 int with_pal_size = min_stride * par->height + 1024;
35 int size = contains_pal ? min_stride * par->height : pkt->size;
36 int stride = size / par->height;
41 if (pkt->size == expected_stride * par->height)
43 if (size != stride * par->height)
50 ret = av_new_packet(new_pkt, expected_stride * par->height);
58 for (y = 0; y<par->height; y++) {