Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/core/
DSkColorSpace.cpp233 const skcms_Curve* trc = profile.trc; in Make() local
234 if (trc[0].table_entries != 0 || in Make()
235 trc[1].table_entries != 0 || in Make()
236 trc[2].table_entries != 0 || in Make()
237 0 != memcmp(&trc[0].parametric, &trc[1].parametric, sizeof(trc[0].parametric)) || in Make()
238 0 != memcmp(&trc[0].parametric, &trc[2].parametric, sizeof(trc[0].parametric))) in Make()
246 return SkColorSpace::MakeRGB(profile.trc[0].parametric, profile.toXYZD50); in Make()
/third_party/skia/src/core/
DSkColorSpace.cpp209 const skcms_Curve* trc = profile.trc; in Make() local
210 if (trc[0].table_entries != 0 || in Make()
211 trc[1].table_entries != 0 || in Make()
212 trc[2].table_entries != 0 || in Make()
213 0 != memcmp(&trc[0].parametric, &trc[1].parametric, sizeof(trc[0].parametric)) || in Make()
214 0 != memcmp(&trc[0].parametric, &trc[2].parametric, sizeof(trc[0].parametric))) in Make()
222 return SkColorSpace::MakeRGB(profile.trc[0].parametric, profile.toXYZD50); in Make()
/third_party/ffmpeg/libavutil/
Dcolor_utils.c28 double avpriv_get_gamma_from_trc(enum AVColorTransferCharacteristic trc) in avpriv_get_gamma_from_trc() argument
31 switch (trc) { in avpriv_get_gamma_from_trc()
170 avpriv_trc_function avpriv_get_trc_function_from_trc(enum AVColorTransferCharacteristic trc) in avpriv_get_trc_function_from_trc() argument
173 switch (trc) { in avpriv_get_trc_function_from_trc()
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);
/third_party/flutter/skia/third_party/skcms/
Dskcms.cc931 if (!read_curve(kTRC.buf, kTRC.size, &profile->trc[0], nullptr)) { in skcms_Parse()
935 profile->trc[1] = profile->trc[0]; in skcms_Parse()
936 profile->trc[2] = profile->trc[0]; in skcms_Parse()
950 if (!read_curve(rTRC.buf, rTRC.size, &profile->trc[0], nullptr) || in skcms_Parse()
951 !read_curve(gTRC.buf, gTRC.size, &profile->trc[1], nullptr) || in skcms_Parse()
952 !read_curve(bTRC.buf, bTRC.size, &profile->trc[2], nullptr)) { in skcms_Parse()
1116 return &skcms_sRGB_profile()->trc[0].parametric; in skcms_sRGB_TransferFunction()
1210 return skcms_AreApproximateInverses(&profile->trc[0], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1211 skcms_AreApproximateInverses(&profile->trc[1], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1212 skcms_AreApproximateInverses(&profile->trc[2], inv_tf); in skcms_TRCs_AreApproximateInverse()
[all …]
/third_party/skia/third_party/skcms/
Dskcms.cc1267 if (!read_curve(kTRC.buf, kTRC.size, &profile->trc[0], nullptr)) { in skcms_ParseWithA2BPriority()
1271 profile->trc[1] = profile->trc[0]; in skcms_ParseWithA2BPriority()
1272 profile->trc[2] = profile->trc[0]; in skcms_ParseWithA2BPriority()
1286 if (!read_curve(rTRC.buf, rTRC.size, &profile->trc[0], nullptr) || in skcms_ParseWithA2BPriority()
1287 !read_curve(gTRC.buf, gTRC.size, &profile->trc[1], nullptr) || in skcms_ParseWithA2BPriority()
1288 !read_curve(bTRC.buf, bTRC.size, &profile->trc[2], nullptr)) { in skcms_ParseWithA2BPriority()
1534 return &skcms_sRGB_profile()->trc[0].parametric; in skcms_sRGB_TransferFunction()
1631 return skcms_AreApproximateInverses(&profile->trc[0], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1632 skcms_AreApproximateInverses(&profile->trc[1], inv_tf) && in skcms_TRCs_AreApproximateInverse()
1633 skcms_AreApproximateInverses(&profile->trc[2], inv_tf); in skcms_TRCs_AreApproximateInverse()
[all …]
/third_party/flutter/skia/include/third_party/skcms/
Dskcms.h102 skcms_Curve trc[3]; member
292 p->trc[i].table_entries = 0; in skcms_SetTransferFunction()
293 p->trc[i].parametric = *tf; in skcms_SetTransferFunction()
/third_party/skia/include/third_party/skcms/
Dskcms.h169 skcms_Curve trc[3]; member
382 p->trc[i].table_entries = 0; in skcms_SetTransferFunction()
383 p->trc[i].parametric = *tf; in skcms_SetTransferFunction()
/third_party/ffmpeg/libavfilter/
Dvf_tonemap_opencl.c56 enum AVColorTransferCharacteristic trc, trc_in, trc_out; member
371 if (ctx->trc != -1) in tonemap_opencl_filter_frame()
372 output->color_trc = ctx->trc; in tonemap_opencl_filter_frame()
496 …{ "transfer", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = AVCOL_TRC_BT709…
497 …{ "t", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = AVCOL_TRC_BT709…
Dvf_zscale.c92 int trc; member
612 s->primaries, s->trc, s->range, s->chromal); in filter_frame()
623 if (s->trc != -1) in filter_frame()
682 if (s->trc != -1) in filter_frame()
837 …{ "transfer", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MA…
838 …{ "t", "set transfer characteristic", OFFSET(trc), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MA…
Dvf_colorspace.c191 get_transfer_characteristics(enum AVColorTransferCharacteristic trc) in get_transfer_characteristics() argument
195 if (trc >= AVCOL_TRC_NB) in get_transfer_characteristics()
197 coeffs = &transfer_characteristics[trc]; in get_transfer_characteristics()
/third_party/ffmpeg/libavcodec/
Davcodec.c711 const char *trc = unknown_if_null(av_color_transfer_name(enc->color_trc)); in avcodec_string() local
712 if (strcmp(col, pri) || strcmp(col, trc)) { in avcodec_string()
715 col, pri, trc); in avcodec_string()
Dlibdav1d.c305 frame->color_trc = c->color_trc = (enum AVColorTransferCharacteristic) p->seq_hdr->trc; in libdav1d_receive_frame()
311 p->seq_hdr->trc == DAV1D_TRC_SRGB) in libdav1d_receive_frame()
Dvideotoolboxenc.c947 enum AVColorTransferCharacteristic trc = avctx->color_trc; in get_cv_transfer_function() local
951 switch (trc) { in get_cv_transfer_function()
999 …_log(avctx, AV_LOG_ERROR, "Transfer function %s is not supported.\n", av_color_transfer_name(trc)); in get_cv_transfer_function()
Dpngenc.c335 static int png_get_gama(enum AVColorTransferCharacteristic trc, uint8_t *buf) in png_get_gama() argument
337 double gamma = avpriv_get_gamma_from_trc(trc); in png_get_gama()
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_widgets.cpp4336 ImVec2 trc = wheel_center + ImRotate(triangle_pc, cos_hue_angle, sin_hue_angle); in ColorPicker4() local
4341 draw_list->PrimVtx(trc, uv_white, IM_COL32_WHITE); in ColorPicker4()
4344 draw_list->PrimVtx(trc, uv_white, IM_COL32_BLACK_TRANS); in ColorPicker4()
4345 draw_list->AddTriangle(tra, trb, trc, IM_COL32(128,128,128,255), 1.5f); in ColorPicker4()
4346 sv_cursor_pos = ImLerp(ImLerp(trc, tra, ImSaturate(S)), trb, ImSaturate(1 - V)); in ColorPicker4()
/third_party/mesa3d/src/imgui/
Dimgui_widgets.cpp4348 ImVec2 trc = wheel_center + ImRotate(triangle_pc, cos_hue_angle, sin_hue_angle); in ColorPicker4() local
4353 draw_list->PrimVtx(trc, uv_white, IM_COL32_WHITE); in ColorPicker4()
4356 draw_list->PrimVtx(trc, uv_white, IM_COL32_BLACK_TRANS); in ColorPicker4()
4357 draw_list->AddTriangle(tra, trb, trc, IM_COL32(128,128,128,255), 1.5f); in ColorPicker4()
4358 sv_cursor_pos = ImLerp(ImLerp(trc, tra, ImSaturate(S)), trb, ImSaturate(1 - V)); in ColorPicker4()
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp5381 ImVec2 trc = wheel_center + ImRotate(triangle_pc, cos_hue_angle, sin_hue_angle); in ColorPicker4() local
5386 draw_list->PrimVtx(trc, uv_white, col_white); in ColorPicker4()
5389 draw_list->PrimVtx(trc, uv_white, 0); in ColorPicker4()
5390 draw_list->AddTriangle(tra, trb, trc, col_midgrey, 1.5f); in ColorPicker4()
5391 sv_cursor_pos = ImLerp(ImLerp(trc, tra, ImSaturate(S)), trb, ImSaturate(1 - V)); in ColorPicker4()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Ddtv.js84 trc: "[PC Preview] unknow trc" property
/third_party/ffmpeg/doc/
Dfilters.texi8514 @anchor{trc}
8515 @item trc
8695 Override input transfer characteristics. Same accepted values as @ref{trc}.
18159 Keep the same color trc property (default).
/third_party/sqlite/src/
Dsqlite3.c210503 TESTONLY(int trc = ) pSession->hook.xOld(pSession->hook.pCtx, i, &p);
210504 assert( trc==SQLITE_OK );
210506 TESTONLY(int trc = ) pSession->hook.xNew(pSession->hook.pCtx, i, &p);
210507 assert( trc==SQLITE_OK );