Home
last modified time | relevance | path

Searched refs:y_ptr (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dflicvideo.c179 int y_ptr; in flic_decode_frame_8BPP() local
270 y_ptr = 0; in flic_decode_frame_8BPP()
275 if (y_ptr > pixel_limit) in flic_decode_frame_8BPP()
283 y_ptr += line_packets * s->frame->linesize[0]; in flic_decode_frame_8BPP()
288 pixel_ptr= y_ptr + s->frame->linesize[0] - 1; in flic_decode_frame_8BPP()
293 pixel_ptr = y_ptr; in flic_decode_frame_8BPP()
323 y_ptr += s->frame->linesize[0]; in flic_decode_frame_8BPP()
333 y_ptr = 0; in flic_decode_frame_8BPP()
334 y_ptr += starting_line * s->frame->linesize[0]; in flic_decode_frame_8BPP()
338 pixel_ptr = y_ptr; in flic_decode_frame_8BPP()
[all …]
Dcyuv.c71 int y_ptr; in cyuv_decode_frame() local
125 for (y_ptr = 0, u_ptr = 0, v_ptr = 0; in cyuv_decode_frame()
126 y_ptr < (s->height * frame->linesize[0]); in cyuv_decode_frame()
127 y_ptr += frame->linesize[0] - s->width, in cyuv_decode_frame()
134 y_plane[y_ptr++] = y_pred = (cur_byte & 0x0F) << 4; in cyuv_decode_frame()
139 y_plane[y_ptr++] = y_pred; in cyuv_decode_frame()
143 y_plane[y_ptr++] = y_pred; in cyuv_decode_frame()
145 y_plane[y_ptr++] = y_pred; in cyuv_decode_frame()
155 y_plane[y_ptr++] = y_pred; in cyuv_decode_frame()
161 y_plane[y_ptr++] = y_pred; in cyuv_decode_frame()
[all …]
Ddvdec.c325 uint8_t *y_ptr; in dv_decode_video_segment() local
484 y_ptr = s->frame->data[0] + in dv_decode_video_segment()
487 dv100_idct_put_last_row_field_luma(s, y_ptr, s->frame->linesize[0], block); in dv_decode_video_segment()
490 mb[0].idct_put(y_ptr, linesize, block + 0 * 64); in dv_decode_video_segment()
492 mb[2].idct_put(y_ptr + (1 << log2_blocksize), linesize, block + 2 * 64); in dv_decode_video_segment()
494 mb[1].idct_put(y_ptr + (1 << log2_blocksize), linesize, block + 1 * 64); in dv_decode_video_segment()
495 mb[2].idct_put(y_ptr + y_stride, linesize, block + 2 * 64); in dv_decode_video_segment()
496 mb[3].idct_put(y_ptr + (1 << log2_blocksize) + y_stride, linesize, block + 3 * 64); in dv_decode_video_segment()
Ddvenc.c845 uint8_t *y_ptr; in dv_encode_video_segment() local
863 y_ptr = s->frame->data[0] + (mb_y * s->frame->linesize[0] + mb_x) * 8; in dv_encode_video_segment()
867 enc_blk->dct_mode = dv_guess_dct_mode(s, y_ptr, linesize); in dv_encode_video_segment()
881 y_ptr = s->frame->data[0] + in dv_encode_video_segment()
887 dv_init_enc_block(enc_blk + 0, y_ptr, linesize, s, 0) + in dv_encode_video_segment()
889 dv_init_enc_block(enc_blk + 2, y_ptr + 8, linesize, s, 0) + in dv_encode_video_segment()
893 dv_init_enc_block(enc_blk + 0, y_ptr, linesize, s, 0) + in dv_encode_video_segment()
894 dv_init_enc_block(enc_blk + 1, y_ptr + 8, linesize, s, 0) + in dv_encode_video_segment()
895 dv_init_enc_block(enc_blk + 2, y_ptr + y_stride, linesize, s, 0) + in dv_encode_video_segment()
896 dv_init_enc_block(enc_blk + 3, y_ptr + 8 + y_stride, linesize, s, 0); in dv_encode_video_segment()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_tools_enc.c55 static int SmoothenBlock(const uint8_t* a_ptr, int a_stride, uint8_t* y_ptr, in SmoothenBlock() argument
60 uint8_t* luma_ptr = y_ptr; in SmoothenBlock()
74 luma_ptr = y_ptr; in SmoothenBlock()
116 uint8_t* y_ptr = pic->y; in WebPCleanupTransparentArea() local
121 if (a_ptr == NULL || y_ptr == NULL || u_ptr == NULL || v_ptr == NULL) { in WebPCleanupTransparentArea()
127 if (SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
130 values[0] = y_ptr[x]; in WebPCleanupTransparentArea()
135 Flatten(y_ptr + x, values[0], y_stride, SIZE); in WebPCleanupTransparentArea()
143 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
147 y_ptr += SIZE * y_stride; in WebPCleanupTransparentArea()
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_tools_enc.c55 static int SmoothenBlock(const uint8_t* a_ptr, int a_stride, uint8_t* y_ptr, in SmoothenBlock() argument
60 uint8_t* luma_ptr = y_ptr; in SmoothenBlock()
74 luma_ptr = y_ptr; in SmoothenBlock()
129 uint8_t* y_ptr = pic->y; in WebPCleanupTransparentArea() local
134 if (a_ptr == NULL || y_ptr == NULL || u_ptr == NULL || v_ptr == NULL) { in WebPCleanupTransparentArea()
140 if (SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
143 values[0] = y_ptr[x]; in WebPCleanupTransparentArea()
148 Flatten(y_ptr + x, values[0], y_stride, SIZE); in WebPCleanupTransparentArea()
156 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
160 y_ptr += SIZE * y_stride; in WebPCleanupTransparentArea()
[all …]
/third_party/mesa3d/src/glx/
Dglxcmds.c2359 INT32 *x_ptr, *y_ptr, *w_ptr, *h_ptr; in glXCopySubBufferMESA() local
2401 y_ptr = (INT32 *) (drawable_ptr + 2); in glXCopySubBufferMESA()
2407 *y_ptr = y; in glXCopySubBufferMESA()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs15699 let y_ptr = Weak::into_raw(y); localVariable
15701 assert_eq!(**y_ptr, "hello");
15703 let y = Weak::from_raw(y_ptr);
26581 let y_ptr = Weak::into_raw(y); localVariable
26583 assert_eq!(**y_ptr, "hello");
26585 let y = Weak::from_raw(y_ptr);