summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>2021-03-17 16:28:28 -0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-19 01:54:41 +0200
commitd32accd6540ddd99225f0b87aff662651dd8d9d1 (patch)
treede8eb53f9719e725bfd8e3c6f8bc8eae690c1320
parent7ebc19752a32e42f7a8eee194c1a243b0f41121c (diff)
Documentation: environment-variables: Use standard rST link syntax
The usage of # in embedded URIs for references to sections in reStructuredText is HTML specific. Use the standard rST reference to targets instead, to be compatible with other formats as well, should this documentation ever be exported to PDF, for example. See [1] for an equivalent commit in the Linux Kernel documentation. [1] https://lore.kernel.org/linux-doc/20201228144537.135353-1-nfraprado@protonmail.com/ Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: Sebastian Fricke <sebastian.fricke@posteo.net> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--Documentation/environment_variables.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/environment_variables.rst b/Documentation/environment_variables.rst
index e482c98e..d392fd26 100644
--- a/Documentation/environment_variables.rst
+++ b/Documentation/environment_variables.rst
@@ -15,17 +15,17 @@ LIBCAMERA_LOG_FILE
Example value: ``/home/{user}/camera_log.log``
LIBCAMERA_LOG_LEVELS
- Configure the verbosity of log messages for different categories (`more <#log-levels>`__).
+ Configure the verbosity of log messages for different categories (`more <Log levels_>`__).
Example value: ``*:DEBUG``
LIBCAMERA_IPA_CONFIG_PATH
- Define custom search locations for IPA configurations (`more <#ipa-configuration>`__).
+ Define custom search locations for IPA configurations (`more <IPA configuration_>`__).
Example value: ``${HOME}/.libcamera/share/ipa:/opt/libcamera/vendor/share/ipa``
LIBCAMERA_IPA_MODULE_PATH
- Define custom search locations for IPA modules (`more <#ipa-module>`__).
+ Define custom search locations for IPA modules (`more <IPA module_>`__).
Example value: ``${HOME}/.libcamera/lib:/opt/libcamera/vendor/lib``
@@ -42,10 +42,10 @@ libcamera.
The ``LIBCAMERA_LOG_LEVELS`` variable accepts a comma-separated list of
'category:level' pairs.
-The `level <#log-levels>`__ part is mandatory and can either be specified by
+The `level <Log levels_>`__ part is mandatory and can either be specified by
name or by numerical index associated with each level.
-The optional `category <#log-categories>`__ is a string matching the categories
+The optional `category <Log categories_>`__ is a string matching the categories
defined by each file in the source base using the logging infrastructure. It
can include a wildcard ('*') character at the end to match multiple categories.
@@ -53,7 +53,7 @@ For more information refer to the `API documentation <http://libcamera.org/api-h
Examples:
-Enable full debug output to a separate file, for every `category <#log-categories>`__
+Enable full debug output to a separate file, for every `category <Log categories_>`__
within a local environment:
.. code:: bash
href='#n225'>225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Google Inc.
 *
 * exif.cpp - EXIF tag creation using libexif
 */

#include "exif.h"

#include <cmath>