Home
last modified time | relevance | path

Searched refs:expected_stride (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavformat/
Drawutils.c25 …reshuffle_raw_rgb(AVFormatContext *s, AVPacket **ppkt, AVCodecParameters *par, int expected_stride) in ff_reshuffle_raw_rgb() argument
35 int padding = expected_stride - FFMIN(expected_stride, stride); in ff_reshuffle_raw_rgb()
39 if (pkt->size == expected_stride * par->height) in ff_reshuffle_raw_rgb()
48 ret = av_new_packet(new_pkt, expected_stride * par->height); in ff_reshuffle_raw_rgb()
57 … memcpy(new_pkt->data + y*expected_stride, pkt->data + y*stride, FFMIN(expected_stride, stride)); in ff_reshuffle_raw_rgb()
58 memset(new_pkt->data + y*expected_stride + expected_stride - padding, 0, padding); in ff_reshuffle_raw_rgb()
Dinternal.h849 …eshuffle_raw_rgb(AVFormatContext *s, AVPacket **ppkt, AVCodecParameters *par, int expected_stride);
Davienc.c793 int expected_stride = ((par->width * bpc + 31) >> 5)*4; in avi_write_packet() local
794 reshuffle_ret = ff_reshuffle_raw_rgb(s, &pkt, par, expected_stride); in avi_write_packet()
Dmovenc.c6076 int expected_stride = ((trk->par->width * bpc + 15) >> 4)*2; in mov_write_packet() local
6077 reshuffle_ret = ff_reshuffle_raw_rgb(s, &pkt, trk->par, expected_stride); in mov_write_packet()