Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/third_party/ffmpeg/libavcodec/x86/
Dvp9dsp_init.h31 #define cat(a, bpp, b) a##bpp##b argument
33 #define decl_fpel_func(avg, sz, bpp, opt) \ argument
34 void ff_vp9_##avg##sz##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
38 #define decl_mc_func(avg, sz, dir, opt, type, f_sz, bpp) \ argument
39 void ff_vp9_##avg##_8tap_1d_##dir##_##sz##_##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
43 #define decl_mc_funcs(sz, opt, type, fsz, bpp) \ argument
44 decl_mc_func(put, sz, h, opt, type, fsz, bpp); \
45 decl_mc_func(avg, sz, h, opt, type, fsz, bpp); \
46 decl_mc_func(put, sz, v, opt, type, fsz, bpp); \
47 decl_mc_func(avg, sz, v, opt, type, fsz, bpp)
[all …]
Dvp9dsp_init_16bpp_template.c46 filters_8tap_2d_fn2(put, 16, BPC, 2, sse2, sse2, 16bpp)
47 filters_8tap_2d_fn2(avg, 16, BPC, 2, sse2, sse2, 16bpp)
49 filters_8tap_2d_fn(put, 64, 32, BPC, 2, avx2, 16bpp)
50 filters_8tap_2d_fn(avg, 64, 32, BPC, 2, avx2, 16bpp)
51 filters_8tap_2d_fn(put, 32, 32, BPC, 2, avx2, 16bpp)
52 filters_8tap_2d_fn(avg, 32, 32, BPC, 2, avx2, 16bpp)
53 filters_8tap_2d_fn(put, 16, 32, BPC, 2, avx2, 16bpp)
54 filters_8tap_2d_fn(avg, 16, 32, BPC, 2, avx2, 16bpp)
57 filters_8tap_1d_fn3(put, BPC, sse2, sse2, 16bpp)
58 filters_8tap_1d_fn3(avg, BPC, sse2, sse2, 16bpp)
[all …]
/third_party/ffmpeg/libavcodec/arm/
Dvp9dsp_init_16bpp_arm_template.c34 #define decl_mc_func(op, filter, dir, sz, bpp) \ argument
35 void ff_vp9_##op##_##filter##sz##_##dir##_##bpp##_neon(uint8_t *dst, ptrdiff_t dst_stride, \
39 #define define_8tap_2d_fn(op, filter, sz, bpp) \ argument
40 static void op##_##filter##sz##_hv_##bpp##_neon(uint8_t *dst, ptrdiff_t dst_stride, \
48 ff_vp9_put_##filter##sz##_h_##bpp##_neon(temp, 2 * sz, \
51 ff_vp9_##op##_##filter##sz##_v_##bpp##_neon(dst, dst_stride, \
56 #define decl_filter_funcs(op, dir, sz, bpp) \ argument
57 decl_mc_func(op, regular, dir, sz, bpp); \
58 decl_mc_func(op, sharp, dir, sz, bpp); \
59 decl_mc_func(op, smooth, dir, sz, bpp)
[all …]
/third_party/ffmpeg/libavcodec/aarch64/
Dvp9dsp_init_16bpp_aarch64_template.c34 #define decl_mc_func(op, filter, dir, sz, bpp) \ argument
35 void ff_vp9_##op##_##filter##sz##_##dir##_##bpp##_neon(uint8_t *dst, ptrdiff_t dst_stride, \
39 #define define_8tap_2d_fn(op, filter, sz, bpp) \ argument
40 static void op##_##filter##sz##_hv_##bpp##_neon(uint8_t *dst, ptrdiff_t dst_stride, \
48 ff_vp9_put_##filter##sz##_h_##bpp##_neon(temp, 2 * sz, \
51 ff_vp9_##op##_##filter##sz##_v_##bpp##_neon(dst, dst_stride, \
56 #define decl_filter_funcs(op, dir, sz, bpp) \ argument
57 decl_mc_func(op, regular, dir, sz, bpp); \
58 decl_mc_func(op, sharp, dir, sz, bpp); \
59 decl_mc_func(op, smooth, dir, sz, bpp)
[all …]
/third_party/skia/third_party/externals/libpng/powerpc/
Dfilter_vsx_intrinsics.c165 …e vsx_char_to_short(vec,offset,bpp) (vector unsigned short)vec_perm((vec),VSX_CHAR_ZERO,VSX_CHAR_T… argument
166 …e vsx_short_to_char(vec,offset,bpp) vec_perm(((vector unsigned char)(vec)),VSX_CHAR_ZERO,VSX_SHORT… argument
177 png_byte bpp = 4; in png_read_filter_row_sub4_vsx() local
182 vsx_declare_common_vars(row_info,row,prev_row,bpp) in png_read_filter_row_sub4_vsx()
192 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff); in png_read_filter_row_sub4_vsx()
199 for(i=0;i < bpp ; i++) in png_read_filter_row_sub4_vsx()
201 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff); in png_read_filter_row_sub4_vsx()
204 rp -= bpp; in png_read_filter_row_sub4_vsx()
225 *rp = (png_byte)(((int)(*rp) + (int)(*(rp - bpp))) & 0xff); in png_read_filter_row_sub4_vsx()
234 png_byte bpp = 3; in png_read_filter_row_sub3_vsx() local
[all …]
/third_party/flutter/skia/third_party/externals/libpng/powerpc/
Dfilter_vsx_intrinsics.c165 …e vsx_char_to_short(vec,offset,bpp) (vector unsigned short)vec_perm((vec),VSX_CHAR_ZERO,VSX_CHAR_T… argument
166 …e vsx_short_to_char(vec,offset,bpp) vec_perm(((vector unsigned char)(vec)),VSX_CHAR_ZERO,VSX_SHORT… argument
177 png_byte bpp = 4; in png_read_filter_row_sub4_vsx() local
182 vsx_declare_common_vars(row_info,row,prev_row,bpp) in png_read_filter_row_sub4_vsx()
192 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff); in png_read_filter_row_sub4_vsx()
199 for(i=0;i < bpp ; i++) in png_read_filter_row_sub4_vsx()
201 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff); in png_read_filter_row_sub4_vsx()
204 rp -= bpp; in png_read_filter_row_sub4_vsx()
225 *rp = (png_byte)(((int)(*rp) + (int)(*(rp - bpp))) & 0xff); in png_read_filter_row_sub4_vsx()
234 png_byte bpp = 3; in png_read_filter_row_sub3_vsx() local
[all …]
/third_party/ffmpeg/libavcodec/
Drle.c27 int ff_rle_count_pixels(const uint8_t *start, int len, int bpp, int same) in ff_rle_count_pixels() argument
32 for (pos = start + bpp; count < FFMIN(127, len); pos += bpp, count++) { in ff_rle_count_pixels()
33 if (same != !memcmp(pos - bpp, pos, bpp)) { in ff_rle_count_pixels()
38 if (bpp == 1 && count + 1 < FFMIN(127, len) && *pos != *(pos + 1)) in ff_rle_count_pixels()
52 int ff_rle_encode(uint8_t *outbuf, int out_size, const uint8_t *ptr, int bpp, in ff_rle_encode() argument
60 if ((count = ff_rle_count_pixels(ptr, w - x, bpp, 1)) > 1) { in ff_rle_encode()
61 if (out + bpp + 1 > outbuf + out_size) in ff_rle_encode()
65 memcpy(out, ptr, bpp); in ff_rle_encode()
66 out += bpp; in ff_rle_encode()
69 count = ff_rle_count_pixels(ptr, w - x, bpp, 0); in ff_rle_encode()
[all …]
Dxwddec.c38 uint32_t xoffset, be, bpp, lsize, rsize; in xwd_decode_frame() local
71 bpp = bytestream2_get_be32u(&gb); in xwd_decode_frame()
89 vclass, ncolors, bpp, be, lsize, xoffset); in xwd_decode_frame()
129 if (bpp == 0 || bpp > 32) { in xwd_decode_frame()
142 rsize = FFALIGN(avctx->width * bpp, bpad) / 8; in xwd_decode_frame()
162 if (bpp != 1 && bpp != 8) in xwd_decode_frame()
164 if (bpp == 1 && pixdepth == 1) { in xwd_decode_frame()
166 } else if (bpp == 8 && pixdepth == 8) { in xwd_decode_frame()
172 if (bpp == 8) in xwd_decode_frame()
177 if (bpp != 16 && bpp != 24 && bpp != 32) in xwd_decode_frame()
[all …]
Dvmnc.c62 int bpp; member
78 static av_always_inline int vmnc_get_pixel(GetByteContext *gb, int bpp, int be) in vmnc_get_pixel() argument
80 switch (bpp * 2 + be) { in vmnc_get_pixel()
99 const int bpp = c->bpp2; in load_cursor() local
106 p = vmnc_get_pixel(&c->gb, bpp, c->bigendian); in load_cursor()
107 if (bpp == 1) in load_cursor()
109 if (bpp == 2) in load_cursor()
111 if (bpp == 4) in load_cursor()
120 p = vmnc_get_pixel(&c->gb, bpp, c->bigendian); in load_cursor()
121 if (bpp == 1) in load_cursor()
[all …]
Dvp9dsp.c86 av_cold void ff_vp9dsp_init(VP9DSPContext *dsp, int bpp, int bitexact) in ff_vp9dsp_init() argument
88 if (bpp == 8) { in ff_vp9dsp_init()
90 } else if (bpp == 10) { in ff_vp9dsp_init()
93 av_assert0(bpp == 12); in ff_vp9dsp_init()
97 if (ARCH_AARCH64) ff_vp9dsp_init_aarch64(dsp, bpp); in ff_vp9dsp_init()
98 if (ARCH_ARM) ff_vp9dsp_init_arm(dsp, bpp); in ff_vp9dsp_init()
99 if (ARCH_X86) ff_vp9dsp_init_x86(dsp, bpp, bitexact); in ff_vp9dsp_init()
100 if (ARCH_MIPS) ff_vp9dsp_init_mips(dsp, bpp); in ff_vp9dsp_init()
Diff.c58 … unsigned bpp; ///< bits per plane to decode (differs from bits_per_coded_sample if HAM) member
279 s->bpp = bytestream_get_byte(&buf); in extract_header()
288 if (s->bpp > 8) { in extract_header()
291 } else if (s->ham != (s->bpp > 6 ? 6 : 4)) { in extract_header()
292 … av_log(avctx, AV_LOG_ERROR, "Invalid number of hold bits for HAM: %u, BPP: %u\n", s->ham, s->bpp); in extract_header()
298 if (s->bpp >= 8 && !s->ham) { in extract_header()
305 if (s->bpp > 16) { in extract_header()
306 av_log(avctx, AV_LOG_ERROR, "bpp %d too large for palette\n", s->bpp); in extract_header()
310 … s->mask_palbuf = av_malloc((2 << s->bpp) * sizeof(uint32_t) + AV_INPUT_BUFFER_PADDING_SIZE); in extract_header()
316 s->bpp++; in extract_header()
[all …]
/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dgstvideoflip.c680 gint bpp; in gst_video_flip_packed_simple() local
688 bpp = GST_VIDEO_FRAME_COMP_PSTRIDE (src, 0); in gst_video_flip_packed_simple()
694 for (z = 0; z < bpp; z++) { in gst_video_flip_packed_simple()
695 d[y * dest_stride + x * bpp + z] = in gst_video_flip_packed_simple()
696 s[(sh - 1 - x) * src_stride + y * bpp + z]; in gst_video_flip_packed_simple()
704 for (z = 0; z < bpp; z++) { in gst_video_flip_packed_simple()
705 d[y * dest_stride + x * bpp + z] = in gst_video_flip_packed_simple()
706 s[x * src_stride + (sw - 1 - y) * bpp + z]; in gst_video_flip_packed_simple()
714 for (z = 0; z < bpp; z++) { in gst_video_flip_packed_simple()
715 d[y * dest_stride + x * bpp + z] = in gst_video_flip_packed_simple()
[all …]
/third_party/flutter/skia/src/codec/
DSkSwizzler.cpp19 static void copy(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in copy() argument
23 SkASSERT(deltaSrc == bpp); in copy()
25 memcpy(dst, src + offset, width * bpp); in copy()
28 static void sample1(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample1() argument
38 static void sample2(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample2() argument
48 static void sample4(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample4() argument
58 static void sample6(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample6() argument
69 static void sample8(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample8() argument
89 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_grayscale() argument
114 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_n32() argument
[all …]
/third_party/skia/src/codec/
DSkSwizzler.cpp19 static void copy(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in copy() argument
23 SkASSERT(deltaSrc == bpp); in copy()
25 memcpy(dst, src + offset, width * bpp); in copy()
28 static void sample1(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample1() argument
38 static void sample2(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample2() argument
48 static void sample4(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample4() argument
58 static void sample6(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample6() argument
69 static void sample8(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample8() argument
89 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_grayscale() argument
114 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_n32() argument
[all …]
/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrelemlib.cpp1143 UINT_32 bpp; in AdjustSurfaceInfo() local
1151 bpp = *pBpp; in AdjustSurfaceInfo()
1156 packedBits = bpp / expandX / expandY; in AdjustSurfaceInfo()
1160 packedBits = bpp * expandX * expandY; in AdjustSurfaceInfo()
1164 packedBits = bpp; // 32-bit packed ==> 2 32-bit result in AdjustSurfaceInfo()
1187 packedBits = bpp; in AdjustSurfaceInfo()
1190 packedBits = bpp; in AdjustSurfaceInfo()
1272 UINT_32 bpp; in RestoreSurfaceInfo() local
1281 bpp = *pBpp; in RestoreSurfaceInfo()
1286 originalBits = bpp * expandX * expandY; in RestoreSurfaceInfo()
[all …]
/third_party/mesa3d/src/asahi/lib/
Dtiling.c125 #define TILED_UNALIGNED_TYPES(bpp, store, tile_shift) { \ argument
126 if (bpp == 8) \
128 else if (bpp == 16) \
130 else if (bpp == 24) \
132 else if (bpp == 32) \
134 else if (bpp == 48) \
136 else if (bpp == 64) \
138 else if (bpp == 96) \
140 else if (bpp == 128) \
148 unsigned width, unsigned bpp, unsigned linear_pitch, in agx_detile() argument
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_formats.c244 uint32_t *bpp) in v3dX()
255 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
262 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
269 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
281 *bpp = V3D_INTERNAL_BPP_64; in v3dX()
290 *bpp = V3D_INTERNAL_BPP_64; in v3dX()
295 *bpp = V3D_INTERNAL_BPP_64; in v3dX()
301 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
307 *bpp = V3D_INTERNAL_BPP_64; in v3dX()
313 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_stretch.c70 generate_rowbytes(int src_w, int dst_w, int bpp) in generate_rowbytes() argument
74 int bpp; in generate_rowbytes() member
86 if ((src_w == last.src_w) && (dst_w == last.dst_w) && (bpp == last.bpp)) { in generate_rowbytes()
89 last.bpp = bpp; in generate_rowbytes()
94 switch (bpp) { in generate_rowbytes()
105 return SDL_SetError("ASM stretch of %d bytes isn't supported\n", bpp); in generate_rowbytes()
122 if (bpp == 2) { in generate_rowbytes()
131 if (bpp == 2) { in generate_rowbytes()
221 const int bpp = dst->format->BytesPerPixel; in SDL_SoftStretch() local
283 if ((bpp == 3) || (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0)) { in SDL_SoftStretch()
[all …]
DSDL_RLEaccel.c100 #define PIXEL_COPY(to, from, len, bpp) \ argument
101 SDL_memcpy(to, from, (size_t)(len) * (bpp))
107 #define OPAQUE_BLIT(to, from, length, bpp, alpha) \ argument
108 PIXEL_COPY(to, from, length, bpp)
117 #define ALPHA_BLIT32_888(to, from, length, bpp, alpha) \ argument
141 #define ALPHA_BLIT16_565(to, from, length, bpp, alpha) \ argument
158 #define ALPHA_BLIT16_555(to, from, length, bpp, alpha) \ argument
178 #define ALPHA_BLIT_ANY(to, from, length, bpp, alpha) \ argument
186 switch (bpp) { \
211 switch (bpp) { \
[all …]
/third_party/ffmpeg/libavcodec/mips/
Dvp9dsp_init_mips.c28 static av_cold void vp9dsp_intrapred_init_msa(VP9DSPContext *dsp, int bpp) in vp9dsp_intrapred_init_msa() argument
30 if (bpp == 8) { in vp9dsp_intrapred_init_msa()
58 static av_cold void vp9dsp_itxfm_init_msa(VP9DSPContext *dsp, int bpp) in vp9dsp_itxfm_init_msa() argument
60 if (bpp == 8) { in vp9dsp_itxfm_init_msa()
82 static av_cold void vp9dsp_mc_init_msa(VP9DSPContext *dsp, int bpp) in vp9dsp_mc_init_msa() argument
84 if (bpp == 8) { in vp9dsp_mc_init_msa()
139 static av_cold void vp9dsp_loopfilter_init_msa(VP9DSPContext *dsp, int bpp) in vp9dsp_loopfilter_init_msa() argument
141 if (bpp == 8) { in vp9dsp_loopfilter_init_msa()
163 static av_cold void vp9dsp_init_msa(VP9DSPContext *dsp, int bpp) in vp9dsp_init_msa() argument
165 vp9dsp_intrapred_init_msa(dsp, bpp); in vp9dsp_init_msa()
[all …]
/third_party/mesa3d/src/panfrost/shared/
Dpan_tiling.c221 if (bpp == 8) \
223 else if (bpp == 16) \
225 else if (bpp == 24) \
227 else if (bpp == 32) \
229 else if (bpp == 48) \
231 else if (bpp == 64) \
233 else if (bpp == 96) \
235 else if (bpp == 128) \
254 unsigned bpp = desc->block.bits; in panfrost_access_tiled_image_generic() local
275 …, _x, _y) (void *) ((uint8_t *) src + ((_y) - orig_y) * src_stride + (((_x) - orig_x) * (bpp / 8)))
[all …]
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_format_table.c202 uint32_t *bpp) in v3dX()
216 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
223 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
230 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
246 *bpp = V3D_INTERNAL_BPP_64; in v3dX()
255 *bpp = V3D_INTERNAL_BPP_64; in v3dX()
260 *bpp = V3D_INTERNAL_BPP_64; in v3dX()
265 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
271 *bpp = V3D_INTERNAL_BPP_64; in v3dX()
276 *bpp = V3D_INTERNAL_BPP_32; in v3dX()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c115 unsigned bpp = sdst->surface.bpe; in si_sdma_v4_v5_copy_texture() local
130 unsigned bytes = src_pitch * copy_height * bpp; in si_sdma_v4_v5_copy_texture()
159 unsigned linear_slice_pitch = ((uint64_t)linear->surface.u.gfx9.surf_slice_size) / bpp; in si_sdma_v4_v5_copy_texture()
188 radeon_emit(util_logbase2(bpp) | in si_sdma_v4_v5_copy_texture()
228 unsigned bpp = sdst->surface.bpe; in cik_sdma_copy_texture() local
244 ((uint64_t)sdst->surface.u.legacy.level[0].slice_size_dw * 4) / bpp; in cik_sdma_copy_texture()
246 ((uint64_t)ssrc->surface.u.legacy.level[0].slice_size_dw * 4) / bpp; in cik_sdma_copy_texture()
270 (util_logbase2(bpp) << 29)); in cik_sdma_copy_texture()
310 unsigned xalign = MAX2(1, 4 / bpp); in cik_sdma_copy_texture()
325 linear_pitch - 1 == 0x3fff && bpp == 16) in cik_sdma_copy_texture()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxfup.c84 guint bpp; member
98 guint bpp; member
168 expected_in_stride = data->bpp * data->width; in mxf_up_handle_essence_element()
179 if (data->bpp != 4 || out_stride != expected_in_stride) { in mxf_up_handle_essence_element()
192 memcpy (outdata, indata, data->width * data->bpp); in mxf_up_handle_essence_element()
254 guint bpp; in mxf_up_rgba_create_caps() local
269 bpp = _rgba_mapping_table[i].n_pixel_layout; in mxf_up_rgba_create_caps()
282 data->bpp = bpp; in mxf_up_rgba_create_caps()
306 guint bpp; in mxf_up_cdci_create_caps() local
317 bpp = _cdci_mapping_table[i].bpp; in mxf_up_cdci_create_caps()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/r800/
Degbaddrlib.cpp90 UINT_32 bpp = pIn->bpp; in DispatchComputeSurfaceInfo() local
106 tileMode = DegradeLargeThickTile(tileMode, bpp); in DispatchComputeSurfaceInfo()
146 bpp, in DispatchComputeSurfaceInfo()
237 pIn->bpp, in ComputeSurfaceInfoLinear()
261 pIn->bpp, in ComputeSurfaceInfoLinear()
280 pIn->bpp, in ComputeSurfaceInfoLinear()
324 logicalSliceSize = BITS_TO_BYTES(expPitch * expHeight * pIn->bpp); in ComputeSurfaceInfoLinear()
397 pIn->bpp, in ComputeSurfaceInfoMicroTiled()
413 pIn->bpp, in ComputeSurfaceInfoMicroTiled()
427 pIn->bpp, in ComputeSurfaceInfoMicroTiled()
[all …]

12345678910>>...18