Home
last modified time | relevance | path

Searched full:bitstream (Results 1 – 25 of 140) sorted by relevance

123456

/kernel/linux/linux-5.10/lib/zstd/
Dentropy_common.c67 U32 bitStream; in FSE_readNCount() local
74 bitStream = ZSTD_readLE32(ip); in FSE_readNCount()
75 nbBits = (bitStream & 0xF) + FSE_MIN_TABLELOG; /* extract tableLog */ in FSE_readNCount()
78 bitStream >>= 4; in FSE_readNCount()
88 while ((bitStream & 0xFFFF) == 0xFFFF) { in FSE_readNCount()
92 bitStream = ZSTD_readLE32(ip) >> bitCount; in FSE_readNCount()
94 bitStream >>= 16; in FSE_readNCount()
98 while ((bitStream & 3) == 3) { in FSE_readNCount()
100 bitStream >>= 2; in FSE_readNCount()
103 n0 += bitStream & 3; in FSE_readNCount()
[all …]
Dfse_compress.c48 #include "bitstream.h"
213 U32 bitStream; in FSE_writeNCount_generic() local
218 bitStream = 0; in FSE_writeNCount_generic()
221 bitStream += (tableLog - FSE_MIN_TABLELOG) << bitCount; in FSE_writeNCount_generic()
236 bitStream += 0xFFFFU << bitCount; in FSE_writeNCount_generic()
239 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
240 out[1] = (BYTE)(bitStream >> 8); in FSE_writeNCount_generic()
242 bitStream >>= 16; in FSE_writeNCount_generic()
246 bitStream += 3 << bitCount; in FSE_writeNCount_generic()
249 bitStream += (charnum - start) << bitCount; in FSE_writeNCount_generic()
[all …]
Dbitstream.h2 * bitstream
64 * bitStream encoding API (write forward)
66 /* bitStream can mix input from multiple sources.
84 * bitStream will never write outside of this buffer.
93 * Avoid storing elements of more than 24 bits if you want compatibility with 32-bits bitstream rea…
95 * Last operation is to close the bitStream.
101 * bitStream decoding API (read backward)
124 * A chunk of the bitStream is then stored into a local register.
156 * bitStream encoding
231 * bitStream decoding
[all …]
Dfse.h228 #include "bitstream.h"
317 BIT_CStream_t bitStream; // bitStream tracking structure
321 The first thing to do is to init bitStream and state.
322 size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize);
329 FSE_encodeByte(&bitStream, &state, symbol);
333 BIT_addBits(&bitStream, bitField, nbBits);
338 BIT_flushBits(&bitStream);
341 FSE_flushState(&bitStream, &state);
343 Finally, you must close the bitStream.
347 size_t size = BIT_closeCStream(&bitStream);
[all …]
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_vli.h69 * __little endian__ bitstream, least significant bit first (left most)
190 /* for the bitstream, we need a cursor */
214 /* the bitstream itself knows its length */
215 struct bitstream { struct
226 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init() argument
234 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind()
240 /* Put (at most 64) least significant bits of val into bitstream, and advance cursor.
245 * If there is not enough room left in bitstream,
246 * leaves bitstream unchanged and returns -ENOBUFS.
248 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-genwqe4 Description: Unique bitstream identification e.g.
21 Description: Currently active bitstream. 1 is default, 0 is backup.
26 Description: Interface to set the next bitstream to be used.
31 Description: Interface to trigger a PCIe card reset to reload the bitstream.
38 If successfully, the card will come back with the bitstream set
Ddebugfs-driver-genwqe58 Description: Comprehensive summary of bitstream version and software
59 version. Used bitstream and bitstream clocking information.
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-bit.c156 (rd_ptr - ctx->bitstream.paddr); in coda_kfifo_sync_from_device()
167 rd_ptr = ctx->bitstream.paddr + (kfifo->out & kfifo->mask); in coda_kfifo_sync_to_device_full()
169 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full()
179 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write()
211 v4l2_err(&ctx->dev->v4l2_dev, "failed to flush bitstream\n"); in coda_bitstream_flush()
215 kfifo_init(&ctx->bitstream_fifo, ctx->bitstream.vaddr, in coda_bitstream_flush()
216 ctx->bitstream.size); in coda_bitstream_flush()
259 ctx->bitstream.size) in coda_bitstream_try_queue()
286 "bitstream buffer overflow\n"); in coda_bitstream_try_queue()
305 v4l2_err(&ctx->dev->v4l2_dev, "bitstream buffer overflow\n"); in coda_bitstream_try_queue()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/venc/
Dvenc_vp8_if.c233 * Compose ac_tag, bitstream header and bitstream payload into
234 * one bitstream buffer.
272 mtk_vcodec_err(inst, "bitstream buf size is too small(%zu)", in vp8_enc_compose_one_frame()
278 * (1) The vp8 bitstream header and body are generated by the HW vp8 in vp8_enc_compose_one_frame()
279 * encoder separately at the same time. We cannot know the bitstream in vp8_enc_compose_one_frame()
282 * ac tag, bitstream header and bitstream body. in vp8_enc_compose_one_frame()
/kernel/linux/linux-5.10/drivers/misc/genwqe/
Dcard_sysfs.c15 * the version of the bitstream as well as some for the driver. For
133 * curr_bitstream_show() - Show the current bitstream id
136 * bitstream, which causes the IO_SLU_BITSTREAM register to report
144 * The proposed circumvention is to use a special recovery bitstream
160 * next_bitstream_show() - Show the next activated bitstream
/kernel/linux/linux-5.10/drivers/staging/gs_fpgaboot/
Dgs_fpgaboot.h8 f_bit, /* only bitstream is supported */
32 * the following can be read from bitstream,
Dgs_fpgaboot.c89 * read first 13 bytes to check bitstream magic number
102 pr_info("bitstream file magic number Ok\n"); in readmagic_bitstream()
110 * NOTE: supports only bitstream format
170 pr_info("image is bitstream format\n"); in gs_read_image()
DREADME28 - load Xilinx FPGA bitstream format[1] firmware image file using
69 2. bitstream file info:
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dvenc_drv_base.h29 * @bs_buf: [in] bitstream buffer to store output bitstream
Dvdec_drv_if.h78 * @bs : [in] input bitstream
83 * Note: To flush the decoder when reaching EOF, set input bitstream as NULL.
/kernel/linux/linux-5.10/Documentation/staging/
Dlzo.rst88 common case for zram. This modifies the bitstream in a backwards compatible way
105 17 : bitstream version. If the first byte is 17, and compressed
107 versioned bitstream), the next byte gives the bitstream version
109 Otherwise, the bitstream version is 0.
/kernel/linux/linux-5.10/drivers/char/xilinx_hwicap/
Dbuffer_icap.c262 * buffer_icap_set_configuration - Load a partial bitstream from system memory.
264 * @data: Kernel address of the partial bitstream.
265 * @size: the size of the partial bitstream in 32 bit words.
321 * @data: Address of the data representing the partial bitstream
322 * @size: the size of the partial bitstream in 32 bit words.
Dbuffer_icap.h43 /* Loads a partial bitstream from system memory. */
47 /* Loads a partial bitstream from system memory. */
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dbaycom_epp.c176 unsigned int bitbuf, bitstream, numbits, state; member
363 unsigned bitstream, notbitstream, bitbuf, numbit, crc; in encode_hdlc() local
380 bitstream = bitbuf = numbit = 0; in encode_hdlc()
382 bitstream >>= 8; in encode_hdlc()
383 bitstream |= ((unsigned int)*bp) << 8; in encode_hdlc()
385 notbitstream = ~bitstream; in encode_hdlc()
392 bitstream &= ~(0x100 << j); in encode_hdlc()
396 notbitstream = ~bitstream; in encode_hdlc()
555 unsigned int bitbuf, notbitstream, bitstream, numbits, state; in receive() local
563 bitstream = bc->hdlcrx.bitstream; in receive()
[all …]
Dhdlcdrv.c171 s->hdlcrx.bitstream >>= 16; in hdlcdrv_receiver()
172 s->hdlcrx.bitstream |= word << 16; in hdlcdrv_receiver()
181 if ((s->hdlcrx.bitstream & mask1) == mask1) in hdlcdrv_receiver()
183 else if ((s->hdlcrx.bitstream & mask2) == mask3) { in hdlcdrv_receiver()
196 } else if ((s->hdlcrx.bitstream & mask4) == mask5) { in hdlcdrv_receiver()
315 s->hdlctx.bitstream = 0; in hdlcdrv_transmitter()
327 s->hdlctx.bitstream >>= 8; in hdlcdrv_transmitter()
328 s->hdlctx.bitstream |= (*s->hdlctx.bp++) << 16; in hdlcdrv_transmitter()
335 if ((s->hdlctx.bitstream & mask1) != mask1) in hdlcdrv_transmitter()
337 s->hdlctx.bitstream &= ~mask2; in hdlcdrv_transmitter()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-codec.rst459 itself, guaranteeing a fixed and reproducible audio bitstream. 0 =
638 for testing, to produce a fixed video bitstream. 0 = unmuted, 1 =
1310 information in the encoded bitstream. The frame packing SEI message
1357 Enables flexible macroblock ordering in the encoded bitstream. It is
1438 Enables arbitrary slice ordering in encoded bitstream. Applicable to
1509 bitstream) for the associated H264 slice data. This includes the
1511 pipeline for H264. The bitstream parameters are defined according
1651 bitstream) for the associated H264 slice data. This includes the
1653 pipeline for H264. The bitstream parameters are defined according
1745 Specifies the scaling matrix (as extracted from the bitstream) for
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
Dxilinx.txt15 to be recompiled every time the FPGA bitstream is resynthesized.
18 generate a new device tree each time the FPGA bitstream changes. The
108 bitstream stored on a CF card. It can also be used as a generic CF
/kernel/linux/linux-5.10/include/linux/fpga/
Dfpga-mgr.h65 * %FPGA_MGR_ENCRYPTED_BITSTREAM: indicates bitstream is encrypted
67 * %FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first
69 * %FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed
/kernel/linux/linux-5.10/drivers/fpga/
Ddfl-fme-mgr.c60 /* Incompatible PR bitstream detected. */
180 dev_dbg(dev, "pushing data from bitstream to HW\n"); in fme_mgr_write()
204 dev_err(dev, "Invalid PR bitstream size\n"); in fme_mgr_write()
232 dev_dbg(dev, "green bitstream push complete\n"); in fme_mgr_write_complete()
/kernel/linux/linux-5.10/Documentation/fpga/
Ddfl.rst89 - Program bitstream (DFL_FPGA_FME_PORT_PR)
98 Read bitstream ID (bitstream_id)
101 Read bitstream metadata (bitstream_metadata)
171 afu_id indicates which PR bitstream is programmed to this AFU.
226 reconfiguration of the PR bitstream to the given port.
243 reconfiguration of a PR bitstream file. The PR bitstream file must have been
247 comparing the compatibility ID noted in the header of PR bitstream file against

123456