libcamera: Drop remaining file name from header comment blocks

Source files in libcamera start by a comment block header, which
includes the file name and a one-line description of the file contents.
While the latter is useful to get a quick overview of the file contents
at a glance, the former is mostly a source of inconvenience. The name in
the comments can easily get out of sync with the file name when files
are renamed, and copy & paste during development have often lead to
incorrect names being used to start with.

Readers of the source code are expected to know which file they're
looking it. Drop the file name from the header comment blocks in all
remaining locations that were not caught by the automated script as they
are out of sync with the file name.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2024-05-08 19:28:06 +03:00
parent 829acb3ab0
commit 3cb20bc230
40 changed files with 40 additions and 43 deletions

View file

@ -2,7 +2,7 @@
/*
* Copyright (C) 2022, Ideas on Board Oy
*
* sdl_sink.h - SDL Sink
* SDL Sink
*/
#include "sdl_sink.h"

View file

@ -2,7 +2,7 @@
/*
* Copyright (C) 2023, Ideas on Board Oy
*
* ipa_verify.cpp - Verify signature on an IPA module
* Verify signature on an IPA module
*/
#include <iostream>

View file

@ -2,7 +2,7 @@
/*
* Copyright (C) 2020-2021, Google Inc.
*
* simple_capture.cpp - Simple capture helper
* Simple capture helper
*/
#include "capture.h"

View file

@ -2,7 +2,7 @@
/*
* Copyright (C) 2020-2021, Google Inc.
*
* simple_capture.h - Simple capture helper
* Simple capture helper
*/
#pragma once

View file

@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Google Inc.
*
* format_convert.cpp - qcam - Convert buffer to RGB
* Convert buffer to RGB
*/
#include "format_converter.h"

View file

@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Google Inc.
*
* format_convert.h - qcam - Convert buffer to RGB
* Convert buffer to RGB
*/
#pragma once

View file

@ -2,7 +2,7 @@
/*
* Copyright (C) 2020, Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*
* message_handler.cpp - qcam - Log message handling
* Log message handling
*/
#pragma once

View file

@ -2,7 +2,7 @@
/*
* Copyright (C) 2020, Linaro
*
* viewfinderGL.cpp - OpenGL Viewfinder for rendering by OpenGL shader
* OpenGL Viewfinder for rendering by OpenGL shader
*/
#include "viewfinder_gl.h"

View file

@ -2,8 +2,7 @@
/*
* Copyright (C) 2020, Linaro
*
* viewfinder_GL.h - OpenGL Viewfinder for rendering by OpenGL shader
*
* OpenGL Viewfinder for rendering by OpenGL shader
*/
#pragma once