Lines Matching +full:video +full:- +full:encoder
1 /* SPDX-License-Identifier: GPL-2.0 */
7 * This file contains a generic encoder type that can provide data for a stream
99 * struct vidtv_encoder - A generic encoder type.
102 * @encoder_buf: The encoder internal buffer for the access units.
103 * @encoder_buf_sz: The encoder buffer size, in bytes
104 * @encoder_buf_offset: Our byte position in the encoder buffer.
106 * @access_units: encoder payload units, used for clock references
107 * @src_buf: The source of raw data to be encoded, encoder might set a
111 * @is_video_encoder: Whether this a video encoder (as opposed to audio)
112 * @ctx: Encoder-specific state.
113 * @stream_id: Examples: Audio streams (0xc0-0xdf), Video streams
114 * (0xe0-0xef).
115 * @es_pid: The TS PID to use for the elementary stream in this encoder.
117 * @clear: Clear the encoder output.
118 * @sync: Attempt to synchronize with this encoder.
119 * @sampling_rate_hz: The sampling rate (or fps, if video) used.
120 * @last_sample_cb: Called when the encoder runs out of data.This is
124 * @destroy: Destroy this encoder, freeing allocated resources.