Lines Matching refs:EncodeBench
22 class EncodeBench : public Benchmark { class
25 EncodeBench(const char* filename, Encoder encoder, const char* encoderName) in EncodeBench() function in EncodeBench
91 DEF_BENCH(return new EncodeBench(srcs[0], &encode_jpeg, "JPEG"));
92 DEF_BENCH(return new EncodeBench(srcs[1], &encode_jpeg, "JPEG"));
95 DEF_BENCH(return new EncodeBench(srcs[0], encode_webp_lossy, "WEBP"));
96 DEF_BENCH(return new EncodeBench(srcs[1], encode_webp_lossy, "WEBP"));
98 DEF_BENCH(return new EncodeBench(srcs[0], encode_webp_lossless, "WEBP_LL"));
99 DEF_BENCH(return new EncodeBench(srcs[1], encode_webp_lossless, "WEBP_LL"));
101 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kAll, 6), "PNG"));
102 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kAll, 3), "PNG_3"));
103 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kAll, 1), "PNG_1"));
105 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kSub, 6), "PNG_6s"));
106 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kSub, 3), "PNG_3s"));
107 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kSub, 1), "PNG_1s"));
109 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kNone, 6), "PNG_6n"));
110 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kNone, 3), "PNG_3n"));
111 DEF_BENCH(return new EncodeBench(srcs[0], PNG(kNone, 1), "PNG_1n"));
113 DEF_BENCH(return new EncodeBench(srcs[1], PNG(kAll, 6), "PNG"));
114 DEF_BENCH(return new EncodeBench(srcs[1], PNG(kAll, 3), "PNG_3"));
115 DEF_BENCH(return new EncodeBench(srcs[1], PNG(kAll, 1), "PNG_1"));
117 DEF_BENCH(return new EncodeBench(srcs[1], PNG(kSub, 6), "PNG_6s"));
118 DEF_BENCH(return new EncodeBench(srcs[1], PNG(kSub, 3), "PNG_3s"));
119 DEF_BENCH(return new EncodeBench(srcs[1], PNG(kSub, 1), "PNG_1s"));
121 DEF_BENCH(return new EncodeBench(srcs[1], PNG(kNone, 6), "PNG_6n"));
122 DEF_BENCH(return new EncodeBench(srcs[1], PNG(kNone, 3), "PNG_3n"));
123 DEF_BENCH(return new EncodeBench(srcs[1], PNG(kNone, 1), "PNG_1n"));