Home
last modified time | relevance | path

Searched refs:planes (Results 1 - 25 of 272) sorted by relevance

1234567891011

/third_party/ffmpeg/libavcodec/
H A Dgemdec.c62 static void put_lines_bits(AVCodecContext *avctx, int planes, int row_width, int pixel_size, State * state, uint8_t * row, AVFrame *p) in put_lines_bits() argument
72 if (state->pl >= planes) { in put_lines_bits()
79 static void put_lines_bytes(AVCodecContext *avctx, int planes, int row_width, int pixel_size, State * state, uint8_t * row, AVFrame *p) in put_lines_bytes() argument
94 int header_size, planes, pattern_size, tag = 0, count_scalar = 1, ret; in gem_decode_frame() local
102 void (*put_lines)(AVCodecContext *avctx, int planes, int row_width, int pixel_size, State * state, uint8_t * row, AVFrame *p); in gem_decode_frame()
113 planes = bytestream2_get_be16(&gb); in gem_decode_frame()
132 planes = 24; in gem_decode_frame()
135 } else if (planes == 15) { in gem_decode_frame()
142 } else if (planes == 16) { in gem_decode_frame()
145 } else if (planes in gem_decode_frame()
[all...]
H A D8bps.c51 unsigned char planes; member
70 unsigned int planes = c->planes; in decode_frame() local
74 if (buf_size < planes * height *2) in decode_frame()
83 dp = encoded + planes * (height << 1); in decode_frame()
85 px_inc = planes + (avctx->pix_fmt == AV_PIX_FMT_0RGB32); in decode_frame()
87 for (p = 0; p < planes; p++) { in decode_frame()
149 c->planes = 1; in decode_init()
154 c->planes = 3; in decode_init()
161 c->planes in decode_init()
[all...]
H A Divi.c262 * Free planes, bands and macroblocks buffers.
264 * @param[in] planes pointer to the array of the plane descriptors
266 static av_cold void ivi_free_buffers(IVIPlaneDesc *planes) in ivi_free_buffers() argument
271 if (planes[p].bands) { in ivi_free_buffers()
272 for (b = 0; b < planes[p].num_bands; b++) { in ivi_free_buffers()
273 IVIBandDesc *band = &planes[p].bands[b]; in ivi_free_buffers()
286 av_freep(&planes[p].bands); in ivi_free_buffers()
287 planes[p].num_bands = 0; in ivi_free_buffers()
291 av_cold int ff_ivi_init_planes(AVCodecContext *avctx, IVIPlaneDesc *planes, const IVIPicConfig *cfg, in ff_ivi_init_planes() argument
299 ivi_free_buffers(planes); in ff_ivi_init_planes()
395 ff_ivi_init_tiles(IVIPlaneDesc *planes, int tile_width, int tile_height) ff_ivi_init_tiles() argument
[all...]
H A Dget_buffer.c38 * Pools for each data plane. For audio all the planes have the same size,
50 int planes; member
89 int i, ret, ch, planes; in update_frame_pool() local
100 planes = planar ? ch : 1; in update_frame_pool() local
107 if (avctx->codec_type == AVMEDIA_TYPE_AUDIO && pool->planes == planes && in update_frame_pool()
184 pool->planes = planes; in update_frame_pool()
204 int planes = pool->planes; in audio_get_buffer() local
[all...]
H A Dexrenc.c80 int planes; member
102 s->planes = 3; in encode_init()
107 s->planes = 4; in encode_init()
112 s->planes = 1; in encode_init()
228 int64_t tmp_size = element_size * s->planes * frame->width; in encode_scanline_rle()
245 for (int p = 0; p < s->planes; p++) { in encode_scanline_rle()
253 for (int p = 0; p < s->planes; p++) { in encode_scanline_rle()
287 int64_t tmp_size = element_size * s->planes * frame->width * scanline_height; in encode_scanline_zip()
306 const int scanline_size = frame->width * 4 * s->planes; in encode_scanline_zip()
308 for (int p = 0; p < s->planes; in encode_scanline_zip()
[all...]
H A Dindeo3.c110 Plane planes[3]; member
160 av_freep(&ctx->planes[p].buffers[0]); in free_frame_buffers()
161 av_freep(&ctx->planes[p].buffers[1]); in free_frame_buffers()
162 ctx->planes[p].pixels[0] = ctx->planes[p].pixels[1] = 0; in free_frame_buffers()
195 /* Calculate size of a chrominance planes. */ in allocate_frame_buffers()
201 ctx->planes[p].pitch = !p ? luma_pitch : chroma_pitch; in allocate_frame_buffers()
202 ctx->planes[p].width = !p ? luma_width : chroma_width; in allocate_frame_buffers()
203 ctx->planes[p].height = !p ? luma_height : chroma_height; in allocate_frame_buffers()
205 ctx->planes[ in allocate_frame_buffers()
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Dllviddspenc.c38 static const struct {uint8_t w, h, s;} planes[] = { variable
67 call_ref(dst0, src0, src2, planes[i].w); in check_diff_bytes()
68 call_new(dst1, src1, src3, planes[i].w); in check_diff_bytes()
69 if (memcmp(dst0, dst1, planes[i].w)) in check_diff_bytes()
72 bench_new(dst1, src0, src2, planes[4].w); in check_diff_bytes()
94 call_ref(dst0, src0, planes[i].s, planes[i].w, planes[i].h); in check_sub_left_pred()
95 call_new(dst1, src1, planes[i].s, planes[ in check_sub_left_pred()
[all...]
H A Dsw_rgb.c38 static const struct {uint8_t w, h, s;} planes[] = { variable
100 call_ref(dst_y_0, dst_u_0, dst_v_0, src0, planes[i].w, planes[i].h, in check_uyvy_to_422p()
101 MAX_STRIDE, MAX_STRIDE / 2, planes[i].s); in check_uyvy_to_422p()
102 call_new(dst_y_1, dst_u_1, dst_v_1, src1, planes[i].w, planes[i].h, in check_uyvy_to_422p()
103 MAX_STRIDE, MAX_STRIDE / 2, planes[i].s); in check_uyvy_to_422p()
109 bench_new(dst_y_1, dst_u_1, dst_v_1, src1, planes[5].w, planes[5].h, in check_uyvy_to_422p()
110 MAX_STRIDE, MAX_STRIDE / 2, planes[ in check_uyvy_to_422p()
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_meta_blit.c39 .format = blitinfo->dst.planes[0].format, in panvk_meta_blit()
41 .image = blitinfo->dst.planes[0].image, in panvk_meta_blit()
42 .nr_samples = blitinfo->dst.planes[0].image->layout.nr_samples, in panvk_meta_blit()
50 .width = u_minify(blitinfo->dst.planes[0].image->layout.width, blitinfo->dst.level), in panvk_meta_blit()
51 .height = u_minify(blitinfo->dst.planes[0].image->layout.height, blitinfo->dst.level), in panvk_meta_blit()
58 .nr_samples = blitinfo->dst.planes[0].image->layout.nr_samples, in panvk_meta_blit()
67 util_format_description(blitinfo->dst.planes[0].image->layout.format); in panvk_meta_blit()
73 views[0].format = blitinfo->dst.planes[0].image->layout.format; in panvk_meta_blit()
88 if (blitinfo->dst.planes[1].format != PIPE_FORMAT_NONE) { in panvk_meta_blit()
90 views[1].format = blitinfo->dst.planes[ in panvk_meta_blit()
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_bottlenecks.h57 uint32 planes,
67 uint32 planes,
77 uint32 planes,
89 uint32 planes,
102 uint32 planes,
115 uint32 planes,
128 uint32 planes,
141 uint32 planes,
154 uint32 planes,
167 uint32 planes,
667 DoSetArea8(uint8 *dPtr, uint8 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) DoSetArea8() argument
688 DoSetArea16(uint16 *dPtr, uint16 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) DoSetArea16() argument
709 DoSetArea32(uint32 *dPtr, uint32 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) DoSetArea32() argument
732 DoCopyArea8(const uint8 *sPtr, uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoCopyArea8() argument
759 DoCopyArea16(const uint16 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoCopyArea16() argument
786 DoCopyArea32(const uint32 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoCopyArea32() argument
813 DoCopyArea8_16(const uint8 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoCopyArea8_16() argument
840 DoCopyArea8_S16(const uint8 *sPtr, int16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoCopyArea8_S16() argument
867 DoCopyArea8_32(const uint8 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoCopyArea8_32() argument
894 DoCopyArea16_S16(const uint16 *sPtr, int16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoCopyArea16_S16() argument
921 DoCopyArea16_32(const uint16 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoCopyArea16_32() argument
948 DoCopyArea8_R32(const uint8 *sPtr, real32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) DoCopyArea8_R32() argument
977 DoCopyArea16_R32(const uint16 *sPtr, real32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) DoCopyArea16_R32() argument
1006 DoCopyAreaS16_R32(const int16 *sPtr, real32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) DoCopyAreaS16_R32() argument
1035 DoCopyAreaR32_8(const real32 *sPtr, uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) DoCopyAreaR32_8() argument
1064 DoCopyAreaR32_16(const real32 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) DoCopyAreaR32_16() argument
1093 DoCopyAreaR32_S16(const real32 *sPtr, int16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) DoCopyAreaR32_S16() argument
1124 DoRepeatArea8(const uint8 *sPtr, uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 repeatV, uint32 repeatH, uint32 phaseV, uint32 phaseH) DoRepeatArea8() argument
1153 DoRepeatArea16(const uint16 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 repeatV, uint32 repeatH, uint32 phaseV, uint32 phaseH) DoRepeatArea16() argument
1182 DoRepeatArea32(const uint32 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 repeatV, uint32 repeatH, uint32 phaseV, uint32 phaseH) DoRepeatArea32() argument
1213 DoShiftRight16(uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 shift) DoShiftRight16() argument
1530 DoEqualArea8(const uint8 *sPtr, const uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoEqualArea8() argument
1557 DoEqualArea16(const uint16 *sPtr, const uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoEqualArea16() argument
1584 DoEqualArea32(const uint32 *sPtr, const uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) DoEqualArea32() argument
1640 DoVignette16(int16 *sPtr, const uint16 *mPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sPlaneStep, int32 mRowStep, uint32 mBits) DoVignette16() argument
1665 DoVignette32(real32 *sPtr, const uint16 *mPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sPlaneStep, int32 mRowStep, uint32 mBits) DoVignette32() argument
[all...]
H A Ddng_reference.h46 uint32 planes,
55 uint32 planes,
64 uint32 planes,
75 uint32 planes,
87 uint32 planes,
99 uint32 planes,
111 uint32 planes,
123 uint32 planes,
135 uint32 planes,
147 uint32 planes,
[all...]
H A Ddng_pixel_buffer.cpp366 uint32 planes, in dng_pixel_buffer()
373 , fPlanes (planes) in dng_pixel_buffer()
544 uint32 planes, in SetConstant()
563 planes, in SetConstant()
577 DoZeroBytes (dPtr, planes); in SetConstant()
588 planes, in SetConstant()
605 DoZeroBytes (dPtr, planes << 1); in SetConstant()
616 planes, in SetConstant()
633 DoZeroBytes (dPtr, planes << 2); in SetConstant()
644 planes, in SetConstant()
364 dng_pixel_buffer(const dng_rect &area, uint32 plane, uint32 planes, uint32 pixelType, uint32 planarConfiguration, void *data) dng_pixel_buffer() argument
542 SetConstant(const dng_rect &area, uint32 plane, uint32 planes, uint32 value) SetConstant() argument
668 SetZero(const dng_rect &area, uint32 plane, uint32 planes) SetZero() argument
710 CopyArea(const dng_pixel_buffer &src, const dng_rect &area, uint32 srcPlane, uint32 dstPlane, uint32 planes) CopyArea() argument
1435 uint32 planes = fPlanes; ShiftRight() local
1632 MaxDiff(const T *src1, int32 s1RowStep, int32 s1PlaneStep, const T *src2, int32 s2RowStep, int32 s2PlaneStep, uint32 rows, uint32 cols, uint32 planes) MaxDiff() argument
1678 MaxDiff(const T *src1, int32 s1ColStep, int32 s1RowStep, int32 s1PlaneStep, const T *src2, int32 s2ColStep, int32 s2RowStep, int32 s2PlaneStep, uint32 rows, uint32 cols, uint32 planes) MaxDiff() argument
[all...]
H A Ddng_pixel_buffer.h84 /// The pixel geometry describes the layout in terms of how many planes, rows and columns
96 // Range of planes this buffer holds.
173 /// \param planes Number of planes
176 /// \param planarConfiguration Layout of the pixel planes in memory: One
180 dng_pixel_buffer (const dng_rect &area, uint32 plane, uint32 planes,
203 /// Number of planes of image data.
204 /// \retval Number of planes held in buffer.
219 /// Step, in pixels not bytes, between planes of data in buffer.
500 /// \param planes Numbe
514 SetConstant_uint8(const dng_rect &area, uint32 plane, uint32 planes, uint8 value) SetConstant_uint8() argument
532 SetConstant_uint16(const dng_rect &area, uint32 plane, uint32 planes, uint16 value) SetConstant_uint16() argument
550 SetConstant_int16(const dng_rect &area, uint32 plane, uint32 planes, int16 value) SetConstant_int16() argument
568 SetConstant_uint32(const dng_rect &area, uint32 plane, uint32 planes, uint32 value) SetConstant_uint32() argument
586 SetConstant_real32(const dng_rect &area, uint32 plane, uint32 planes, real32 value) SetConstant_real32() argument
635 CopyArea(const dng_pixel_buffer &src, const dng_rect &area, uint32 plane, uint32 planes) CopyArea() argument
[all...]
H A Ddng_reference.cpp88 uint32 planes, in RefSetArea8()
104 for (uint32 plane = 0; plane < planes; plane++) in RefSetArea8()
129 uint32 planes, in RefSetArea16()
145 for (uint32 plane = 0; plane < planes; plane++) in RefSetArea16()
170 uint32 planes, in RefSetArea32()
186 for (uint32 plane = 0; plane < planes; plane++) in RefSetArea32()
211 uint32 planes, in RefCopyArea8()
232 for (uint32 plane = 0; plane < planes; plane++) in RefCopyArea8()
260 uint32 planes, in RefCopyArea16()
281 for (uint32 plane = 0; plane < planes; plan in RefCopyArea16()
84 RefSetArea8(uint8 *dPtr, uint8 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) RefSetArea8() argument
125 RefSetArea16(uint16 *dPtr, uint16 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) RefSetArea16() argument
166 RefSetArea32(uint32 *dPtr, uint32 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) RefSetArea32() argument
207 RefCopyArea8(const uint8 *sPtr, uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefCopyArea8() argument
256 RefCopyArea16(const uint16 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefCopyArea16() argument
305 RefCopyArea32(const uint32 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefCopyArea32() argument
354 RefCopyArea8_16(const uint8 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefCopyArea8_16() argument
403 RefCopyArea8_S16(const uint8 *sPtr, int16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefCopyArea8_S16() argument
454 RefCopyArea8_32(const uint8 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefCopyArea8_32() argument
503 RefCopyArea16_S16(const uint16 *sPtr, int16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefCopyArea16_S16() argument
552 RefCopyArea16_32(const uint16 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefCopyArea16_32() argument
601 RefCopyArea8_R32(const uint8 *sPtr, real32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) RefCopyArea8_R32() argument
653 RefCopyArea16_R32(const uint16 *sPtr, real32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) RefCopyArea16_R32() argument
705 RefCopyAreaS16_R32(const int16 *sPtr, real32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) RefCopyAreaS16_R32() argument
759 RefCopyAreaR32_8(const real32 *sPtr, uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) RefCopyAreaR32_8() argument
811 RefCopyAreaR32_16(const real32 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) RefCopyAreaR32_16() argument
863 RefCopyAreaR32_S16(const real32 *sPtr, int16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep, uint32 pixelRange) RefCopyAreaR32_S16() argument
917 RefRepeatArea8(const uint8 *sPtr, uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 repeatV, uint32 repeatH, uint32 phaseV, uint32 phaseH) RefRepeatArea8() argument
993 RefRepeatArea16(const uint16 *sPtr, uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 repeatV, uint32 repeatH, uint32 phaseV, uint32 phaseH) RefRepeatArea16() argument
1069 RefRepeatArea32(const uint32 *sPtr, uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 repeatV, uint32 repeatH, uint32 phaseV, uint32 phaseH) RefRepeatArea32() argument
1145 RefShiftRight16(uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep, uint32 shift) RefShiftRight16() argument
2032 RefEqualArea8(const uint8 *sPtr, const uint8 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefEqualArea8() argument
2084 RefEqualArea16(const uint16 *sPtr, const uint16 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefEqualArea16() argument
2136 RefEqualArea32(const uint32 *sPtr, const uint32 *dPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sColStep, int32 sPlaneStep, int32 dRowStep, int32 dColStep, int32 dPlaneStep) RefEqualArea32() argument
2238 RefVignette16(int16 *sPtr, const uint16 *mPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sPlaneStep, int32 mRowStep, uint32 mBits) RefVignette16() argument
2429 RefVignette32(real32 *sPtr, const uint16 *mPtr, uint32 rows, uint32 cols, uint32 planes, int32 sRowStep, int32 sPlaneStep, int32 mRowStep, uint32 mBits) RefVignette32() argument
[all...]
/third_party/skia/gm/
H A Dwacky_yuv_formats.cpp85 kNV12_YUVFormat, // 8-bit Y plane + 2x2 down sampled interleaved U/V planes (2 textures)
88 kI420_YUVFormat, // 8-bit Y plane + separate 2x2 down sampled U and V planes (3 textures)
89 kYV12_YUVFormat, // 8-bit Y plane + separate 2x2 down sampled V and U planes (3 textures)
206 // All the planes we need to construct the various YUV formats
384 PlaneData* planes) { in extract_planes()
398 // To test the identity color space we use JPEG YUV planes in extract_planes()
404 planes->fYFull.allocPixels( in extract_planes()
406 planes->fUFull.allocPixels( in extract_planes()
408 planes->fVFull.allocPixels( in extract_planes()
410 planes in extract_planes()
381 extract_planes(const SkBitmap& origBM, SkYUVColorSpace yuvColorSpace, SkEncodedOrigin origin, PlaneData* planes) extract_planes() argument
539 create_YUV(const PlaneData& planes, YUVFormat yuvFormat, SkBitmap resultBMs[], bool opaque) create_YUV() argument
829 PlaneData planes; createImages() local
1031 PlaneData planes; createImages() local
1200 std::array<sk_sp<SkImage>, SkYUVAInfo::kMaxPlanes> planes; global() variable
[all...]
H A Dimagefromyuvtextures.cpp69 static_cast<unsigned char*>(pixmaps.planes()[0].writable_addr()), in CreatePlanes()
70 static_cast<unsigned char*>(pixmaps.planes()[1].writable_addr()), in CreatePlanes()
71 static_cast<unsigned char*>(pixmaps.planes()[2].writable_addr()), in CreatePlanes()
72 static_cast<unsigned char*>(pixmaps.planes()[3].writable_addr()), in CreatePlanes()
79 for (int j = 0; j < pixmaps.planes()[0].height(); ++j) { in CreatePlanes()
80 for (int i = 0; i < pixmaps.planes()[0].width(); ++i) { in CreatePlanes()
86 yuvPixels[0][j*pixmaps.planes()[0].width() + i] = SkToU8( in CreatePlanes()
88 yuvPixels[3][j*pixmaps.planes()[0].width() + i] = SkToU8(sk_float_round2int( in CreatePlanes()
92 for (int j = 0; j < pixmaps.planes()[1].height(); ++j) { in CreatePlanes()
93 for (int i = 0; i < pixmaps.planes()[ in CreatePlanes()
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_sdma_copy_image.c77 unsigned bpp = image->planes[0].surface.bpe; in radv_sdma_v4_v5_copy_image_to_buffer()
79 uint64_t src_address = image->bindings[0].bo->va + image->planes[0].surface.u.gfx9.surf_offset; in radv_sdma_v4_v5_copy_image_to_buffer()
80 unsigned src_pitch = image->planes[0].surface.u.gfx9.surf_pitch; in radv_sdma_v4_v5_copy_image_to_buffer()
81 unsigned copy_width = DIV_ROUND_UP(image->info.width, image->planes[0].surface.blk_w); in radv_sdma_v4_v5_copy_image_to_buffer()
82 unsigned copy_height = DIV_ROUND_UP(image->info.height, image->planes[0].surface.blk_h); in radv_sdma_v4_v5_copy_image_to_buffer()
88 if (image->planes[0].surface.is_linear) { in radv_sdma_v4_v5_copy_image_to_buffer()
98 src_address += image->planes[0].surface.u.gfx9.offset[0]; in radv_sdma_v4_v5_copy_image_to_buffer()
143 (uint32_t)tiled_address | (image->planes[0].surface.tile_swizzle << 8)); in radv_sdma_v4_v5_copy_image_to_buffer()
150 util_logbase2(bpp) | image->planes[0].surface.u.gfx9.swizzle_mode << 3 | in radv_sdma_v4_v5_copy_image_to_buffer()
151 image->planes[ in radv_sdma_v4_v5_copy_image_to_buffer()
[all...]
H A Dradv_meta_fmask_copy.c230 assert(src_image->planes[0].surface.cmask_size == dst_image->planes[0].surface.cmask_size && in radv_fixup_copy_dst_metadata()
231 src_image->planes[0].surface.fmask_size == dst_image->planes[0].surface.fmask_size); in radv_fixup_copy_dst_metadata()
232 assert(src_image->planes[0].surface.fmask_offset + src_image->planes[0].surface.fmask_size == in radv_fixup_copy_dst_metadata()
233 src_image->planes[0].surface.cmask_offset && in radv_fixup_copy_dst_metadata()
234 dst_image->planes[0].surface.fmask_offset + dst_image->planes[0].surface.fmask_size == in radv_fixup_copy_dst_metadata()
235 dst_image->planes[ in radv_fixup_copy_dst_metadata()
[all...]
H A Dradv_image.c99 * with no Z planes compression. in radv_use_tc_compat_htile_for_image()
322 &image->planes[0].surface); in radv_image_use_dcc_image_stores()
522 radv_patch_surface_from_metadata(device, &image->planes[plane].surface, in radv_patch_image_from_extra_info()
527 image->planes[plane].surface.flags |= RADEON_SURF_SCANOUT; in radv_patch_image_from_extra_info()
529 image->planes[plane].surface.flags |= RADEON_SURF_DISABLE_DCC; in radv_patch_image_from_extra_info()
536 image->planes[plane].surface.flags |= RADEON_SURF_DISABLE_DCC; in radv_patch_image_from_extra_info()
773 struct radv_image_plane *plane = &image->planes[plane_id]; in si_set_mutable_tex_desc_fields()
1049 image->planes[0].surface.u.gfx9.color.dcc.max_compressed_block_size) | in gfx10_make_texture_descriptor()
1066 va = gpu_address + image->bindings[0].offset + image->planes[0].surface.fmask_offset; in gfx10_make_texture_descriptor()
1082 fmask_state[0] = (va >> 8) | image->planes[ in gfx10_make_texture_descriptor()
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_image.c334 * @see anv_image::planes[]::shadow_surface
381 if (!isl_aux_usage_has_fast_clears(image->planes[plane].aux_usage)) in can_fast_clear_with_non_zero_color()
392 image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_E) in can_fast_clear_with_non_zero_color()
404 enum isl_format img_format = image->planes[plane].primary_surface.isl.format; in can_fast_clear_with_non_zero_color()
649 assert(image->planes[plane].aux_usage != ISL_AUX_USAGE_NONE && in add_aux_state_tracking_buffer()
661 if (image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_E) { in add_aux_state_tracking_buffer()
688 &image->planes[plane].fast_clear_memory_range); in add_aux_state_tracking_buffer()
715 assert(!anv_surface_is_valid(&image->planes[plane].aux_surface)); in add_aux_surface_if_supported()
754 &image->planes[plane].primary_surface.isl, in add_aux_surface_if_supported()
755 &image->planes[plan in add_aux_surface_if_supported()
[all...]
/third_party/libdrm/tests/util/
H A Dpattern.c681 static void fill_smpte(const struct util_format_info *info, void *planes[3], in fill_smpte() argument
689 return fill_smpte_c8(planes[0], width, height, stride); in fill_smpte()
694 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte()
701 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_smpte()
702 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_smpte()
703 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v, in fill_smpte()
707 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[ in fill_smpte()
1008 fill_tiles(const struct util_format_info *info, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) fill_tiles() argument
1092 fill_plain(const struct util_format_info *info, void *planes[3], unsigned int height, unsigned int stride) fill_plain() argument
1191 fill_gradient(const struct util_format_info *info, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) fill_gradient() argument
1236 util_fill_pattern(uint32_t format, enum util_fill_pattern pattern, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) util_fill_pattern() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_pad.c260 int planes[4] = { -1, -1, -1, -1}, *p = planes; in buffer_needs_copy() local
263 /* get all planes in this buffer */ in buffer_needs_copy()
264 for (i = 0; i < FF_ARRAY_ELEMS(planes) && frame->data[i]; i++) { in buffer_needs_copy()
270 * going over buffer bounds or other planes */ in buffer_needs_copy()
271 for (i = 0; i < FF_ARRAY_ELEMS(planes) && planes[i] >= 0; i++) { in buffer_needs_copy()
272 int hsub = s->draw.hsub[planes[i]]; in buffer_needs_copy()
273 int vsub = s->draw.vsub[planes[i]]; in buffer_needs_copy()
275 uint8_t *start = frame->data[planes[ in buffer_needs_copy()
[all...]
H A Dvf_negate.c49 int planes; member
197 s->planes = s->negate_alpha ? 0xF : 0x7; in config_input()
210 s->planes = 0; in config_input()
213 s->planes |= 1; in config_input()
215 s->planes |= 2; in config_input()
217 s->planes |= 4; in config_input()
219 s->planes |= 8; in config_input()
222 s->planes |= 4; in config_input()
224 s->planes |= 1; in config_input()
226 s->planes | in config_input()
[all...]
/third_party/libdrm/tests/modetest/
H A Dbuffers.c133 void *planes[3] = { 0, }; in bo_create() local
251 planes[0] = virtual; in bo_create()
265 planes[0] = virtual; in bo_create()
266 planes[1] = virtual + offsets[1]; in bo_create()
281 planes[0] = virtual; in bo_create()
282 planes[1] = virtual + offsets[1]; in bo_create()
283 planes[2] = virtual + offsets[2]; in bo_create()
331 planes[0] = virtual; in bo_create()
335 util_fill_pattern(format, pattern, planes, width, height, pitches[0]); in bo_create()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLIOSurfaceClientBufferTest.cpp81 ScopedIOSurfaceRef CreateIOSurface(int32_t format, const std::vector<IOSurfacePlaneInfo> &planes) in CreateIOSurface() argument
83 EXPECT_GT(planes.size(), 0u); in CreateIOSurface()
87 AddIntegerValue(dict, kIOSurfaceWidth, planes[0].width); in CreateIOSurface()
88 AddIntegerValue(dict, kIOSurfaceHeight, planes[0].height); in CreateIOSurface()
91 if (planes.size() > 1) in CreateIOSurface()
94 CFArrayCreateMutable(kCFAllocatorDefault, planes.size(), &kCFTypeArrayCallBacks); in CreateIOSurface()
95 for (const IOSurfacePlaneInfo &plane : planes) in CreateIOSurface()
113 AddIntegerValue(dict, kIOSurfaceBytesPerElement, planes[0].bytesPerElement); in CreateIOSurface()
128 std::vector<IOSurfacePlaneInfo> planes{{width, height, bytesPerElement}}; in CreateSinglePlaneIOSurface()
129 return CreateIOSurface(format, planes); in CreateSinglePlaneIOSurface()
[all...]

Completed in 24 milliseconds

1234567891011