rgbvec 79 libavfilter/vf_lut3d.c struct rgbvec scale; rgbvec 80 libavfilter/vf_lut3d.c struct rgbvec *lut; rgbvec 137 libavfilter/vf_lut3d.c static inline struct rgbvec lerp(const struct rgbvec *v0, const struct rgbvec *v1, float f) rgbvec 139 libavfilter/vf_lut3d.c struct rgbvec v = { rgbvec 152 libavfilter/vf_lut3d.c static inline struct rgbvec interp_nearest(const LUT3DContext *lut3d, rgbvec 153 libavfilter/vf_lut3d.c const struct rgbvec *s) rgbvec 162 libavfilter/vf_lut3d.c static inline struct rgbvec interp_trilinear(const LUT3DContext *lut3d, rgbvec 163 libavfilter/vf_lut3d.c const struct rgbvec *s) rgbvec 169 libavfilter/vf_lut3d.c const struct rgbvec d = {s->r - prev[0], s->g - prev[1], s->b - prev[2]}; rgbvec 170 libavfilter/vf_lut3d.c const struct rgbvec c000 = lut3d->lut[prev[0] * lutsize2 + prev[1] * lutsize + prev[2]]; rgbvec 171 libavfilter/vf_lut3d.c const struct rgbvec c001 = lut3d->lut[prev[0] * lutsize2 + prev[1] * lutsize + next[2]]; rgbvec 172 libavfilter/vf_lut3d.c const struct rgbvec c010 = lut3d->lut[prev[0] * lutsize2 + next[1] * lutsize + prev[2]]; rgbvec 173 libavfilter/vf_lut3d.c const struct rgbvec c011 = lut3d->lut[prev[0] * lutsize2 + next[1] * lutsize + next[2]]; rgbvec 174 libavfilter/vf_lut3d.c const struct rgbvec c100 = lut3d->lut[next[0] * lutsize2 + prev[1] * lutsize + prev[2]]; rgbvec 175 libavfilter/vf_lut3d.c const struct rgbvec c101 = lut3d->lut[next[0] * lutsize2 + prev[1] * lutsize + next[2]]; rgbvec 176 libavfilter/vf_lut3d.c const struct rgbvec c110 = lut3d->lut[next[0] * lutsize2 + next[1] * lutsize + prev[2]]; rgbvec 177 libavfilter/vf_lut3d.c const struct rgbvec c111 = lut3d->lut[next[0] * lutsize2 + next[1] * lutsize + next[2]]; rgbvec 178 libavfilter/vf_lut3d.c const struct rgbvec c00 = lerp(&c000, &c100, d.r); rgbvec 179 libavfilter/vf_lut3d.c const struct rgbvec c10 = lerp(&c010, &c110, d.r); rgbvec 180 libavfilter/vf_lut3d.c const struct rgbvec c01 = lerp(&c001, &c101, d.r); rgbvec 181 libavfilter/vf_lut3d.c const struct rgbvec c11 = lerp(&c011, &c111, d.r); rgbvec 182 libavfilter/vf_lut3d.c const struct rgbvec c0 = lerp(&c00, &c10, d.g); rgbvec 183 libavfilter/vf_lut3d.c const struct rgbvec c1 = lerp(&c01, &c11, d.g); rgbvec 184 libavfilter/vf_lut3d.c const struct rgbvec c = lerp(&c0, &c1, d.b); rgbvec 192 libavfilter/vf_lut3d.c static inline struct rgbvec interp_tetrahedral(const LUT3DContext *lut3d, rgbvec 193 libavfilter/vf_lut3d.c const struct rgbvec *s) rgbvec 199 libavfilter/vf_lut3d.c const struct rgbvec d = {s->r - prev[0], s->g - prev[1], s->b - prev[2]}; rgbvec 200 libavfilter/vf_lut3d.c const struct rgbvec c000 = lut3d->lut[prev[0] * lutsize2 + prev[1] * lutsize + prev[2]]; rgbvec 201 libavfilter/vf_lut3d.c const struct rgbvec c111 = lut3d->lut[next[0] * lutsize2 + next[1] * lutsize + next[2]]; rgbvec 202 libavfilter/vf_lut3d.c struct rgbvec c; rgbvec 205 libavfilter/vf_lut3d.c const struct rgbvec c100 = lut3d->lut[next[0] * lutsize2 + prev[1] * lutsize + prev[2]]; rgbvec 206 libavfilter/vf_lut3d.c const struct rgbvec c110 = lut3d->lut[next[0] * lutsize2 + next[1] * lutsize + prev[2]]; rgbvec 211 libavfilter/vf_lut3d.c const struct rgbvec c100 = lut3d->lut[next[0] * lutsize2 + prev[1] * lutsize + prev[2]]; rgbvec 212 libavfilter/vf_lut3d.c const struct rgbvec c101 = lut3d->lut[next[0] * lutsize2 + prev[1] * lutsize + next[2]]; rgbvec 217 libavfilter/vf_lut3d.c const struct rgbvec c001 = lut3d->lut[prev[0] * lutsize2 + prev[1] * lutsize + next[2]]; rgbvec 218 libavfilter/vf_lut3d.c const struct rgbvec c101 = lut3d->lut[next[0] * lutsize2 + prev[1] * lutsize + next[2]]; rgbvec 225 libavfilter/vf_lut3d.c const struct rgbvec c001 = lut3d->lut[prev[0] * lutsize2 + prev[1] * lutsize + next[2]]; rgbvec 226 libavfilter/vf_lut3d.c const struct rgbvec c011 = lut3d->lut[prev[0] * lutsize2 + next[1] * lutsize + next[2]]; rgbvec 231 libavfilter/vf_lut3d.c const struct rgbvec c010 = lut3d->lut[prev[0] * lutsize2 + next[1] * lutsize + prev[2]]; rgbvec 232 libavfilter/vf_lut3d.c const struct rgbvec c011 = lut3d->lut[prev[0] * lutsize2 + next[1] * lutsize + next[2]]; rgbvec 237 libavfilter/vf_lut3d.c const struct rgbvec c010 = lut3d->lut[prev[0] * lutsize2 + next[1] * lutsize + prev[2]]; rgbvec 238 libavfilter/vf_lut3d.c const struct rgbvec c110 = lut3d->lut[next[0] * lutsize2 + next[1] * lutsize + prev[2]]; rgbvec 261 libavfilter/vf_lut3d.c static inline struct rgbvec apply_prelut(const Lut3DPreLut *prelut, rgbvec 262 libavfilter/vf_lut3d.c const struct rgbvec *s) rgbvec 264 libavfilter/vf_lut3d.c struct rgbvec c; rgbvec 311 libavfilter/vf_lut3d.c const struct rgbvec rgb = {srcr[x] * scale_f, \ rgbvec 314 libavfilter/vf_lut3d.c const struct rgbvec prelut_rgb = apply_prelut(prelut, &rgb); \ rgbvec 315 libavfilter/vf_lut3d.c const struct rgbvec scaled_rgb = {av_clipf(prelut_rgb.r * scale_r, 0, lut_max), \ rgbvec 318 libavfilter/vf_lut3d.c struct rgbvec vec = interp_##name(lut3d, &scaled_rgb); \ rgbvec 396 libavfilter/vf_lut3d.c const struct rgbvec rgb = {sanitizef(srcr[x]), \ rgbvec 399 libavfilter/vf_lut3d.c const struct rgbvec prelut_rgb = apply_prelut(prelut, &rgb); \ rgbvec 400 libavfilter/vf_lut3d.c const struct rgbvec scaled_rgb = {av_clipf(prelut_rgb.r * scale_r, 0, lut_max), \ rgbvec 403 libavfilter/vf_lut3d.c struct rgbvec vec = interp_##name(lut3d, &scaled_rgb); \ rgbvec 455 libavfilter/vf_lut3d.c const struct rgbvec rgb = {src[x + r] * scale_f, \ rgbvec 458 libavfilter/vf_lut3d.c const struct rgbvec prelut_rgb = apply_prelut(prelut, &rgb); \ rgbvec 459 libavfilter/vf_lut3d.c const struct rgbvec scaled_rgb = {av_clipf(prelut_rgb.r * scale_r, 0, lut_max), \ rgbvec 462 libavfilter/vf_lut3d.c struct rgbvec vec = interp_##name(lut3d, &scaled_rgb); \ rgbvec 599 libavfilter/vf_lut3d.c struct rgbvec *vec = &lut3d->lut[k * size2 + j * size + i]; rgbvec 631 libavfilter/vf_lut3d.c struct rgbvec *vec = &lut3d->lut[i * size2 + j * size + k]; rgbvec 688 libavfilter/vf_lut3d.c struct rgbvec *vec = &lut3d->lut[k * size2 + j * size + i]; rgbvec 757 libavfilter/vf_lut3d.c struct rgbvec *vec = &lut3d->lut[k * size2 + j * size + i]; rgbvec 951 libavfilter/vf_lut3d.c struct rgbvec *vec = &lut3d->lut[i * size2 + j * size + k]; rgbvec 1023 libavfilter/vf_lut3d.c struct rgbvec *vec = &lut3d->lut[k * size2 + j * size + i]; rgbvec 1260 libavfilter/vf_lut3d.c struct rgbvec *vec = &lut3d->lut[i * level2 + j * level + k]; \ rgbvec 1303 libavfilter/vf_lut3d.c struct rgbvec *vec = &lut3d->lut[i * level2 + j * level + k]; \ rgbvec 1346 libavfilter/vf_lut3d.c struct rgbvec *vec = &lut3d->lut[i * level2 + j * level + k]; rgbvec 1525 libavfilter/vf_lut3d.c struct rgbvec scale;