Home
last modified time | relevance | path

Searched refs:trc (Results 1 - 21 of 21) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dfflcms2.c51 static int get_curve(FFIccContext *s, enum AVColorTransferCharacteristic trc, in get_curve() argument
54 if (trc >= AVCOL_TRC_NB) in get_curve()
57 if (s->curves[trc]) in get_curve()
60 switch (trc) { in get_curve()
62 s->curves[trc] = cmsBuildGamma(s->ctx, 1.0); in get_curve()
65 s->curves[trc] = cmsBuildGamma(s->ctx, 2.2); in get_curve()
68 s->curves[trc] = cmsBuildGamma(s->ctx, 2.8); in get_curve()
74 s->curves[trc] = cmsBuildParametricToneCurve(s->ctx, 4, (double[5]) { in get_curve()
83 s->curves[trc] = cmsBuildParametricToneCurve(s->ctx, 4, (double[5]) { in get_curve()
92 s->curves[trc] in get_curve()
[all...]
H A Dvf_iccgen.c103 enum AVColorTransferCharacteristic trc; in iccgen_filter_frame() local
115 trc = s->color_trc ? s->color_trc : frame->color_trc; in iccgen_filter_frame()
116 if (trc == AVCOL_TRC_UNSPECIFIED) { in iccgen_filter_frame()
123 trc = AVCOL_TRC_IEC61966_2_1; in iccgen_filter_frame()
126 trc = desc->comp[0].depth >= 12 ? AVCOL_TRC_BT2020_12 in iccgen_filter_frame()
138 if (s->profile && prim != s->profile_prim && trc != s->profile_trc) { in iccgen_filter_frame()
144 if ((ret = ff_icc_profile_generate(&s->icc, prim, trc, &s->profile)) < 0) in iccgen_filter_frame()
147 s->profile_trc = trc; in iccgen_filter_frame()
H A Dvf_tonemap_opencl.c55 enum AVColorTransferCharacteristic trc, trc_in, trc_out; member
369 if (ctx->trc != -1) in tonemap_opencl_filter_frame()
370 output->color_trc = ctx->trc; in tonemap_opencl_filter_frame()
494 { "transfer", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = AVCOL_TRC_BT709}, -1, INT_MAX, FLAGS, "transfer" },
495 { "t", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = AVCOL_TRC_BT709}, -1, INT_MAX, FLAGS, "transfer" },
H A Dvf_zscale.c94 int trc; member
695 if (s->trc != -1) in update_output_color_information()
836 s->primaries, s->trc, s->range, s->chromal); in filter_frame()
1023 { "transfer", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, FLAGS, "transfer" },
1024 { "t", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, FLAGS, "transfer" },
H A Dvf_colorspace.c179 get_transfer_characteristics(enum AVColorTransferCharacteristic trc) in get_transfer_characteristics() argument
183 if (trc >= AVCOL_TRC_NB) in get_transfer_characteristics()
185 coeffs = &transfer_characteristics[trc]; in get_transfer_characteristics()
940 { "trc", "Output transfer characteristics",
942 AVCOL_TRC_RESERVED0, AVCOL_TRC_NB - 1, FLAGS, "trc" },
943 ENUM("bt709", AVCOL_TRC_BT709, "trc"),
944 ENUM("bt470m", AVCOL_TRC_GAMMA22, "trc"),
945 ENUM("gamma22", AVCOL_TRC_GAMMA22, "trc"),
946 ENUM("bt470bg", AVCOL_TRC_GAMMA28, "trc"),
947 ENUM("gamma28", AVCOL_TRC_GAMMA28, "trc"),
[all...]
/third_party/skia/src/core/
H A DSkColorSpace.cpp223 const skcms_Curve* trc = profile.trc; in Make() local
224 if (trc[0].table_entries != 0 || in Make()
225 trc[1].table_entries != 0 || in Make()
226 trc[2].table_entries != 0 || in Make()
227 0 != memcmp(&trc[0].parametric, &trc[1].parametric, sizeof(trc[0].parametric)) || in Make()
228 0 != memcmp(&trc[0].parametric, &trc[ in Make()
[all...]
/third_party/ffmpeg/libavutil/
H A Dcolor_utils.c27 double avpriv_get_gamma_from_trc(enum AVColorTransferCharacteristic trc) in avpriv_get_gamma_from_trc() argument
30 switch (trc) { in avpriv_get_gamma_from_trc()
169 avpriv_trc_function avpriv_get_trc_function_from_trc(enum AVColorTransferCharacteristic trc) in avpriv_get_trc_function_from_trc() argument
172 switch (trc) { in avpriv_get_trc_function_from_trc()
H A Dcolor_utils.h37 double avpriv_get_gamma_from_trc(enum AVColorTransferCharacteristic trc);
54 avpriv_trc_function avpriv_get_trc_function_from_trc(enum AVColorTransferCharacteristic trc);
H A Dhwcontext_videotoolbox.h86 CFStringRef av_map_videotoolbox_color_trc_from_av(enum AVColorTransferCharacteristic trc);
H A Dhwcontext_videotoolbox.c463 CFStringRef av_map_videotoolbox_color_trc_from_av(enum AVColorTransferCharacteristic trc) in av_map_videotoolbox_color_trc_from_av() argument
466 switch (trc) { in av_map_videotoolbox_color_trc_from_av()
503 return CVTransferFunctionGetStringForIntegerCodePoint(trc); in av_map_videotoolbox_color_trc_from_av()
/third_party/skia/third_party/skcms/
H A Dskcms.cc1291 if (!read_curve(kTRC.buf, kTRC.size, &profile->trc[0], nullptr)) {
1295 profile->trc[1] = profile->trc[0];
1296 profile->trc[2] = profile->trc[0];
1310 if (!read_curve(rTRC.buf, rTRC.size, &profile->trc[0], nullptr) ||
1311 !read_curve(gTRC.buf, gTRC.size, &profile->trc[1], nullptr) ||
1312 !read_curve(bTRC.buf, bTRC.size, &profile->trc[2], nullptr)) {
1386 true, // has_trc, followed by the 3 trc curves
1479 true, // has_trc, followed by the 3 trc curve
[all...]
/third_party/skia/include/third_party/skcms/
H A Dskcms.h174 // trc will be set to those three curves, and has_trc will be true.
176 skcms_Curve trc[3]; member
391 p->trc[i].table_entries = 0; in skcms_SetTransferFunction()
392 p->trc[i].parametric = *tf; in skcms_SetTransferFunction()
/third_party/ffmpeg/libavcodec/
H A Davcodec.c584 const char *trc = unknown_if_null(av_color_transfer_name(enc->color_trc)); in avcodec_string() local
585 if (strcmp(col, pri) || strcmp(col, trc)) { in avcodec_string()
587 av_bprintf(&bprint, "%s/%s/%s, ", col, pri, trc); in avcodec_string()
H A Dlibdav1d.c147 c->color_trc = (enum AVColorTransferCharacteristic) seq->trc; in libdav1d_init_params()
153 seq->trc == DAV1D_TRC_SRGB) in libdav1d_init_params()
H A Dpngenc.c339 static int png_get_gama(enum AVColorTransferCharacteristic trc, uint8_t *buf) in png_get_gama() argument
341 double gamma = avpriv_get_gamma_from_trc(trc); in png_get_gama()
H A Dvideotoolboxenc.c979 enum AVColorTransferCharacteristic trc = avctx->color_trc; in get_cv_transfer_function() local
983 switch (trc) { in get_cv_transfer_function()
1031 av_log(avctx, AV_LOG_ERROR, "Transfer function %s is not supported.\n", av_color_transfer_name(trc)); in get_cv_transfer_function()
/third_party/ffmpeg/libavdevice/
H A Ddshow.c946 const char *trc = av_color_transfer_name(fmt_info->col_trc); in dshow_cycle_formats() local
951 trc ? trc : "unknown"); in dshow_cycle_formats()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp4348 ImVec2 trc = wheel_center + ImRotate(triangle_pc, cos_hue_angle, sin_hue_angle);
4353 draw_list->PrimVtx(trc, uv_white, IM_COL32_WHITE);
4356 draw_list->PrimVtx(trc, uv_white, IM_COL32_BLACK_TRANS);
4357 draw_list->AddTriangle(tra, trb, trc, IM_COL32(128,128,128,255), 1.5f);
4358 sv_cursor_pos = ImLerp(ImLerp(trc, tra, ImSaturate(S)), trb, ImSaturate(1 - V));
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp5381 ImVec2 trc = wheel_center + ImRotate(triangle_pc, cos_hue_angle, sin_hue_angle);
5386 draw_list->PrimVtx(trc, uv_white, col_white);
5389 draw_list->PrimVtx(trc, uv_white, 0);
5390 draw_list->AddTriangle(tra, trb, trc, col_midgrey, 1.5f);
5391 sv_cursor_pos = ImLerp(ImLerp(trc, tra, ImSaturate(S)), trb, ImSaturate(1 - V));
/third_party/sqlite/src/
H A Dsqlite3.c[all...]

Completed in 199 milliseconds