libcamera: buffer: Rename buffer.h to framebuffer.h
libcamera names header files based on the classes they define. The buffer.h file is an exception. Rename it to framebuffer.h. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
/*
|
||||
* Copyright (C) 2019, Google Inc.
|
||||
*
|
||||
* buffer.h - Buffer handling
|
||||
* framebuffer.h - Frame buffer handling
|
||||
*/
|
||||
#ifndef __LIBCAMERA_BUFFER_H__
|
||||
#define __LIBCAMERA_BUFFER_H__
|
||||
#ifndef __LIBCAMERA_FRAMEBUFFER_H__
|
||||
#define __LIBCAMERA_FRAMEBUFFER_H__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <vector>
|
||||
@@ -71,4 +71,4 @@ private:
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_BUFFER_H__ */
|
||||
#endif /* __LIBCAMERA_FRAMEBUFFER_H__ */
|
||||
@@ -2,10 +2,10 @@
|
||||
/*
|
||||
* Copyright (C) 2020, Google Inc.
|
||||
*
|
||||
* buffer.h - Internal buffer handling
|
||||
* framebuffer.h - Internal frame buffer handling
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_BUFFER_H__
|
||||
#define __LIBCAMERA_INTERNAL_BUFFER_H__
|
||||
#ifndef __LIBCAMERA_INTERNAL_FRAMEBUFFER_H__
|
||||
#define __LIBCAMERA_INTERNAL_FRAMEBUFFER_H__
|
||||
|
||||
#include <sys/mman.h>
|
||||
#include <vector>
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <libcamera/base/class.h>
|
||||
#include <libcamera/base/span.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/framebuffer.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
@@ -49,4 +49,4 @@ public:
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_BUFFER_H__ */
|
||||
#endif /* __LIBCAMERA_INTERNAL_FRAMEBUFFER_H__ */
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/framebuffer.h>
|
||||
#include <libcamera/geometry.h>
|
||||
#include <libcamera/ipa/ipa_interface.h>
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ libcamera_tracepoint_header = custom_target(
|
||||
|
||||
libcamera_internal_headers = files([
|
||||
'bayer_format.h',
|
||||
'buffer.h',
|
||||
'byte_stream_buffer.h',
|
||||
'camera_controls.h',
|
||||
'camera_sensor.h',
|
||||
@@ -23,6 +22,7 @@ libcamera_internal_headers = files([
|
||||
'device_enumerator_sysfs.h',
|
||||
'device_enumerator_udev.h',
|
||||
'formats.h',
|
||||
'framebuffer.h',
|
||||
'ipa_manager.h',
|
||||
'ipa_module.h',
|
||||
'ipa_proxy.h',
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* request.tp - Tracepoints for the request object
|
||||
*/
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/framebuffer.h>
|
||||
#include <libcamera/request.h>
|
||||
|
||||
TRACEPOINT_EVENT_CLASS(
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/framebuffer.h>
|
||||
#include <libcamera/geometry.h>
|
||||
#include <libcamera/pixel_format.h>
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/framebuffer.h>
|
||||
#include <libcamera/geometry.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
libcamera_public_headers = files([
|
||||
'buffer.h',
|
||||
'camera.h',
|
||||
'camera_manager.h',
|
||||
'compiler.h',
|
||||
'controls.h',
|
||||
'file_descriptor.h',
|
||||
'framebuffer.h',
|
||||
'framebuffer_allocator.h',
|
||||
'geometry.h',
|
||||
'logging.h',
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/framebuffer.h>
|
||||
#include <libcamera/geometry.h>
|
||||
#include <libcamera/pixel_format.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user