Home
last modified time | relevance | path

Searched refs:mux (Results 1 – 25 of 185) sorted by relevance

12345678

/external/webp/src/mux/
Dmuxedit.c22 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 …]
Dmuxread.c35 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
205 mux = WebPMuxNew(); in WebPMuxCreateInternal()
206 if (mux == NULL) return NULL; in WebPMuxCreateInternal()
[all …]
Dmuxinternal.c420 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 …]
/external/webp/src/webp/
Dmux.h120 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 …]
/external/webp/include/webp/
Dmux.h120 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 …]
/external/webp/tests/fuzzer/
Dmux_demux_api_fuzzer.c32 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, &params); in LLVMFuzzerTestOneInput()
49 status = WebPMuxGetFrame(mux, i + 1, &info); in LLVMFuzzerTestOneInput()
57 WebPMuxDelete(mux); in LLVMFuzzerTestOneInput()
/external/libwebsockets/lib/core-net/
Dwsi.c105 while (wsi->mux.parent_wsi) in lws_get_network_wsi()
106 wsi = wsi->mux.parent_wsi; in lws_get_network_wsi()
1069 wsi->mux.my_sid = sid; in lws_wsi_mux_insert()
1070 wsi->mux.parent_wsi = parent_wsi; in lws_wsi_mux_insert()
1074 wsi->mux.sibling_list = parent_wsi->mux.child_list; in lws_wsi_mux_insert()
1077 parent_wsi->mux.child_list = wsi; in lws_wsi_mux_insert()
1079 parent_wsi->mux.child_count++; in lws_wsi_mux_insert()
1085 lws_start_foreach_ll(struct lws *, wsi, parent_wsi->mux.child_list) { in lws_wsi_mux_from_id()
1086 if (wsi->mux.my_sid == sid) in lws_wsi_mux_from_id()
1088 } lws_end_foreach_ll(wsi, mux.sibling_list); in lws_wsi_mux_from_id()
[all …]
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Dcmp_pred_reg.ll1 ; RUN: llc -march=hexagon -hexagon-gen-mux-threshold=4 < %s | FileCheck %s
7 ; CHECK-NOT: mux
15 ; CHECK-NOT: mux
23 ; CHECK-NOT: mux
31 ; CHECK-NOT: mux
39 ; CHECK-NOT: mux
47 ; CHECK-NOT: mux
55 ; CHECK-NOT: mux
63 ; CHECK-NOT: mux
71 ; CHECK-NOT: mux
[all …]
Dcmp_pred.ll1 ; RUN: llc -march=hexagon -hexagon-gen-mux-threshold=4 < %s | FileCheck %s
7 ; CHECK-NOT: mux
15 ; CHECK-NOT: mux
23 ; CHECK-NOT: mux
31 ; CHECK-NOT: mux
39 ; CHECK-NOT: mux
47 ; CHECK-NOT: mux
55 ; CHECK-NOT: mux
63 ; CHECK-NOT: mux
71 ; CHECK-NOT: mux
[all …]
Dcmpb_pred.ll1 ; RUN: llc -march=hexagon -hexagon-gen-mux-threshold=4 < %s | FileCheck %s
9 ; CHECK-NOT: mux
18 ; CHECK-NOT: mux
28 ; CHECK-NOT: mux
37 ; CHECK-NOT: mux
47 ; CHECK-NOT: mux
57 ; CHECK-NOT: mux
66 ; CHECK-NOT: mux
75 ; CHECK-NOT: mux
84 ; CHECK-NOT: mux
Doptimize-mux.ll1 ; RUN: llc -march=hexagon -hexagon-gen-mux-threshold=0 < %s | FileCheck %s --check-prefix=CHECK0
2 ; RUN: llc -march=hexagon -hexagon-gen-mux-threshold=4 < %s | FileCheck %s --check-prefix=CHECK4
4 ; Generate mux with threshold = 0:
7 ; CHECK0: r0 = mux([[P0]],#0,#1)
9 ; No mux for threshold = 4:
10 ; CHECK4-NOT: mux
Dtstbit.ll12 ; CHECK-NEXT: r0 = mux(p0,#1,#0)
31 ; CHECK-NEXT: r0 = mux(p0,#1,#0)
48 ; CHECK-NEXT: r0 = mux(p0,#1,#0)
64 ; CHECK-NEXT: r0 = mux(p0,#1,#0)
80 ; CHECK-NEXT: r0 = mux(p0,#1,#0)
96 ; CHECK-NEXT: r0 = mux(p0,#1,#0)
/external/llvm/test/CodeGen/Hexagon/
Dcmp_pred.ll7 ; CHECK-NOT: mux
15 ; CHECK-NOT: mux
23 ; CHECK-NOT: mux
31 ; CHECK-NOT: mux
39 ; CHECK-NOT: mux
47 ; CHECK-NOT: mux
55 ; CHECK-NOT: mux
63 ; CHECK-NOT: mux
71 ; CHECK-NOT: mux
79 ; CHECK-NOT: mux
[all …]
Dcmp_pred_reg.ll7 ; CHECK-NOT: mux
15 ; CHECK-NOT: mux
23 ; CHECK-NOT: mux
31 ; CHECK-NOT: mux
39 ; CHECK-NOT: mux
47 ; CHECK-NOT: mux
55 ; CHECK-NOT: mux
63 ; CHECK-NOT: mux
71 ; CHECK-NOT: mux
79 ; CHECK-NOT: mux
[all …]
Dcmpb_pred.ll9 ; CHECK-NOT: mux
18 ; CHECK-NOT: mux
28 ; CHECK-NOT: mux
37 ; CHECK-NOT: mux
47 ; CHECK-NOT: mux
57 ; CHECK-NOT: mux
66 ; CHECK-NOT: mux
75 ; CHECK-NOT: mux
84 ; CHECK-NOT: mux
Dadde.ll8 ; CHECK: r{{[0-9]+}} = mux(p{{[0-9]+}}, r{{[0-9]+}}, r{{[0-9]+}})
9 ; CHECK: r{{[0-9]+}} = mux(p{{[0-9]+}}, r{{[0-9]+}}, r{{[0-9]+}})
11 ; CHECK: r{{[0-9]+}} = mux(p{{[0-9]+}}, r{{[0-9]+}}, r{{[0-9]+}})
12 ; CHECK: r{{[0-9]+}} = mux(p{{[0-9]+}}, r{{[0-9]+}}, r{{[0-9]+}})
/external/libwebsockets/lib/roles/mqtt/
Dops-mqtt.c309 wsi->mux.requested_POLLOUT = 0; in rops_handle_POLLOUT_mqtt()
311 wsi2 = &wsi->mux.child_list; in rops_handle_POLLOUT_mqtt()
322 wa = &(*wsi2)->mux.sibling_list; in rops_handle_POLLOUT_mqtt()
323 if (!(*wsi2)->mux.requested_POLLOUT) in rops_handle_POLLOUT_mqtt()
343 wa = &wsi->mux.child_list; in rops_handle_POLLOUT_mqtt()
369 w->mux.requested_POLLOUT = 1; in rops_handle_POLLOUT_mqtt()
371 wa = &wsi->mux.child_list; in rops_handle_POLLOUT_mqtt()
379 wa = &wsi->mux.child_list; in rops_handle_POLLOUT_mqtt()
477 if (wsi->mux.requested_POLLOUT in rops_callback_on_writable_mqtt()
526 wsi->mux.parent_wsi, wsi->mux.child_list); in rops_close_kill_connection_mqtt()
[all …]
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/
Dpr45835.ll21 %a.mux = select i1 %cmp, i8* @a, i8* %add.ptr
28 %a.mux.lcssa4 = phi i8* [ %a.mux, %cont ], [ %a.mux, %cont ]
30 ; NEVER: [ %a.mux, %cont ], [ %a.mux, %cont ]
33 %x5 = ptrtoint i8* %a.mux.lcssa4 to i64
/external/libwebsockets/lib/roles/h2/
Dops-h2.c482 n = lws_h2_frame_write(wsi, n, flags, wsi->mux.my_sid, (int)len, buf); in rops_write_role_protocol_h2()
668 lwsl_info(" wsi: %p, his parent %p: siblings:\n", wsi, wsi->mux.parent_wsi); in rops_close_kill_connection_h2()
676 lwsl_info("closing %p: parent %p\n", wsi, wsi->mux.parent_wsi); in rops_close_kill_connection_h2()
678 if (wsi->mux.child_list && lwsl_visible(LLL_INFO)) { in rops_close_kill_connection_h2()
702 wsi->mux.parent_wsi) { in rops_close_kill_connection_h2()
722 if (wsi->mux.requested_POLLOUT in rops_callback_on_writable_h2()
829 wsi->mux.requested_POLLOUT = 0; in rops_perform_user_POLLOUT_h2()
837 wsi2 = &wsi->mux.child_list; in rops_perform_user_POLLOUT_h2()
844 wa = &(*wsi2)->mux.sibling_list; in rops_perform_user_POLLOUT_h2()
845 if (!(*wsi2)->mux.requested_POLLOUT) in rops_perform_user_POLLOUT_h2()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu.c29 #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 …]
Dvc4_qpu_emit.c84 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 …]
/external/ImageMagick/coders/
Dwebp.c351 *mux; in ReadSingleWEBPImage() local
359 mux=WebPMuxCreate(&content,0); in ReadSingleWEBPImage()
361 WebPMuxGetFeatures(mux,&webp_flags); in ReadSingleWEBPImage()
364 WebPMuxGetChunk(mux,"ICCP",&chunk); in ReadSingleWEBPImage()
374 WebPMuxGetChunk(mux,"EXIF",&chunk); in ReadSingleWEBPImage()
384 WebPMuxGetChunk(mux,"XMP",&chunk); in ReadSingleWEBPImage()
392 WebPMuxDelete(mux); in ReadSingleWEBPImage()
433 *mux; in ReadAnimatedWEBPImage() local
441 mux=WebPMuxCreate(&data,0); in ReadAnimatedWEBPImage()
442 status=WebPMuxGetAnimationParams(mux,&params); in ReadAnimatedWEBPImage()
[all …]
/external/llvm/test/MC/Disassembler/Hexagon/
Dalu32_perm.txt24 # CHECK: r17 = mux(p3, r21, #31)
26 # CHECK: r17 = mux(p3, #21, r31)
28 # CHECK: r17 = mux(p3, #21, #31)
30 # CHECK: r17 = mux(p3, r21, r31)
/external/llvm-project/llvm/test/MC/Disassembler/Hexagon/
Dalu32_perm.txt24 # CHECK: r17 = mux(p3,r21,#31)
26 # CHECK: r17 = mux(p3,#21,r31)
28 # CHECK: r17 = mux(p3,#21,#31)
30 # CHECK: r17 = mux(p3,r21,r31)
/external/skia/src/images/
DSkWebpEncoder.cpp131 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()

12345678