Home
last modified time | relevance | path

Searched refs:dsh (Results 1 – 19 of 19) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddirac.c143 static int parse_source_parameters(AVDiracSeqHeader *dsh, GetBitContext *gb, in parse_source_parameters() argument
155 dsh->width = get_interleaved_ue_golomb(gb); /* [DIRAC_STD] FRAME_WIDTH */ in parse_source_parameters()
156 dsh->height = get_interleaved_ue_golomb(gb); /* [DIRAC_STD] FRAME_HEIGHT */ in parse_source_parameters()
164 dsh->chroma_format = get_interleaved_ue_golomb(gb); in parse_source_parameters()
165 if (dsh->chroma_format > 2U) { in parse_source_parameters()
168 dsh->chroma_format); in parse_source_parameters()
176 dsh->interlaced = get_interleaved_ue_golomb(gb); in parse_source_parameters()
177 if (dsh->interlaced > 1U) in parse_source_parameters()
182 dsh->frame_rate_index = get_interleaved_ue_golomb(gb); in parse_source_parameters()
184 if (dsh->frame_rate_index > 10U) in parse_source_parameters()
[all …]
Ddiracdec.c2124 AVDiracSeqHeader *dsh; in dirac_decode_data_unit() local
2141 …ret = av_dirac_parse_sequence_header(&dsh, buf + DATA_UNIT_HEADER_SIZE, size - DATA_UNIT_HEADER_SI… in dirac_decode_data_unit()
2147 …if (CALC_PADDING((int64_t)dsh->width, MAX_DWT_LEVELS) * CALC_PADDING((int64_t)dsh->height, MAX_DWT… in dirac_decode_data_unit()
2150 ret = ff_set_dimensions(avctx, dsh->width, dsh->height); in dirac_decode_data_unit()
2152 av_freep(&dsh); in dirac_decode_data_unit()
2156 ff_set_sar(avctx, dsh->sample_aspect_ratio); in dirac_decode_data_unit()
2157 avctx->pix_fmt = dsh->pix_fmt; in dirac_decode_data_unit()
2158 avctx->color_range = dsh->color_range; in dirac_decode_data_unit()
2159 avctx->color_trc = dsh->color_trc; in dirac_decode_data_unit()
2160 avctx->color_primaries = dsh->color_primaries; in dirac_decode_data_unit()
[all …]
Ddirac.h127 int av_dirac_parse_sequence_header(AVDiracSeqHeader **dsh,
/third_party/libwebsockets/lib/core-net/
Dlws-dsh.c31 lws_dsh_t *dsh; member
38 _lws_dsh_alloc_tail(lws_dsh_t *dsh, int kind, const void *src1, size_t size1,
57 lws_dsh_t *dsh; in lws_dsh_create() local
65 dsh = lws_malloc(sizeof(lws_dsh_t) + buf_len + oha_len, __func__); in lws_dsh_create()
66 if (!dsh) in lws_dsh_create()
71 dsh->oha = (lws_dsh_obj_head_t *)&dsh[1]; in lws_dsh_create()
72 dsh->buf = ((uint8_t *)dsh->oha) + oha_len; in lws_dsh_create()
73 dsh->count_kinds = count_kinds; in lws_dsh_create()
74 dsh->buffer_size = buf_len; in lws_dsh_create()
75 dsh->being_destroyed = 0; in lws_dsh_create()
[all …]
DCMakeLists.txt56 core-net/lws-dsh.c)
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_dsh/
Dmain.c15 struct lws_dsh *dsh; in test1() local
24 dsh = lws_dsh_create(NULL, 16384, 2); in test1()
25 if (!dsh) { in test1()
31 if (lws_dsh_alloc_tail(dsh, 0, "hello", 5, NULL, 0)) { in test1()
37 if (lws_dsh_alloc_tail(dsh, 1, "some other string", 17, NULL, 0)) { in test1()
43 if (lws_dsh_alloc_tail(dsh, 0, "hello again", 11, NULL, 0)) { in test1()
49 if (lws_dsh_get_head(dsh, 1, &a1, &size)) { in test1()
61 if (lws_dsh_get_head(dsh, 0, &a1, &size)) { in test1()
73 if (lws_dsh_get_head(dsh, 0, &a1, &size)) { in test1()
85 lws_dsh_destroy(&dsh); in test1()
[all …]
/third_party/ffmpeg/libavformat/
Doggparsedirac.c33 AVDiracSeqHeader *dsh; in dirac_header() local
40 ret = av_dirac_parse_sequence_header(&dsh, os->buf + os->pstart + 13, (os->psize - 13), s); in dirac_header()
46 st->codecpar->width = dsh->width; in dirac_header()
47 st->codecpar->height = dsh->height; in dirac_header()
48 st->codecpar->format = dsh->pix_fmt; in dirac_header()
49 st->codecpar->color_range = dsh->color_range; in dirac_header()
50 st->codecpar->color_trc = dsh->color_trc; in dirac_header()
51 st->codecpar->color_primaries = dsh->color_primaries; in dirac_header()
52 st->codecpar->color_space = dsh->colorspace; in dirac_header()
53 st->codecpar->profile = dsh->profile; in dirac_header()
[all …]
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-process.c105 conn->dsh = lws_dsh_create(&pt->ss_dsh_owner, dsh_size, 2); in __lws_ss_proxy_bind_ss_to_conn_wsi()
106 if (!conn->dsh) in __lws_ss_proxy_bind_ss_to_conn_wsi()
142 n = lws_ss_serialize_rx_payload(m->conn->dsh, buf, len, in ss_proxy_onward_rx()
158 lws_dsh_get_size(m->conn->dsh, KIND_SS_TO_P) >= in ss_proxy_onward_rx()
162 (unsigned long)lws_dsh_get_size(m->conn->dsh, KIND_SS_TO_P), in ss_proxy_onward_rx()
204 if (lws_ss_deserialize_tx_payload(m->conn->dsh, m->ss->wsi, in ss_proxy_onward_tx()
209 if (!lws_dsh_get_head(m->conn->dsh, KIND_C_TO_P, (void **)&p, &si)) in ss_proxy_onward_tx()
277 lws_dsh_destroy(&m->conn->dsh); in ss_proxy_onward_state()
294 if (lws_ss_serialize_state(m->conn->wsi, m->conn->dsh, state, ack)) in ss_proxy_onward_state()
315 lws_ss_serialize_txcr(m->conn->dsh, bump); in ss_proxy_onward_txcr()
[all …]
Dprivate-lib-secure-streams.h323 struct lws_dsh *dsh; member
423 struct lws_dsh *dsh, const uint8_t *cp, size_t len,
427 lws_ss_serialize_rx_payload(struct lws_dsh *dsh, const uint8_t *buf,
430 lws_ss_deserialize_tx_payload(struct lws_dsh *dsh, struct lws *wsi,
434 lws_ss_serialize_state(struct lws *wsi, struct lws_dsh *dsh, lws_ss_constate_t state,
476 lws_ss_serialize_txcr(struct lws_dsh *dsh, int txcr);
601 lws_dsh_t *dsh; /* unified buffer for both sides */ member
Dsecure-streams-serialize.c147 lws_ss_serialize_rx_payload(struct lws_dsh *dsh, const uint8_t *buf, in lws_ss_serialize_rx_payload() argument
186 if (lws_dsh_alloc_tail(dsh, KIND_SS_TO_P, pre, (unsigned int)est, buf, len)) { in lws_ss_serialize_rx_payload()
201 lws_ss_deserialize_tx_payload(struct lws_dsh *dsh, struct lws *wsi, in lws_ss_deserialize_tx_payload() argument
208 if (lws_dsh_get_head(dsh, KIND_C_TO_P, (void **)&p, &si)) { in lws_ss_deserialize_tx_payload()
260 lws_ss_serialize_state(struct lws *wsi, struct lws_dsh *dsh, lws_ss_constate_t state, in lws_ss_serialize_state() argument
286 if (lws_dsh_alloc_tail(dsh, KIND_SS_TO_P, pre, (unsigned int)n + 4, NULL, 0) || in lws_ss_serialize_state()
302 lws_ss_serialize_txcr(struct lws_dsh *dsh, int txcr) in lws_ss_serialize_txcr() argument
313 if (lws_dsh_alloc_tail(dsh, KIND_SS_TO_P, pre, 7, NULL, 0)) { in lws_ss_serialize_txcr()
361 struct lws_dsh *dsh, const uint8_t *cp, size_t len, in lws_ss_deserialize_parse() argument
741 lws_dsh_alloc_tail(dsh, KIND_C_TO_P, pre, in lws_ss_deserialize_parse()
[all …]
Dsecure-streams-client.c280 lws_dsh_destroy(&h->dsh); in callback_sspc_client()
332 h->dsh, in, len, in callback_sspc_client()
765 if (h->dsh) in lws_sspc_destroy()
766 lws_dsh_destroy(&h->dsh); in lws_sspc_destroy()
DREADME.md425 the dsh is drained below `proxy_buflen_rxflow_off_below`, the rx flow
/third_party/libwebsockets/include/libwebsockets/
Dlws-dsh.h104 lws_dsh_alloc_tail(struct lws_dsh *dsh, int kind, const void *src1,
119 lws_dsh_get_size(struct lws_dsh *dsh, int kind);
137 lws_dsh_get_head(struct lws_dsh *dsh, int kind, void **obj, size_t *size);
148 lws_dsh_describe(struct lws_dsh *dsh, const char *desc);
/third_party/libwebsockets/lib/core/
Dprivate-lib-core.h154 struct lws_dsh *dsh; /* invalid when on free list */ member
/third_party/libwebsockets/
Dlibwebsockets.dox118 include/libwebsockets/lws-dsh.h \
/third_party/libwebsockets/READMEs/
DREADME.fault-injection.md307 |ssproxy|`wsi`|`sspc_dsh_ss2p_oom`|Cause ss->proxy dsh allocation to fail|
/third_party/icu/icu4c/source/data/misc/
DsupplementalData.txt5345 "dsh~i",
/third_party/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt5345 "dsh~i",
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt5148 "dsh~i",