History

avfilter/vf_convolution: use already available dstride

Paul B Mahol committed 8 years ago

Commit 4cd4aa01 parent bcff9831 file · +1 −1Browse files

Unified · Split

libavfilter/vf_convolution.c+1−1
@@ -541,7 +541,7 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) · 540 unmodified lines
541 const float rdiv = s->rdiv[plane];541 const float rdiv = s->rdiv[plane];
542 const float bias = s->bias[plane];542 const float bias = s->bias[plane];
543 const uint8_t *src = in->data[plane];543 const uint8_t *src = in->data[plane];
544 const int dst_pos = slice_start * (mode == MATRIX_COLUMN ? bpc : out->linesize[plane]);544 const int dst_pos = slice_start * (mode == MATRIX_COLUMN ? bpc : dstride);
545 uint8_t *dst = out->data[plane] + dst_pos;545 uint8_t *dst = out->data[plane] + dst_pos;
546 const int *matrix = s->matrix[plane];546 const int *matrix = s->matrix[plane];
547 const uint8_t *c[49];547 const uint8_t *c[49];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t