Lines Matching +full:full +full:- +full:custom
1 .. SPDX-License-Identifier: GPL-2.0
14 ------------------------
22 --------------------------
30 # dmesg -wH
36 For the full documentation see :ref:`driver-api/media/v4l2-dev:video device
40 ----------------------
44 long-term value for investigations.
50 - Difference between both?
52 - v4l2_dbg() utilizes v4l2_printk() under the hood, which further uses
54 - dev_dbg() can be targeted by dynamic debug
55 - v4l2_dbg() has a more specific prefix format for the media subsystem, while
59 -------------
69 $ ddcmd '-p; file v4l2-h264.c +p'
71 drivers/media/v4l2-core/v4l2-h264.c:372 [v4l2_h264]print_ref_list_b =p
73 drivers/media/v4l2-core/v4l2-h264.c:333 [v4l2_h264]print_ref_list_p =p
77 ------
87 -------
90 in a custom filesystem.
96 -------------------
109 perf stat -d python3 fluster.py run -d GStreamer-H.264-V4L2SL-Gst1.0 -ts
110 JVT-AVC_V1 -tv AUD_MW_E -j1
112 Performance counter stats for 'python3 fluster.py run -d
113 GStreamer-H.264-V4L2SL-Gst1.0 -ts JVT-AVC_V1 -tv AUD_MW_E -j1 -v':
115 7794.23 msec task-clock:u # 0.697 CPUs utilized
116 0 context-switches:u # 0.000 /sec
117 0 cpu-migrations:u # 0.000 /sec
118 11901 page-faults:u # 1.527 K/sec
122 … 6871144 branch-misses:u # 64.93% of all branches (95.79%)
123 … 281716547 L1-dcache-loads:u # 36.144 M/sec (95.79%)
124 … 9019581 L1-dcache-load-misses:u # 3.20% of all L1-dcache accesses (95.79%)
125 <not supported> LLC-loads:u
126 <not supported> LLC-load-misses:u
136 -------------------------------
145 Driver verification with v4l2-compliance
146 ----------------------------------------
148 To verify, that a driver adheres to the v4l2 API, the tool v4l2-compliance is
150 <https://git.linuxtv.org/v4l-utils.git>`__, a suite of userspace tools to work
155 v4l2-compliance -M /dev/mediaX --verbose
157 You can also run a full compliance check for all devices referenced in the
160 v4l2-compliance -m /dev/mediaX
163 ---------------------------------------
166 to the kernel log. It's called by v4l2-ctl --log-status. Very useful for
167 debugging problems with receiving video (TV/S-Video/HDMI/etc) since the video
175 But you can also create your own callback, to create a custom status log.
178 …`drivers/media/pci/cobalt/cobalt-v4l2.c <https://elixir.bootlin.com/linux/v6.11.6/source/drivers/m…