/third_party/skia/third_party/externals/libwebp/src/mux/ |
D | muxedit.c | 22 static void MuxInit(WebPMux* const mux) { in MuxInit() argument 23 assert(mux != NULL); in MuxInit() 24 memset(mux, 0, sizeof(*mux)); in MuxInit() 25 mux->canvas_width_ = 0; // just to be explicit in MuxInit() 26 mux->canvas_height_ = 0; in MuxInit() 33 WebPMux* const mux = (WebPMux*)WebPSafeMalloc(1ULL, sizeof(WebPMux)); in WebPNewInternal() local 34 if (mux != NULL) MuxInit(mux); in WebPNewInternal() 35 return mux; in WebPNewInternal() 46 static void MuxRelease(WebPMux* const mux) { in MuxRelease() argument 47 assert(mux != NULL); in MuxRelease() [all …]
|
D | muxread.c | 35 static WebPMuxError MuxGet(const WebPMux* const mux, CHUNK_INDEX idx, in MuxGet() argument 37 assert(mux != NULL); in MuxGet() 41 SWITCH_ID_LIST(IDX_VP8X, mux->vp8x_); in MuxGet() 42 SWITCH_ID_LIST(IDX_ICCP, mux->iccp_); in MuxGet() 43 SWITCH_ID_LIST(IDX_ANIM, mux->anim_); in MuxGet() 44 SWITCH_ID_LIST(IDX_EXIF, mux->exif_); in MuxGet() 45 SWITCH_ID_LIST(IDX_XMP, mux->xmp_); in MuxGet() 179 WebPMux* mux = NULL; in WebPMuxCreateInternal() local 204 mux = WebPMuxNew(); in WebPMuxCreateInternal() 205 if (mux == NULL) return NULL; in WebPMuxCreateInternal() [all …]
|
D | muxinternal.c | 420 WebPChunk** MuxGetChunkListFromId(const WebPMux* mux, WebPChunkId id) { in MuxGetChunkListFromId() argument 421 assert(mux != NULL); in MuxGetChunkListFromId() 423 case WEBP_CHUNK_VP8X: return (WebPChunk**)&mux->vp8x_; in MuxGetChunkListFromId() 424 case WEBP_CHUNK_ICCP: return (WebPChunk**)&mux->iccp_; in MuxGetChunkListFromId() 425 case WEBP_CHUNK_ANIM: return (WebPChunk**)&mux->anim_; in MuxGetChunkListFromId() 426 case WEBP_CHUNK_EXIF: return (WebPChunk**)&mux->exif_; in MuxGetChunkListFromId() 427 case WEBP_CHUNK_XMP: return (WebPChunk**)&mux->xmp_; in MuxGetChunkListFromId() 428 default: return (WebPChunk**)&mux->unknown_; in MuxGetChunkListFromId() 442 static WebPMuxError ValidateChunk(const WebPMux* const mux, CHUNK_INDEX idx, in ValidateChunk() argument 447 WebPMuxNumChunks(mux, kChunks[idx].id, num); in ValidateChunk() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/webp/ |
D | mux.h | 120 WEBP_EXTERN void WebPMuxDelete(WebPMux* mux); 164 WebPMux* mux, const char fourcc[4], const WebPData* chunk_data, 180 const WebPMux* mux, const char fourcc[4], WebPData* chunk_data); 193 WebPMux* mux, const char fourcc[4]); 226 WebPMux* mux, const WebPData* bitstream, int copy_data); 245 WebPMux* mux, const WebPMuxFrameInfo* frame, int copy_data); 263 const WebPMux* mux, uint32_t nth, WebPMuxFrameInfo* frame); 275 WEBP_EXTERN WebPMuxError WebPMuxDeleteFrame(WebPMux* mux, uint32_t nth); 300 WebPMux* mux, const WebPMuxAnimParams* params); 311 const WebPMux* mux, WebPMuxAnimParams* params); [all …]
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | webpmux.c | 184 static WebPMuxError DisplayInfo(const WebPMux* mux) { in DisplayInfo() argument 188 WebPMuxError err = WebPMuxGetCanvasSize(mux, &width, &height); in DisplayInfo() 192 err = WebPMuxGetFeatures(mux, &flag); in DisplayInfo() 215 err = WebPMuxGetAnimationParams(mux, ¶ms); in DisplayInfo() 220 err = WebPMuxNumChunks(mux, id, &nFrames); in DisplayInfo() 231 err = WebPMuxGetFrame(mux, i, &frame); in DisplayInfo() 262 err = WebPMuxGetChunk(mux, "ICCP", &icc_profile); in DisplayInfo() 269 err = WebPMuxGetChunk(mux, "EXIF", &exif); in DisplayInfo() 276 err = WebPMuxGetChunk(mux, "XMP ", &xmp); in DisplayInfo() 283 err = WebPMuxGetFrame(mux, 1, &image); in DisplayInfo() [all …]
|
D | img2webp.c | 96 WebPMux* const mux = WebPMuxCreate(webp_data, 1); in SetLoopCount() local 97 if (mux == NULL) return 0; in SetLoopCount() 99 err = WebPMuxGetFeatures(mux, &features); in SetLoopCount() 103 err = WebPMuxGetAnimationParams(mux, &new_params); in SetLoopCount() 107 err = WebPMuxSetAnimationParams(mux, &new_params); in SetLoopCount() 112 err = WebPMuxAssemble(mux, webp_data); in SetLoopCount() 117 WebPMuxDelete(mux); in SetLoopCount()
|
D | gif2webp.c | 132 WebPMux* mux = NULL; in main() local 490 mux = WebPMuxCreate(&webp_data, 1); in main() 491 if (mux == NULL) { in main() 499 err = WebPMuxGetAnimationParams(mux, &new_params); in main() 506 err = WebPMuxSetAnimationParams(mux, &new_params); in main() 515 err = WebPMuxSetChunk(mux, "ICCP", &icc_data, 1); in main() 527 err = WebPMuxSetChunk(mux, "XMP ", &xmp_data, 1); in main() 538 err = WebPMuxAssemble(mux, &webp_data); in main() 575 WebPMuxDelete(mux); in main()
|
D | Makefile.am | 74 gif2webp_LDADD += ../src/mux/libwebpmux.la 91 webpmux_LDADD += ../src/mux/libwebpmux.la 100 img2webp_LDADD += ../src/mux/libwebpmux.la
|
/third_party/ffmpeg/tools/ |
D | uncoded_frame.c | 12 AVFormatContext *mux; member 136 ret = avformat_alloc_output_context2(&st->mux, NULL, fmt, dev); in main() 142 if (!(st->mux->oformat->flags & AVFMT_NOFILE)) { in main() 143 ret = avio_open2(&st->mux->pb, st->mux->url, AVIO_FLAG_WRITE, in main() 146 av_log(st->mux, AV_LOG_ERROR, "Failed to init output: %s\n", in main() 153 streams[i].mux = streams[0].mux; in main() 158 if (!(st->stream = avformat_new_stream(st->mux, NULL))) { in main() 191 if ((ret = avformat_write_header(st->mux, NULL)) < 0) { in main() 192 av_log(st->mux, AV_LOG_ERROR, "Failed to init output: %s\n", in main() 201 ret = av_write_uncoded_frame_query(st->mux, st->stream->index); in main() [all …]
|
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/ |
D | mux_demux_api_fuzzer.c | 32 WebPMux* mux = WebPMuxCreate(&webp_data, size & 2); in LLVMFuzzerTestOneInput() local 33 if (!mux) return 0; in LLVMFuzzerTestOneInput() 36 WebPMuxGetChunk(mux, "EXIF", &chunk); in LLVMFuzzerTestOneInput() 37 WebPMuxGetChunk(mux, "ICCP", &chunk); in LLVMFuzzerTestOneInput() 38 WebPMuxGetChunk(mux, "FUZZ", &chunk); // unknown in LLVMFuzzerTestOneInput() 41 WebPMuxGetFeatures(mux, &flags); in LLVMFuzzerTestOneInput() 44 WebPMuxGetAnimationParams(mux, ¶ms); in LLVMFuzzerTestOneInput() 49 status = WebPMuxGetFrame(mux, i + 1, &info); in LLVMFuzzerTestOneInput() 57 WebPMuxDelete(mux); in LLVMFuzzerTestOneInput()
|
/third_party/libwebsockets/lib/core-net/ |
D | wsi.c | 144 while (wsi->mux.parent_wsi) in lws_get_network_wsi() 145 wsi = wsi->mux.parent_wsi; in lws_get_network_wsi() 1369 lws_wsi_tag(parent_wsi), sid, wsi->mux.my_sid); in lws_wsi_mux_insert() 1371 if (wsi->mux.my_sid && wsi->mux.my_sid != (unsigned int)sid) in lws_wsi_mux_insert() 1374 wsi->mux.my_sid = sid; in lws_wsi_mux_insert() 1375 wsi->mux.parent_wsi = parent_wsi; in lws_wsi_mux_insert() 1379 wsi->mux.sibling_list = parent_wsi->mux.child_list; in lws_wsi_mux_insert() 1382 parent_wsi->mux.child_list = wsi; in lws_wsi_mux_insert() 1384 parent_wsi->mux.child_count++; in lws_wsi_mux_insert() 1390 lws_start_foreach_ll(struct lws *, wsi, parent_wsi->mux.child_list) { in lws_wsi_mux_from_id() [all …]
|
/third_party/libwebsockets/lib/roles/h2/ |
D | ops-h2.c | 512 n = lws_h2_frame_write(wsi, n, flags, wsi->mux.my_sid, (unsigned int)len, buf); in rops_write_role_protocol_h2() 701 lwsl_info(" %s, his parent %s: siblings:\n", lws_wsi_tag(wsi), lws_wsi_tag(wsi->mux.parent_wsi)); in rops_close_kill_connection_h2() 710 lws_wsi_tag(wsi->mux.parent_wsi)); in rops_close_kill_connection_h2() 712 if (wsi->mux.child_list && lwsl_visible(LLL_INFO)) { in rops_close_kill_connection_h2() 736 wsi->mux.parent_wsi) { in rops_close_kill_connection_h2() 756 if (wsi->mux.requested_POLLOUT in rops_callback_on_writable_h2() 940 wsi->mux.requested_POLLOUT = 0; in rops_perform_user_POLLOUT_h2() 948 wsi2 = &wsi->mux.child_list; in rops_perform_user_POLLOUT_h2() 955 wa = &(*wsi2)->mux.sibling_list; in rops_perform_user_POLLOUT_h2() 956 if (!(*wsi2)->mux.requested_POLLOUT) in rops_perform_user_POLLOUT_h2() [all …]
|
D | http2.c | 165 sid = wsi->mux.my_sid; in lws_h2_update_peer_txcredit() 178 lws_wsi_txc_describe(&wsi->txc, __func__, wsi->mux.my_sid); in lws_h2_update_peer_txcredit() 190 lws_wsi_txc_describe(&nwsi->txc, __func__, nwsi->mux.my_sid); in lws_h2_update_peer_txcredit() 200 lws_wsi_txc_describe(&wsi->txc, __func__, wsi->mux.my_sid); in lws_h2_get_peer_txcredit_estimate() 245 if (parent_wsi->mux.child_count + 1 > in __lws_wsi_server_new() 306 lws_wsi_txc_describe(&wsi->txc, __func__, wsi->mux.my_sid); in __lws_wsi_server_new() 313 parent_wsi->mux.child_list = wsi->mux.sibling_list; in __lws_wsi_server_new() 314 parent_wsi->mux.child_count--; in __lws_wsi_server_new() 331 if (parent_wsi->mux.child_count + 1 > in lws_wsi_h2_adopt() 347 if (!wsi->mux.my_sid) { in lws_wsi_h2_adopt() [all …]
|
/third_party/libwebsockets/lib/roles/mqtt/ |
D | ops-mqtt.c | 342 wsi->mux.requested_POLLOUT = 0; in rops_handle_POLLOUT_mqtt() 344 wsi2 = &wsi->mux.child_list; in rops_handle_POLLOUT_mqtt() 358 wa = &(*wsi2)->mux.sibling_list; in rops_handle_POLLOUT_mqtt() 359 if (!(*wsi2)->mux.requested_POLLOUT) in rops_handle_POLLOUT_mqtt() 379 wa = &wsi->mux.child_list; in rops_handle_POLLOUT_mqtt() 405 w->mux.requested_POLLOUT = 1; in rops_handle_POLLOUT_mqtt() 407 wa = &wsi->mux.child_list; in rops_handle_POLLOUT_mqtt() 415 wa = &wsi->mux.child_list; in rops_handle_POLLOUT_mqtt() 513 if (wsi->mux.requested_POLLOUT in rops_callback_on_writable_mqtt() 563 lws_wsi_tag(wsi->mux.parent_wsi), wsi->mux.child_list); in rops_close_kill_connection_mqtt() [all …]
|
D | mqtt.c | 1294 wsi->mux.highest_sid = 1; in _lws_mqtt_rx_parser() 1295 lws_wsi_mux_insert(w, wsi, wsi->mux.highest_sid++); in _lws_mqtt_rx_parser() 1355 wsi->mux.child_list = w->mux.sibling_list; in _lws_mqtt_rx_parser() 1356 wsi->mux.child_count--; in _lws_mqtt_rx_parser() 1376 wsi->mux.child_list) { in _lws_mqtt_rx_parser() 1410 } lws_end_foreach_ll(w, mux.sibling_list); in _lws_mqtt_rx_parser() 1426 wsi->mux.child_list) { in _lws_mqtt_rx_parser() 1432 } lws_end_foreach_ll(w, mux.sibling_list); in _lws_mqtt_rx_parser() 1465 wsi->mux.child_list) { in _lws_mqtt_rx_parser() 1496 } lws_end_foreach_ll(w, mux.sibling_list); in _lws_mqtt_rx_parser() [all …]
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qpu.c | 29 #define QPU_MUX(mux, muxfield) \ argument 30 QPU_SET_FIELD(mux != QPU_MUX_SMALL_IMM ? mux : QPU_MUX_B, muxfield) 35 if (src.mux == QPU_MUX_A) { in set_src_raddr() 41 if (src.mux == QPU_MUX_B) { in set_src_raddr() 48 if (src.mux == QPU_MUX_SMALL_IMM) { in set_src_raddr() 85 if (dst.mux <= QPU_MUX_R5) { in qpu_a_dst() 87 inst |= QPU_SET_FIELD(32 + dst.mux, QPU_WADDR_ADD); in qpu_a_dst() 90 if (dst.mux == QPU_MUX_B) in qpu_a_dst() 102 if (dst.mux <= QPU_MUX_R5) { in qpu_m_dst() 104 inst |= QPU_SET_FIELD(32 + dst.mux, QPU_WADDR_MUL); in qpu_m_dst() [all …]
|
D | vc4_qpu_emit.c | 84 if (src->mux == QPU_MUX_SMALL_IMM) { in swap_file() 87 if (src->mux == QPU_MUX_A) in swap_file() 88 src->mux = QPU_MUX_B; in swap_file() 90 src->mux = QPU_MUX_A; in swap_file() 168 uint32_t mux0 = src0->mux == QPU_MUX_SMALL_IMM ? QPU_MUX_B : src0->mux; in fixup_raddr_conflict() 169 uint32_t mux1 = src1->mux == QPU_MUX_SMALL_IMM ? QPU_MUX_B : src1->mux; in fixup_raddr_conflict() 174 src0->mux == src1->mux)) { in fixup_raddr_conflict() 229 if (dst.mux != QPU_MUX_R4) { in handle_r4_qpu_write() 312 if (src[i].mux == QPU_MUX_R4) in vc4_generate_code_block() 323 src[i].mux = QPU_MUX_SMALL_IMM; in vc4_generate_code_block() [all …]
|
D | vc4_qpu_disasm.c | 320 print_alu_src(uint64_t inst, uint32_t mux, bool is_mul) in print_alu_src() argument 322 bool is_a = mux != QPU_MUX_B; in print_alu_src() 331 if (mux <= QPU_MUX_R5) { in print_alu_src() 332 fprintf(stderr, "r%d", mux); in print_alu_src() 355 if (((mux == QPU_MUX_A && !(inst & QPU_PM)) || in print_alu_src() 356 (mux == QPU_MUX_R4 && (inst & QPU_PM)))) { in print_alu_src()
|
/third_party/skia/third_party/externals/libwebp/ |
D | README.mux | 117 WebPMux* mux = WebPMuxNew(); 119 WebPMuxSetImage(mux, &image, copy_data); 121 WebPMuxSetChunk(mux, "ICCP", &icc_profile, copy_data); 123 WebPMuxSetChunk(mux, "XMP ", &xmp, copy_data); 124 // Get data from mux in WebP RIFF format. 125 WebPMuxAssemble(mux, &output_data); 126 WebPMuxDelete(mux); 135 WebPMux* mux = WebPMuxCreate(&data, copy_data); 136 WebPMuxGetFrame(mux, 1, &image); 138 WebPMuxGetChunk(mux, "ICCP", &icc_profile); [all …]
|
D | makefile.unix | 259 src/mux/anim_encode.o \ 260 src/mux/muxedit.o \ 261 src/mux/muxinternal.o \ 262 src/mux/muxread.o \ 295 src/webp/mux.h \ 319 src/mux/animi.h \ 320 src/mux/muxi.h \ 354 OUTPUT += src/demux/libwebpdemux.a src/mux/libwebpmux.a $(EXTRA_LIB) 387 src/mux/libwebpmux.a: $(LIBWEBPMUX_OBJS) 429 examples/gif2webp: examples/libgifdec.a src/mux/libwebpmux.a src/libwebp.a [all …]
|
D | Makefile.vc | 84 $(DIROBJ)\mux \ 154 !MESSAGE - all - build (de)mux-based targets for CFG 316 $(DIROBJ)\mux\anim_encode.obj \ 317 $(DIROBJ)\mux\muxedit.obj \ 318 $(DIROBJ)\mux\muxinternal.obj \ 319 $(DIROBJ)\mux\muxread.obj \ 430 {src\mux}.rc{$(DIROBJ)\mux}.res: 435 $(LIBWEBPMUX): $(LIBWEBP) $(DIROBJ)\mux\$(LIBWEBPMUX_BASENAME:_debug=).res 493 {src\mux}.c{$(DIROBJ)\mux}.obj:: 494 $(CC) $(CFLAGS) /Fd$(LIBWEBP_PDBNAME) /Fo$(DIROBJ)\mux\ $<
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bir.c | 265 (I->mux != BI_MUX_BIT) && in bi_can_replace_with_csel() 272 bi_csel_for_mux(bool must_sign, bool b32, enum bi_mux mux) in bi_csel_for_mux() argument 274 switch (mux) { in bi_csel_for_mux() 293 I->op = bi_csel_for_mux(must_sign, I->op == BI_OPCODE_MUX_I32, I->mux); in bi_replace_mux_with_csel() 294 I->cmpf = (I->mux == BI_MUX_NEG) ? BI_CMPF_LT : BI_CMPF_EQ; in bi_replace_mux_with_csel() 295 I->mux = 0; in bi_replace_mux_with_csel()
|
D | bi_opt_mod_props.c | 280 bi_optimizer_result_type(bi_instr *I, bi_instr *mux) in bi_optimizer_result_type() argument 282 if (bi_opcode_props[I->op].size != bi_opcode_props[mux->op].size) in bi_optimizer_result_type() 285 if (bi_is_fixed_mux(mux, 32, bi_imm_f32(1.0)) || in bi_optimizer_result_type() 286 bi_is_fixed_mux(mux, 16, bi_imm_f16(1.0))) { in bi_optimizer_result_type() 292 } else if (bi_is_fixed_mux(mux, 32, bi_imm_u32(1)) || in bi_optimizer_result_type() 293 bi_is_fixed_mux(mux, 16, bi_imm_u16(1)) || in bi_optimizer_result_type() 294 bi_is_fixed_mux(mux, 8, bi_imm_u8(1))) { in bi_optimizer_result_type() 304 I->dest[0] = mux->dest[0]; in bi_optimizer_result_type()
|
/third_party/skia/src/images/ |
D | SkWebpEncoder.cpp | 131 SkAutoTCallVProc<WebPMux, WebPMuxDelete> mux(WebPMuxNew()); in Encode() local 132 if (WEBP_MUX_OK != WebPMuxSetImage(mux, &encoded, 0)) { in Encode() 136 if (WEBP_MUX_OK != WebPMuxSetChunk(mux, "ICCP", &iccChunk, 0)) { in Encode() 141 if (WEBP_MUX_OK != WebPMuxAssemble(mux, &assembled)) { in Encode()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | vir_to_qpu.c | 94 set_src(struct v3d_qpu_instr *instr, enum v3d_qpu_mux *mux, struct qpu_reg src) in set_src() argument 98 *mux = V3D_QPU_MUX_B; in set_src() 105 *mux = src.index - V3D_QPU_WADDR_R0 + V3D_QPU_MUX_R0; in set_src() 114 *mux = V3D_QPU_MUX_A; in set_src() 117 *mux = V3D_QPU_MUX_A; in set_src() 126 *mux = V3D_QPU_MUX_B; in set_src()
|