Home
last modified time | relevance | path

Searched refs:inv_table (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libswscale/
Dswscale.h333 int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4],
344 int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table,
Dutils.c901 int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], in sws_setColorspaceDetails()
912 int ret = sws_setColorspaceDetails(c->slice_ctx[i], inv_table, in sws_setColorspaceDetails()
936 memcmp(c->srcColorspaceTable, inv_table, sizeof(int) * 4) || in sws_setColorspaceDetails()
941 memmove(c->srcColorspaceTable, inv_table, sizeof(int) * 4); in sws_setColorspaceDetails()
961 …return sws_setColorspaceDetails(c->cascaded_context[c->cascaded_mainindex],inv_table, srcRange,tab… in sws_setColorspaceDetails()
1017 sws_setColorspaceDetails(c->cascaded_context[0], inv_table, in sws_setColorspaceDetails()
1031 sws_setColorspaceDetails(c->cascaded_context[1], inv_table, in sws_setColorspaceDetails()
1043 ff_yuv2rgb_c_init_tables(c, inv_table, srcRange, brightness, in sws_setColorspaceDetails()
1048 ff_yuv2rgb_init_tables_ppc(c, inv_table, brightness, in sws_setColorspaceDetails()
1058 int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, in sws_getColorspaceDetails() argument
[all …]
Dyuv2rgb.c774 av_cold int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], in ff_yuv2rgb_c_init_tables()
809 int64_t crv = inv_table[0]; in ff_yuv2rgb_c_init_tables()
810 int64_t cbu = inv_table[1]; in ff_yuv2rgb_c_init_tables()
811 int64_t cgu = -inv_table[2]; in ff_yuv2rgb_c_init_tables()
812 int64_t cgv = -inv_table[3]; in ff_yuv2rgb_c_init_tables()
Dswscale_internal.h681 int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4],
684 void ff_yuv2rgb_init_tables_ppc(SwsContext *c, const int inv_table[4],
/third_party/ffmpeg/libavfilter/
Dvf_scale.c799 const int *inv_table, *table; in scale_frame() local
801 sws_getColorspaceDetails(scale->sws, (int **)&inv_table, &in_full, in scale_frame()
806 inv_table = parse_yuv_type(scale->in_color_matrix, in->colorspace); in scale_frame()
810 table = inv_table; in scale_frame()
819 sws_setColorspaceDetails(scale->sws, inv_table, in_full, in scale_frame()
823 sws_setColorspaceDetails(scale->isws[0], inv_table, in_full, in scale_frame()
827 sws_setColorspaceDetails(scale->isws[1], inv_table, in_full, in scale_frame()
/third_party/ffmpeg/libswscale/ppc/
Dyuv2rgb_altivec.c599 const int inv_table[4], in ff_yuv2rgb_init_tables_ppc()
615 buf.tmp[2] = (inv_table[0] >> 3) * (contrast >> 16) * (saturation >> 16); // crv in ff_yuv2rgb_init_tables_ppc()
616 buf.tmp[3] = (inv_table[1] >> 3) * (contrast >> 16) * (saturation >> 16); // cbu in ff_yuv2rgb_init_tables_ppc()
617 buf.tmp[4] = -((inv_table[2] >> 1) * (contrast >> 16) * (saturation >> 16)); // cgu in ff_yuv2rgb_init_tables_ppc()
618 buf.tmp[5] = -((inv_table[3] >> 1) * (contrast >> 16) * (saturation >> 16)); // cgv in ff_yuv2rgb_init_tables_ppc()