/kernel/linux/linux-5.10/drivers/media/platform/coda/ |
H A D | coda-jpeg.c | 822 static inline int coda_jpeg_put_byte(u8 byte, struct coda_jpeg_stream *stream) in coda_jpeg_put_byte() argument 824 if (stream->curr >= stream->end) in coda_jpeg_put_byte() 827 *stream->curr++ = byte; in coda_jpeg_put_byte() 832 static inline int coda_jpeg_put_word(u16 word, struct coda_jpeg_stream *stream) in coda_jpeg_put_word() argument 834 if (stream->curr + sizeof(__be16) > stream->end) in coda_jpeg_put_word() 837 put_unaligned_be16(word, stream->curr); in coda_jpeg_put_word() 838 stream->curr += sizeof(__be16); in coda_jpeg_put_word() 844 size_t len, struct coda_jpeg_stream *stream) in coda_jpeg_put_table() 843 coda_jpeg_put_table(u16 marker, u8 index, const u8 *table, size_t len, struct coda_jpeg_stream *stream) coda_jpeg_put_table() argument 861 coda_jpeg_define_quantization_table(struct coda_ctx *ctx, u8 index, struct coda_jpeg_stream *stream) coda_jpeg_define_quantization_table() argument 869 coda_jpeg_define_huffman_table(u8 index, const u8 *table, size_t len, struct coda_jpeg_stream *stream) coda_jpeg_define_huffman_table() argument 877 struct coda_jpeg_stream stream = { buf, buf + len }; coda9_jpeg_encode_header() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/chips-media/ |
H A D | coda-jpeg.c | 822 static inline int coda_jpeg_put_byte(u8 byte, struct coda_jpeg_stream *stream) in coda_jpeg_put_byte() argument 824 if (stream->curr >= stream->end) in coda_jpeg_put_byte() 827 *stream->curr++ = byte; in coda_jpeg_put_byte() 832 static inline int coda_jpeg_put_word(u16 word, struct coda_jpeg_stream *stream) in coda_jpeg_put_word() argument 834 if (stream->curr + sizeof(__be16) > stream->end) in coda_jpeg_put_word() 837 put_unaligned_be16(word, stream->curr); in coda_jpeg_put_word() 838 stream->curr += sizeof(__be16); in coda_jpeg_put_word() 844 size_t len, struct coda_jpeg_stream *stream) in coda_jpeg_put_table() 843 coda_jpeg_put_table(u16 marker, u8 index, const u8 *table, size_t len, struct coda_jpeg_stream *stream) coda_jpeg_put_table() argument 861 coda_jpeg_define_quantization_table(struct coda_ctx *ctx, u8 index, struct coda_jpeg_stream *stream) coda_jpeg_define_quantization_table() argument 869 coda_jpeg_define_huffman_table(u8 index, const u8 *table, size_t len, struct coda_jpeg_stream *stream) coda_jpeg_define_huffman_table() argument 877 struct coda_jpeg_stream stream = { buf, buf + len }; coda9_jpeg_encode_header() local [all...] |
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/ |
H A D | video_post_processor.cpp | 214 DP_INFO_LOG("prepare videoId: %{public}s, stream size: %{public}d, ret: %{public}d", videoId.c_str(), in PrepareStreams() 216 for (const auto& stream : streamDescs) { in PrepareStreams() 217 DP_INFO_LOG("streamId: %{public}d, stream type: %{public}d", stream.streamId, stream.type); in PrepareStreams() 218 if (stream.type == 0) { in PrepareStreams() 222 SetStreamInfo(stream, producer); in PrepareStreams() 237 void VideoPostProcessor::CreateSurface(const std::string& name, const StreamDescription& stream, in CreateSurface() argument 243 surface->SetDefaultWidthAndHeight(stream.width, stream in CreateSurface() 248 SetStreamInfo(const StreamDescription& stream, sptr<BufferProducerSequenceable>& producer) SetStreamInfo() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/rsxx/ |
H A D | cregs.c | 30 unsigned int stream; member 50 unsigned int stream) in copy_to_creg_data() 63 if (LITTLE_ENDIAN && stream) in copy_to_creg_data() 76 unsigned int stream) in copy_from_creg_data() 89 if (LITTLE_ENDIAN && stream) in copy_from_creg_data() 111 cmd->buf, cmd->stream); in creg_issue_cmd() 152 int stream, in creg_queue_cmd() 178 cmd->stream = stream; in creg_queue_cmd() 282 st = copy_from_creg_data(card, cnt8, cmd->buf, cmd->stream); in creg_cmd_done() 47 copy_to_creg_data(struct rsxx_cardinfo *card, int cnt8, void *buf, unsigned int stream) copy_to_creg_data() argument 73 copy_from_creg_data(struct rsxx_cardinfo *card, int cnt8, void *buf, unsigned int stream) copy_from_creg_data() argument 147 creg_queue_cmd(struct rsxx_cardinfo *card, unsigned int op, unsigned int addr, unsigned int cnt8, void *buf, int stream, creg_cmd_cb callback, void *cb_private) creg_queue_cmd() argument 371 __issue_creg_rw(struct rsxx_cardinfo *card, unsigned int op, unsigned int addr, unsigned int cnt8, void *buf, int stream, unsigned int *hw_stat) __issue_creg_rw() argument 438 issue_creg_rw(struct rsxx_cardinfo *card, u32 addr, unsigned int size8, void *data, int stream, int read) issue_creg_rw() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/ac97/ |
H A D | ac97_pcm.c | 153 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_slot_reg() 473 rpcm->stream = pcm->stream; in snd_ac97_pcm_assign() 484 if (pcm->spdif && pcm->stream == 0) in snd_ac97_pcm_assign() 487 tmp = avail_slots[pcm->stream][j]; in snd_ac97_pcm_assign() 492 if (rpcm->stream == rpcms[k].stream) in snd_ac97_pcm_assign() 502 rpcm->r[0].rate_table[j] = rate_table[pcm->stream][j]; in snd_ac97_pcm_assign() 508 avail_slots[pcm->stream][j] &= ~tmp; in snd_ac97_pcm_assign() 515 if (pcm->stream in snd_ac97_pcm_assign() [all...] |
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
H A D | bebob_stream.c | 18 * corresponding stream. But for a few devices, both of CMP connection needs 19 * to start transmitting stream. An example is 'M-Audio Firewire 410'. 89 /* synchronize receive stream rate to transmit stream rate */ in snd_bebob_stream_get_rate() 210 * means that the synchronization stream is not in snd_bebob_stream_get_clock_src() 211 * the Audio/MIDI compound stream. in snd_bebob_stream_get_clock_src() 413 static int start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) in start_stream() argument 418 if (stream == &bebob->rx_stream) in start_stream() 425 err = map_data_channels(bebob, stream); in start_stream() 434 return amdtp_domain_add_stream(&bebob->domain, stream, in start_stream() 438 init_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) init_stream() argument 484 destroy_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) destroy_stream() argument 517 keep_resources(struct snd_bebob *bebob, struct amdtp_stream *stream, unsigned int rate, unsigned int index) keep_resources() argument [all...] |
/kernel/linux/linux-6.6/sound/firewire/bebob/ |
H A D | bebob_stream.c | 17 * corresponding stream. But for a few devices, both of CMP connection needs 18 * to start transmitting stream. An example is 'M-Audio Firewire 410'. 88 /* synchronize receive stream rate to transmit stream rate */ in snd_bebob_stream_get_rate() 209 * means that the synchronization stream is not in snd_bebob_stream_get_clock_src() 210 * the Audio/MIDI compound stream. in snd_bebob_stream_get_clock_src() 406 static int start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) in start_stream() argument 411 if (stream == &bebob->rx_stream) in start_stream() 418 err = map_data_channels(bebob, stream); in start_stream() 427 return amdtp_domain_add_stream(&bebob->domain, stream, in start_stream() 431 init_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) init_stream() argument 467 destroy_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) destroy_stream() argument 500 keep_resources(struct snd_bebob *bebob, struct amdtp_stream *stream, unsigned int rate, unsigned int index) keep_resources() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/ac97/ |
H A D | ac97_pcm.c | 153 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_slot_reg() 473 rpcm->stream = pcm->stream; in snd_ac97_pcm_assign() 484 if (pcm->spdif && pcm->stream == 0) in snd_ac97_pcm_assign() 487 tmp = avail_slots[pcm->stream][j]; in snd_ac97_pcm_assign() 492 if (rpcm->stream == rpcms[k].stream) in snd_ac97_pcm_assign() 502 rpcm->r[0].rate_table[j] = rate_table[pcm->stream][j]; in snd_ac97_pcm_assign() 508 avail_slots[pcm->stream][j] &= ~tmp; in snd_ac97_pcm_assign() 515 if (pcm->stream in snd_ac97_pcm_assign() [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_texture_state.c | 287 etna_coalsence_emit(stream, &coalesce, VIVS_##state_name, src_value) 290 etna_coalsence_emit_fixp(stream, &coalesce, VIVS_##state_name, src_value) 293 etna_coalsence_emit_reloc(stream, &coalesce, VIVS_##state_name, src_value) 298 struct etna_cmd_stream *stream = ctx->stream; in etna_emit_ts_state() local 303 etna_coalesce_start(stream, &coalesce); in etna_emit_ts_state() 332 etna_coalesce_end(stream, &coalesce); in etna_emit_ts_state() 338 struct etna_cmd_stream *stream = ctx->stream; in etna_emit_new_texture_state() local 346 etna_coalesce_start(stream, in etna_emit_new_texture_state() 470 struct etna_cmd_stream *stream = ctx->stream; etna_emit_texture_state() local [all...] |
/third_party/skia/third_party/externals/freetype/src/pcf/ |
H A D | pcfdrivr.c | 232 /* close compressed stream if any */ in PCF_Face_Done() 233 if ( pcfface->stream == &face->comp_stream ) in PCF_Face_Done() 236 pcfface->stream = face->comp_source; in PCF_Face_Done() 242 PCF_Face_Init( FT_Stream stream, in FT_CALLBACK_DEF() 257 error = pcf_load_font( stream, face, face_index ); in FT_CALLBACK_DEF() 272 FT_TRACE2(( " ... try gzip stream\n" )); in FT_CALLBACK_DEF() 273 error2 = FT_Stream_OpenGzip( &face->comp_stream, stream ); in FT_CALLBACK_DEF() 288 FT_TRACE2(( " ... try LZW stream\n" )); in FT_CALLBACK_DEF() 289 error3 = FT_Stream_OpenLZW( &face->comp_stream, stream ); in FT_CALLBACK_DEF() 304 FT_TRACE2(( " ... try Bzip2 stream\ in FT_CALLBACK_DEF() 473 FT_Stream stream; FT_CALLBACK_DEF() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | api.pb.cc | 387 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { in _InternalSerialize() 398 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 405 target = stream->EnsureSpace(target); in _InternalSerialize() 407 InternalWriteMessage(2, this->_internal_methods(i), target, stream); in _InternalSerialize() 413 target = stream->EnsureSpace(target); in _InternalSerialize() 415 InternalWriteMessage(3, this->_internal_options(i), target, stream); in _InternalSerialize() 424 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 430 target = stream->EnsureSpace(target); in _InternalSerialize() 433 5, _Internal::source_context(this), target, stream); in _InternalSerialize() 439 target = stream in _InternalSerialize() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsTextureBufferCase.cpp | 296 std::ostringstream stream; in generateVertexShaderTemplate() local 298 stream << in generateVertexShaderTemplate() 302 stream << "${TEXTURE_BUFFER_EXT}"; in generateVertexShaderTemplate() 304 stream << in generateVertexShaderTemplate() 310 stream << in generateVertexShaderTemplate() 314 stream << in generateVertexShaderTemplate() 320 stream << "\tv_color = texelFetch(u_vtxSampler, clamp((int(round(i_coord.x * 4.0)) + 4) * (int(round(i_coord.y * 4.0)) + 4), 0, textureSize(u_vtxSampler)-1));\n"; in generateVertexShaderTemplate() 322 stream << "\tv_color = vec4(1.0);\n"; in generateVertexShaderTemplate() 324 stream << in generateVertexShaderTemplate() 328 return stream in generateVertexShaderTemplate() 333 std::ostringstream stream; generateFragmentShaderTemplate() local 730 std::ostringstream stream; logRendering() local [all...] |
/foundation/multimedia/drm_framework/services/utils/include/ |
H A D | drm_api_operation.h | 58 static void ParseReportConfig(std::istringstream &stream, ApiReportConfig &reportConfig); 59 static void ParseEvent(std::istringstream &stream, ApiEvent &event); 60 static void ParseEventConfig(std::istringstream &stream, ApiEventConfig &eventConfig); 61 static void ParseApiOperationManagement(std::istringstream &stream, ApiReportConfig &reportConfig,
|
/kernel/linux/linux-5.10/fs/hostfs/ |
H A D | hostfs.h | 74 extern void seek_dir(void *stream, unsigned long long pos); 75 extern char *read_dir(void *stream, unsigned long long *pos_out, 78 extern void close_file(void *stream); 80 extern void close_dir(void *stream);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
H A D | dm_helpers.h | 79 const struct dc_stream_state *stream, 102 const struct dc_stream_state *stream); 108 const struct dc_stream_state *stream, 146 const struct dc_stream_state *stream,
|
/kernel/linux/linux-5.10/drivers/media/usb/uvc/ |
H A D | uvc_isight.c | 56 /* Synchronize to the input stream by waiting for a header packet. */ in isight_decode() 101 struct uvc_streaming *stream = uvc_urb->stream; in uvc_video_decode_isight() local 120 ret = isight_decode(&stream->queue, buf, in uvc_video_decode_isight() 130 buf = uvc_queue_next_buffer(&stream->queue, in uvc_video_decode_isight()
|
/kernel/linux/linux-6.6/fs/hostfs/ |
H A D | hostfs.h | 75 extern void seek_dir(void *stream, unsigned long long pos); 76 extern char *read_dir(void *stream, unsigned long long *pos_out, 79 extern void close_file(void *stream); 81 extern void close_dir(void *stream);
|
/third_party/libuv/test/ |
H A D | test-tcp-write-fail.c | 73 uv_stream_t* stream; in connect_cb() local 79 stream = req->handle; in connect_cb() 83 close_socket((uv_tcp_t*)stream); in connect_cb() 86 r = uv_write(&write_req, stream, &buf, 1, write_cb); in connect_cb()
|
/third_party/ltp/lib/ |
H A D | safe_stdio.c | 81 FILE *stream; in safe_popen() local 85 stream = popen(command, type); in safe_popen() 87 if (stream == NULL) { in safe_popen() 100 return stream; in safe_popen()
|
/third_party/node/test/parallel/ |
H A D | test-http2-create-client-session.js | 17 server.on('stream', common.mustCall(onStream, count)); 19 function onStream(stream, headers, flags) { 24 stream.respond({ 28 stream.write(body.slice(0, 20)); 29 stream.end(body.slice(20));
|
H A D | test-http2-options-max-headers-exceeds-nghttp2.js | 12 server.on('stream', common.mustNotCall()); 65 'stream', 66 common.mustCall((stream) => { 67 stream.additionalHeaders({ 71 stream.respond(); 72 stream.end();
|
H A D | test-http2-server-push-stream-errors.js | 18 // - NGHTTP2_ERR_STREAM_CLOSED (should emit stream error) 19 // - every other NGHTTP2 error from binding (should emit stream error) 32 message: 'No stream ID is available because ' + 33 'maximum stream ID has been reached' 35 type: 'stream' 43 type: 'stream' 59 type: 'stream' 71 server.on('stream', common.mustCall((stream, headers) => { 72 stream [all...] |
H A D | test-http2-window-size.js | 15 // each buffer to the HTTP2 Writable stream, and let the client verify that 22 server.on('stream', (stream) => { 30 stream.end(); 33 const drained = stream.write(buffers[i]); 37 stream.once('drain', cont);
|
/third_party/skia/tests/ |
H A D | CodecExactReadTest.cpp | 24 // This class wraps another SkStream. It does not own the underlying stream, so 25 // that the underlying stream can be reused starting from where the first 29 explicit UnowningStream(SkStream* stream) in UnowningStream() argument 30 : fStream(stream) in UnowningStream() 73 SkMemoryStream stream(std::move(multiData)); in DEF_TEST() 76 std::make_unique<UnowningStream>(&stream))); in DEF_TEST()
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
H A D | pfrload.h | 82 FT_Stream stream ); 91 pfr_log_font_count( FT_Stream stream, 98 FT_Stream stream, 107 FT_Stream stream,
|