📦 linux-manual
82568 pages · page 384 of 413
V (continued)
- v4l2_device_unregister_subdev(9)Unregisters a subdev with a v4l2 device.✨
- v4l2_disable_ioctl(9)mark that a given command isn't implemented. shouldn't use core locking✨
- v4l2_dv_timings_aspect_ratio(9)calculate the aspect ratio based on the v4l2_dv_timings information.✨
- v4l2_enum_dv_timings_cap(9)Helper function to enumerate possible DV timings based on capabilities✨
- v4l2_event_dequeue(9)Dequeue events from video device.✨
- v4l2_event_pending(9)Check if an event is available✨
- v4l2_event_queue(9)Queue events to video device.✨
- v4l2_event_queue_fh(9)Queue events to video device.✨
- v4l2_event_subdev_unsubscribe(9)Subdev variant of v4l2_event_unsubscribe()✨
- v4l2_event_subscribe(9)Subscribes to an event✨
- v4l2_event_unsubscribe(9)Unsubscribes to an event✨
- v4l2_event_unsubscribe_all(9)Unsubscribes to all events✨
- v4l2_event_wake_all(9)Wake all filehandles.✨
- v4l2_fh_add(9)Add the fh to the list of file handles on a video_device.✨
- v4l2_fh_del(9)Remove file handle from the list of file handles.✨
- v4l2_fh_exit(9)Release resources related to a file handle.✨
- v4l2_fh_init(9)Initialise the file handle.✨
- v4l2_fh_is_singular(9)Returns 1 if this filehandle is the only filehandle opened for the associated video_device.✨
- v4l2_fh_is_singular_file(9)Returns 1 if this filehandle is the only filehandle opened for the associated video_device.✨
- v4l2_fh_open(9)Ancillary routine that can be used as the open op of v4l2_file_operations.✨
- v4l2_fh_release(9)Ancillary routine that can be used as the release op of v4l2_file_operations.✨
- v4l2_fill_mbus_format(9)Ancillary routine that fills a &struct v4l2_mbus_framefmt from a &struct v4l2_pix_format and a data format code.✨
- v4l2_fill_mbus_format_mplane(9)Ancillary routine that fills a &struct v4l2_mbus_framefmt from a &struct v4l2_pix_format_mplane.✨
- v4l2_fill_pix_format(9)Ancillary routine that fills a &struct v4l2_pix_format fields from a &struct v4l2_mbus_framefmt.✨
- v4l2_fill_pix_format_mplane(9)Ancillary routine that fills a &struct v4l2_pix_format_mplane fields from a media bus structure.✨
- v4l2_find_dv_timings_cap(9)Find the closest timings struct✨
- v4l2_find_dv_timings_cea861_vic(9)find timings based on CEA-861 VIC✨
- v4l2_find_nearest_size(9)Find the nearest size among a discrete set of resolutions contained in an array of a driver specific struct✨
- v4l2_find_nearest_size_conditional(9)Find the nearest size among a discrete set of resolutions contained in an array of a driver specific struct, with conditionally exlusion of certain modes✨
- v4l2_flash_indicator_init(9)initialize V4L2 indicator sub-device✨
- v4l2_flash_init(9)initialize V4L2 flash led sub-device✨
- v4l2_flash_release(9)release V4L2 Flash sub-device✨
- v4l2_fwnode_connector_add_link(9)add a link between a connector node and a v4l2-subdev node.✨
- v4l2_fwnode_connector_free(9)free the V4L2 connector acquired memory✨
- v4l2_fwnode_connector_parse(9)initialize the 'struct v4l2_fwnode_connector'✨
- v4l2_fwnode_device_parse(9)parse fwnode device properties✨
- v4l2_fwnode_endpoint_alloc_parse(9)parse all fwnode node properties✨
- v4l2_fwnode_endpoint_free(9)free the V4L2 fwnode acquired by v4l2_fwnode_endpoint_alloc_parse()✨
- v4l2_fwnode_endpoint_parse(9)parse all fwnode node properties✨
- v4l2_fwnode_parse_link(9)parse a link between two endpoints✨
- V4L2_FWNODE_PROPERTY_UNSET(9)identify a non initialized property✨
- v4l2_fwnode_put_link(9)drop references to nodes in a link✨
- v4l2_g_ctrl(9)Helper function to implement :ref:`VIDIOC_G_CTRL <vidioc_g_ctrl>` ioctl✨
- v4l2_g_ext_ctrls(9)Helper function to implement :ref:`VIDIOC_G_EXT_CTRLS <vidioc_g_ext_ctrls>` ioctl✨
- v4l2_g_parm_cap(9)helper routine for vidioc_g_parm to fill this in by calling the get_frame_interval op of the given subdev. It only works for V4L2_BUF_TYPE_VIDEO_CAPTURE(_MPLANE), hence the _cap in the function name.✨
- v4l2_get_active_data_lanes(9)Get number of active data lanes from driver✨
- v4l2_get_edid_phys_addr(9)find and return the physical address✨
- v4l2_get_link_freq(9)Get link rate from transmitter✨
- v4l2_get_subdev_hostdata(9)Gets V4L2 dev private data✨
- v4l2_get_subdevdata(9)Gets V4L2 dev private device data✨
- v4l2_h264_build_b_ref_lists(9)Build the B0/B1 reference lists✨
- v4l2_h264_build_p_ref_list(9)Build the P reference list✨
- v4l2_h264_init_reflist_builder(9)Initialize a P/B0/B1 reference list builder✨
- v4l2_hevc_pps_num_tile_columns(9)number of HEVC tile columns, bounded✨
- v4l2_hevc_pps_num_tile_rows(9)number of HEVC tile rows, bounded✨
- v4l2_i2c_new_subdev(9)Load an i2c module and return an initialized &struct v4l2_subdev.✨
- v4l2_i2c_new_subdev_board(9)Load an i2c module and return an initialized &struct v4l2_subdev.✨
- v4l2_i2c_subdev_addr(9)returns i2c client address of &struct v4l2_subdev.✨
- v4l2_i2c_subdev_init(9)Initializes a &struct v4l2_subdev with data from an i2c_client struct.✨
- v4l2_i2c_subdev_set_name(9)Set name for an I²C sub-device✨
- v4l2_i2c_subdev_unregister(9)Unregister a v4l2_subdev✨
- v4l2_i2c_tuner_addrs(9)Return a list of I2C tuner addresses to probe.✨
- v4l2_isp_buffer_size(9)Calculate size of v4l2_isp_buffer✨
- v4l2_isp_params_block_header(9)V4L2 extensible parameters block header✨
- v4l2_isp_params_buffer(9)V4L2 extensible parameters compatibility✨
- v4l2_isp_params_validate_buffer(9)Validate a V4L2 ISP parameters buffer✨
- v4l2_isp_params_validate_buffer_size(9)Validate a V4L2 ISP buffer sizes✨
- v4l2_isp_stats_init_block(9)Create and initialize a new block in a statistics buffer✨
- v4l2_isp_stats_init_buffer(9)Initialize a statistics buffer✨
- v4l2_jpeg_parse_header(9)locate marker segments and optionally parse headers✨
- v4l2_kioctl(9)Typedef used to pass an ioctl handler.✨
- v4l2_link_freq_to_bitmap(9)Figure out platform-supported link frequencies✨
- v4l2_m2m_buf_copy_metadata(9)copy buffer metadata from the output buffer to the capture buffer✨
- v4l2_m2m_buf_done_and_job_finish(9)return source/destination buffers with state and inform the framework that a job has been finished and have it clean up✨
- v4l2_m2m_buf_queue(9)add a buffer to the proper ready buffers list.✨
- v4l2_m2m_buf_remove(9)take off a buffer from the list of ready buffers and return it✨
- v4l2_m2m_buf_remove_by_buf(9)take off exact buffer from the list of ready buffers✨
- v4l2_m2m_cancel_job(9)cancel pending jobs for the context✨
- v4l2_m2m_clear_state(9)clear encoding/decoding state✨
- v4l2_m2m_create_bufs(9)create a source or destination buffer, depending on the type✨
- v4l2_m2m_ctx_init(9)allocate and initialize a m2m context✨
- v4l2_m2m_ctx_release(9)release m2m context✨
- v4l2_m2m_decoder_cmd(9)execute a decoder command✨
- v4l2_m2m_device_run_work(9)run pending jobs for the context✨
- v4l2_m2m_dqbuf(9)dequeue a source or destination buffer, depending on the type✨
- v4l2_m2m_dst_buf_is_last(9)return the current encoding/decoding session draining management state of next queued capture buffer✨
- v4l2_m2m_dst_buf_remove(9)take off a destination buffer from the list of ready buffers and return it✨
- v4l2_m2m_dst_buf_remove_by_buf(9)take off exact destination buffer from the list of ready buffers✨
- v4l2_m2m_encoder_cmd(9)execute an encoder command✨
- v4l2_m2m_expbuf(9)export a source or destination buffer, depending on the type✨
- v4l2_m2m_for_each_dst_buf(9)iterate over a list of destination ready buffers✨
- v4l2_m2m_for_each_dst_buf_safe(9)iterate over a list of destination ready buffers safely✨
- v4l2_m2m_for_each_src_buf(9)iterate over a list of source ready buffers✨
- v4l2_m2m_for_each_src_buf_safe(9)iterate over a list of source ready buffers safely✨
- v4l2_m2m_get(9)take a reference to the m2m_dev structure✨
- v4l2_m2m_get_curr_priv(9)return driver private data for the currently running instance or NULL if no instance is running✨
- v4l2_m2m_get_dst_vq(9)return vb2_queue for destination buffers✨
- v4l2_m2m_get_src_vq(9)return vb2_queue for source buffers✨
- v4l2_m2m_get_vq(9)return vb2_queue for the given type✨
- v4l2_m2m_has_stopped(9)return the current encoding/decoding session stopped state✨
- v4l2_m2m_init(9)initialize per-driver m2m data✨
- v4l2_m2m_is_last_draining_src_buf(9)return the output buffer draining state in the current encoding/decoding session✨
- v4l2_m2m_job_finish(9)inform the framework that a job has been finished and have it clean up✨
- v4l2_m2m_last_buf(9)return last buffer from the list of ready buffers✨
- v4l2_m2m_last_buffer_done(9)marks the buffer with LAST flag and DONE✨
- v4l2_m2m_last_dst_buf(9)return last destination buffer from the list of ready buffers✨
- v4l2_m2m_last_src_buf(9)return last source buffer from the list of ready buffers✨
- v4l2_m2m_mark_stopped(9)set current encoding/decoding state as stopped✨
- v4l2_m2m_mmap(9)source and destination queues-aware mmap multiplexer✨
- v4l2_m2m_next_buf(9)return next buffer from the list of ready buffers✨
- v4l2_m2m_next_dst_buf(9)return next destination buffer from the list of ready buffers✨
- v4l2_m2m_next_src_buf(9)return next source buffer from the list of ready buffers✨
- v4l2_m2m_num_dst_bufs_ready(9)return the number of destination buffers ready for use✨
- v4l2_m2m_num_src_bufs_ready(9)return the number of source buffers ready for use✨
- v4l2_m2m_poll(9)poll replacement, for destination buffers only✨
- v4l2_m2m_prepare_buf(9)prepare a source or destination buffer, depending on the type✨
- v4l2_m2m_put(9)remove a reference to the m2m_dev structure✨
- v4l2_m2m_qbuf(9)enqueue a source or destination buffer, depending on the type✨
- v4l2_m2m_querybuf(9)multi-queue-aware QUERYBUF multiplexer✨
- v4l2_m2m_release(9)cleans up and frees a m2m_dev structure✨
- v4l2_m2m_reqbufs(9)multi-queue-aware REQBUFS multiplexer✨
- v4l2_m2m_resume(9)resume job running and try to run a queued job✨
- v4l2_m2m_src_buf_remove(9)take off a source buffer from the list of ready buffers and return it✨
- v4l2_m2m_src_buf_remove_by_buf(9)take off exact source buffer from the list of ready buffers✨
- v4l2_m2m_streamoff(9)turn off streaming for a video queue✨
- v4l2_m2m_streamon(9)turn on streaming for a video queue✨
- v4l2_m2m_suspend(9)stop new jobs from being run and wait for current job to finish✨
- v4l2_m2m_try_run(9)select next job to perform and run it if possible✨
- v4l2_m2m_try_schedule(9)check whether an instance is ready to be added to the pending job queue and add it if so.✨
- v4l2_m2m_update_start_streaming_state(9)update the encoding/decoding session state when a start of streaming of a video queue is requested✨
- v4l2_m2m_update_stop_streaming_state(9)update the encoding/decoding session state when a stop of streaming of a video queue is requested✨
- v4l2_match_dv_timings(9)do two timings match?✨
- v4l2_mc_create_media_graph(9)create Media Controller links at the graph.✨
- v4l2_norm_to_name(9)Ancillary routine to analog TV standard name from its ID.✨
- v4l2_num_edid_blocks(9)return the number of EDID blocks✨
- v4l2_phys_addr_for_input(9)calculate the PA for an input✨
- v4l2_phys_addr_validate(9)validate a physical address from an EDID✨
- v4l2_pipeline_link_notify(9)Link management notification callback✨
- v4l2_pipeline_pm_get(9)Increase the use count of a pipeline✨
- v4l2_pipeline_pm_put(9)Decrease the use count of a pipeline✨
- v4l2_print_dv_timings(9)log the contents of a dv_timings struct✨
- v4l2_prio_change(9)changes the v4l2 file handler priority✨
- v4l2_prio_check(9)Implements the priority logic for a file handler close✨
- v4l2_prio_close(9)Implements the priority logic for a file handler close✨
- v4l2_prio_init(9)initializes a struct v4l2_prio_state✨
- v4l2_prio_max(9)Return the maximum priority, as stored at the @global array.✨
- v4l2_prio_open(9)Implements the priority logic for a file handler open✨
- v4l2_query_ext_ctrl(9)Helper function to implement :ref:`VIDIOC_QUERY_EXT_CTRL <vidioc_queryctrl>` ioctl✨
- v4l2_query_ext_ctrl_to_v4l2_queryctrl(9)Convert a qec to qe.✨
- v4l2_queryctrl(9)Helper function to implement :ref:`VIDIOC_QUERYCTRL <vidioc_queryctrl>` ioctl✨
- v4l2_querymenu(9)Helper function to implement :ref:`VIDIOC_QUERYMENU <vidioc_queryctrl>` ioctl✨
- v4l2_rect_enclosed(9)is r1 enclosed in r2?✨
- v4l2_rect_equal(9)return true if r1 equals r2✨
- v4l2_rect_intersect(9)calculate the intersection of two rects.✨
- v4l2_rect_map_inside(9)r should be inside boundary.✨
- v4l2_rect_overlap(9)do r1 and r2 overlap?✨
- v4l2_rect_same_position(9)return true if r1 has the same position as r2✨
- v4l2_rect_same_size(9)return true if r1 has the same size as r2✨
- v4l2_rect_scale(9)scale rect r by to/from✨
- v4l2_rect_set_max_size(9)width and height of r should be <= max_size✨
- v4l2_rect_set_min_size(9)width and height of r should be >= min_size.✨
- v4l2_rect_set_size_to(9)copy the width/height values.✨
- v4l2_s_ctrl(9)Helper function to implement :ref:`VIDIOC_S_CTRL <vidioc_g_ctrl>` ioctl✨
- v4l2_s_ext_ctrls(9)Helper function to implement :ref:`VIDIOC_S_EXT_CTRLS <vidioc_g_ext_ctrls>` ioctl✨
- v4l2_s_parm_cap(9)helper routine for vidioc_s_parm to fill this in by calling the set_frame_interval op of the given subdev. It only works for V4L2_BUF_TYPE_VIDEO_CAPTURE(_MPLANE), hence the _cap in the function name.✨
- v4l2_set_edid_phys_addr(9)find and set the physical address✨
- v4l2_set_subdev_hostdata(9)Sets V4L2 dev private host data✨
- v4l2_set_subdevdata(9)Sets V4L2 dev private device data✨
- v4l2_spi_new_subdev(9)Load an spi module and return an initialized &struct v4l2_subdev.✨
- v4l2_spi_subdev_init(9)Initialize a v4l2_subdev with data from an spi_device struct.✨
- v4l2_spi_subdev_unregister(9)Unregister a v4l2_subdev✨
- v4l2_src_change_event_subdev_subscribe(9)Variant of v4l2_event_subscribe(), meant to subscribe only events of the type %V4L2_EVENT_SOURCE_CHANGE.✨
- v4l2_src_change_event_subscribe(9)helper function that calls v4l2_event_subscribe() if the event is %V4L2_EVENT_SOURCE_CHANGE.✨
- v4l2_subdev_call(9)call an operation of a v4l2_subdev.✨
- v4l2_subdev_call_state_active(9)call an operation of a v4l2_subdev which takes state as a parameter, passing the subdev its active state.✨
- v4l2_subdev_call_state_try(9)call an operation of a v4l2_subdev which takes state as a parameter, passing the subdev a newly allocated try state.✨
- v4l2_subdev_cleanup(9)Releases the resources allocated by the subdevice✨
- v4l2_subdev_disable_streams(9)Disable streams on a pad✨
- v4l2_subdev_enable_streams(9)Enable streams on a pad✨
- v4l2_subdev_get_fmt(9)Fill format based on state✨
- v4l2_subdev_get_frame_desc_passthrough(9)Helper to implement the subdev get_frame_desc operation in simple passthrough cases✨
- v4l2_subdev_get_frame_interval(9)Fill frame interval based on state✨
- v4l2_subdev_get_fwnode_pad_1_to_1(9)Get pad number from a subdev fwnode endpoint, assuming 1:1 port:pad✨
- v4l2_subdev_get_locked_active_state(9)Checks that the active subdev state is locked and returns it✨
- v4l2_subdev_get_unlocked_active_state(9)Checks that the active subdev state is unlocked and returns it✨
- v4l2_subdev_has_op(9)Checks if a subdev defines a certain operation.✨
- v4l2_subdev_has_pad_interdep(9)MC has_pad_interdep implementation for subdevs✨
- v4l2_subdev_init(9)initializes the sub-device struct✨
- v4l2_subdev_init_finalize(9)Finalizes the initialization of the subdevice✨
- v4l2_subdev_is_streaming(9)Returns if the subdevice is streaming✨
- v4l2_subdev_link_validate(9)validates a media link✨
- v4l2_subdev_link_validate_default(9)validates a media link✨
- v4l2_subdev_lock_and_get_active_state(9)Locks and returns the active subdev state for the subdevice✨
- v4l2_subdev_lock_state(9)Locks the subdev state✨
- v4l2_subdev_lock_states(9)Lock two sub-device states✨
- v4l2_subdev_notify(9)Sends a notification to v4l2_device.✨
- v4l2_subdev_notify_event(9)Delivers event notification for subdevice✨
- v4l2_subdev_routing_find_opposite_end(9)Find the opposite stream✨
- v4l2_subdev_routing_validate(9)Verify that routes comply with driver constraints✨
- v4l2_subdev_s_stream_helper(9)Helper to implement the subdev s_stream operation using enable_streams and disable_streams✨
💅
getting it ready, bestie…