Home
last modified time | relevance | path

Searched refs:rav1eConfig (Results 1 – 3 of 3) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libavif/src/src/
H A Dcodec_rav1e.c59 RaConfig * rav1eConfig = NULL; in rav1eCodecEncodeImage() local
98 rav1eConfig = rav1e_config_default(); in rav1eCodecEncodeImage()
99 if (rav1e_config_set_pixel_format(rav1eConfig, in rav1eCodecEncodeImage()
108 if (rav1e_config_parse(rav1eConfig, "still_picture", "true") == -1) { in rav1eCodecEncodeImage()
112 if (rav1e_config_parse_int(rav1eConfig, "width", image->width) == -1) { in rav1eCodecEncodeImage()
150 if (rav1e_config_parse_int(rav1eConfig, "speed", speed) == -1) { in rav1eCodecEncodeImage()
155 rav1e_config_set_color_description(rav1eConfig, in rav1eCodecEncodeImage()
160 codec->internal->rav1eContext = rav1e_context_new(rav1eConfig); in rav1eCodecEncodeImage()
215 if (rav1eConfig) { in rav1eCodecEncodeImage()
216 rav1e_config_unref(rav1eConfig); in rav1eCodecEncodeImage()
[all …]
/dports/graphics/libavif/libavif-0.9.3/src/
H A Dcodec_rav1e.c59 RaConfig * rav1eConfig = NULL; in rav1eCodecEncodeImage() local
98 rav1eConfig = rav1e_config_default(); in rav1eCodecEncodeImage()
99 if (rav1e_config_set_pixel_format(rav1eConfig, in rav1eCodecEncodeImage()
108 if (rav1e_config_parse(rav1eConfig, "still_picture", "true") == -1) { in rav1eCodecEncodeImage()
112 if (rav1e_config_parse_int(rav1eConfig, "width", image->width) == -1) { in rav1eCodecEncodeImage()
150 if (rav1e_config_parse_int(rav1eConfig, "speed", speed) == -1) { in rav1eCodecEncodeImage()
155 rav1e_config_set_color_description(rav1eConfig, in rav1eCodecEncodeImage()
160 codec->internal->rav1eContext = rav1e_context_new(rav1eConfig); in rav1eCodecEncodeImage()
215 if (rav1eConfig) { in rav1eCodecEncodeImage()
216 rav1e_config_unref(rav1eConfig); in rav1eCodecEncodeImage()
[all …]
/dports/graphics/libheif/libheif-1.10.0/libheif/
H A Dheif_encoder_rav1e.cc551 if (rav1e_config_set_pixel_format(rav1eConfig.get(), (uint8_t) bitDepth, chromaSampling, in rav1e_encode_image()
556 if (rav1e_config_parse(rav1eConfig.get(), "still_picture", "true") == -1) { in rav1e_encode_image()
565 if (rav1e_config_parse_int(rav1eConfig.get(), "threads", encoder->threads) == -1) { in rav1e_encode_image()
572 if (rav1e_config_set_color_description(rav1eConfig.get(), in rav1e_encode_image()
580 if (rav1e_config_parse_int(rav1eConfig.get(), "min_quantizer", encoder->min_q) == -1) { in rav1e_encode_image()
586 if (rav1e_config_parse_int(rav1eConfig.get(), "quantizer", base_quantizer) == -1) { in rav1e_encode_image()
591 if (rav1e_config_parse_int(rav1eConfig.get(), "tile_rows", encoder->tile_rows) == -1) { in rav1e_encode_image()
596 if (rav1e_config_parse_int(rav1eConfig.get(), "tile_cols", encoder->tile_cols) == -1) { in rav1e_encode_image()
601 if (rav1e_config_parse_int(rav1eConfig.get(), "speed", encoder->speed) == -1) { in rav1e_encode_image()
608 rav1e_config_set_color_description(rav1eConfig.get(), in rav1e_encode_image()
[all …]