/third_party/ffmpeg/libavcodec/ |
D | qtrle.c | 52 if ((pixel_ptr + n > pixel_limit) || (pixel_ptr + n < 0)) { \ 54 pixel_ptr + n, pixel_limit); \ 61 int pixel_ptr; in qtrle_decode_1bpp() local 77 pixel_ptr = row_ptr; in qtrle_decode_1bpp() 87 pixel_ptr = row_ptr + 2 * 8 * (skip & 0x7f); in qtrle_decode_1bpp() 89 pixel_ptr += 2 * 8 * skip; in qtrle_decode_1bpp() 106 rgb[pixel_ptr++] = (pi0 >> 7) & 0x01; in qtrle_decode_1bpp() 107 rgb[pixel_ptr++] = (pi0 >> 6) & 0x01; in qtrle_decode_1bpp() 108 rgb[pixel_ptr++] = (pi0 >> 5) & 0x01; in qtrle_decode_1bpp() 109 rgb[pixel_ptr++] = (pi0 >> 4) & 0x01; in qtrle_decode_1bpp() [all …]
|
D | interplayvideo.c | 70 unsigned char *pixel_ptr; member 81 int current_offset = s->pixel_ptr - dst->data[0]; in copy_from() 100 s->hdsp.put_pixels_tab[!s->is_16bpp][0](s->pixel_ptr, src->data[0] + motion_offset, in copy_from() 229 *s->pixel_ptr++ = P[flags & 1]; in ipvideo_decode_block_opcode_0x7() 230 s->pixel_ptr += s->line_inc; in ipvideo_decode_block_opcode_0x7() 239 s->pixel_ptr[x ] = in ipvideo_decode_block_opcode_0x7() 240 s->pixel_ptr[x + 1 ] = in ipvideo_decode_block_opcode_0x7() 241 s->pixel_ptr[x + s->stride] = in ipvideo_decode_block_opcode_0x7() 242 s->pixel_ptr[x + 1 + s->stride] = P[flags & 1]; in ipvideo_decode_block_opcode_0x7() 244 s->pixel_ptr += s->stride * 2; in ipvideo_decode_block_opcode_0x7() [all …]
|
D | lcldec.c | 165 unsigned int pixel_ptr; in decode_frame() local 296 pixel_ptr = row * width * 3; in decode_frame() 297 yq = encoded[pixel_ptr++]; in decode_frame() 298 uqvq = AV_RL16(encoded+pixel_ptr); in decode_frame() 299 pixel_ptr += 2; in decode_frame() 301 encoded[pixel_ptr] = yq -= encoded[pixel_ptr]; in decode_frame() 302 uqvq -= AV_RL16(encoded+pixel_ptr+1); in decode_frame() 303 AV_WL16(encoded+pixel_ptr+1, uqvq); in decode_frame() 304 pixel_ptr += 3; in decode_frame() 310 pixel_ptr = row * width * 2; in decode_frame() [all …]
|
D | flicvideo.c | 65 if (pixel_ptr + n > pixel_limit) { \ 67 pixel_ptr + n, pixel_limit); \ 157 int pixel_ptr; in flic_decode_frame_8BPP() local 288 pixel_ptr= y_ptr + s->frame->linesize[0] - 1; in flic_decode_frame_8BPP() 290 pixels[pixel_ptr] = line_packets & 0xff; in flic_decode_frame_8BPP() 293 pixel_ptr = y_ptr; in flic_decode_frame_8BPP() 301 pixel_ptr += pixel_skip; in flic_decode_frame_8BPP() 310 pixels[pixel_ptr++] = palette_idx1; in flic_decode_frame_8BPP() 311 pixels[pixel_ptr++] = palette_idx2; in flic_decode_frame_8BPP() 318 pixels[pixel_ptr++] = bytestream2_get_byte(&g2); in flic_decode_frame_8BPP() [all …]
|
D | msrledec.c | 39 int pixel_ptr = 0; in msrle_decode_pal4() local 43 while (line >= 0 && pixel_ptr <= avctx->width) { in msrle_decode_pal4() 47 avctx->width - pixel_ptr, line); in msrle_decode_pal4() 57 pixel_ptr = 0; in msrle_decode_pal4() 64 pixel_ptr += stream_byte; in msrle_decode_pal4() 72 if (pixel_ptr + 2*rle_code - odd_pixel > avctx->width || in msrle_decode_pal4() 80 if (pixel_ptr >= avctx->width) in msrle_decode_pal4() 83 pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte >> 4; in msrle_decode_pal4() 84 pixel_ptr++; in msrle_decode_pal4() 87 if (pixel_ptr >= avctx->width) in msrle_decode_pal4() [all …]
|
D | smc.c | 66 pixel_ptr += 4; \ 67 if (pixel_ptr >= width) \ 69 pixel_ptr = 0; \ 99 int pixel_ptr = 0; in smc_decode_stream() local 157 if ((row_ptr == 0) && (pixel_ptr == 0)) { in smc_decode_stream() 164 if (pixel_ptr == 0) in smc_decode_stream() 168 prev_block_ptr1 = row_ptr + pixel_ptr - 4; in smc_decode_stream() 171 block_ptr = row_ptr + pixel_ptr; in smc_decode_stream() 191 if ((row_ptr == 0) && (pixel_ptr < 2 * 4)) { in smc_decode_stream() 198 if (pixel_ptr == 0) in smc_decode_stream() [all …]
|
D | msvideo1.c | 88 int block_ptr, pixel_ptr; in msvideo1_decode_8bit() local 124 pixel_ptr = block_ptr; in msvideo1_decode_8bit() 147 pixels[pixel_ptr++] = colors[(flags & 0x1) ^ 1]; in msvideo1_decode_8bit() 148 pixel_ptr -= row_dec; in msvideo1_decode_8bit() 160 pixels[pixel_ptr++] = in msvideo1_decode_8bit() 163 pixel_ptr -= row_dec; in msvideo1_decode_8bit() 171 pixels[pixel_ptr++] = colors[0]; in msvideo1_decode_8bit() 172 pixel_ptr -= row_dec; in msvideo1_decode_8bit() 188 int block_ptr, pixel_ptr; in msvideo1_decode_16bit() local 224 pixel_ptr = block_ptr; in msvideo1_decode_16bit() [all …]
|
D | rpza.c | 64 pixel_ptr += 4; \ 65 if (pixel_ptr >= width) \ 67 pixel_ptr = 0; \ 84 int pixel_ptr = 0; in rpza_decode_stream() local 153 block_ptr = row_ptr + pixel_ptr; in rpza_decode_stream() 199 block_ptr = row_ptr + pixel_ptr; in rpza_decode_stream() 218 block_ptr = row_ptr + pixel_ptr; in rpza_decode_stream()
|
D | vqavideo.c | 342 int pixel_ptr; in vqa_decode_chunk() local 486 pixel_ptr = y * frame->linesize[0] + x; in vqa_decode_chunk() 501 frame->data[0][pixel_ptr + 0] = 255 - lobyte; in vqa_decode_chunk() 502 frame->data[0][pixel_ptr + 1] = 255 - lobyte; in vqa_decode_chunk() 503 frame->data[0][pixel_ptr + 2] = 255 - lobyte; in vqa_decode_chunk() 504 frame->data[0][pixel_ptr + 3] = 255 - lobyte; in vqa_decode_chunk() 505 pixel_ptr += frame->linesize[0]; in vqa_decode_chunk() 526 frame->data[0][pixel_ptr + 0] = s->codebook[vector_index++]; in vqa_decode_chunk() 527 frame->data[0][pixel_ptr + 1] = s->codebook[vector_index++]; in vqa_decode_chunk() 528 frame->data[0][pixel_ptr + 2] = s->codebook[vector_index++]; in vqa_decode_chunk() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs_linear_llvm.c | 476 LLVMValueRef buf, elem, result, pixel_ptr; in llvmpipe_fs_variant_linear_llvm() local 482 pixel_ptr = LLVMBuildGEP(gallivm->builder, color0_ptr, &width, 1, ""); in llvmpipe_fs_variant_linear_llvm() 483 pixel_ptr = LLVMBuildBitCast(gallivm->builder, pixel_ptr, LLVMPointerType(int32t, 0), ""); in llvmpipe_fs_variant_linear_llvm() 488 elem = lp_build_pointer_get(gallivm->builder, pixel_ptr, loop_read.counter); in llvmpipe_fs_variant_linear_llvm() 508 lp_build_pointer_set(gallivm->builder, pixel_ptr, loop_write.counter, elem); in llvmpipe_fs_variant_linear_llvm()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles3/ |
D | es3cCopyTexImageConversionsTests.cpp | 8431 const PixelData* pixel_ptr = pixels[n_pixel]; in getRawDataFromPixelData() local 8437 channels[0] = &pixel_ptr->alpha; in getRawDataFromPixelData() 8438 channels[1] = &pixel_ptr->blue; in getRawDataFromPixelData() 8439 channels[2] = &pixel_ptr->green; in getRawDataFromPixelData() 8440 channels[3] = &pixel_ptr->red; in getRawDataFromPixelData() 8446 channels[0] = &pixel_ptr->blue; in getRawDataFromPixelData() 8447 channels[1] = &pixel_ptr->green; in getRawDataFromPixelData() 8448 channels[2] = &pixel_ptr->red; in getRawDataFromPixelData() 8454 channels[0] = &pixel_ptr->blue; in getRawDataFromPixelData() 8455 channels[1] = &pixel_ptr->green; in getRawDataFromPixelData() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cShaderSubroutineTests.cpp | 9350 const float* pixel_ptr = row_ptr + 4 /* rgba */ * x; in verifyRenderedData() local 9352 if (de::abs(pixel_ptr[0] - expected_data[0]) > epsilon || in verifyRenderedData() 9353 de::abs(pixel_ptr[1] - expected_data[1]) > epsilon || in verifyRenderedData() 9354 de::abs(pixel_ptr[2] - expected_data[2]) > epsilon || in verifyRenderedData() 9355 de::abs(pixel_ptr[3] - expected_data[3]) > epsilon) in verifyRenderedData() 9361 << expected_data[3] << "), found:(" << pixel_ptr[0] << ", " << pixel_ptr[1] << ", " in verifyRenderedData() 9362 << pixel_ptr[2] << ", " << pixel_ptr[3] << ")." << tcu::TestLog::EndMessage; in verifyRenderedData()
|
D | gl4cTextureViewTests.cpp | 4674 const unsigned char* pixel_ptr = row_ptr + x * 4 /* RGBA */; in executeTest() local 4676 if (pixel_ptr[0] != 255 || pixel_ptr[1] != 255 || pixel_ptr[2] != 255 || pixel_ptr[3] != 255) in executeTest()
|
D | gl4cGPUShaderFP64Tests.cpp | 9188 const unsigned char* pixel_ptr = row_ptr + 4 /* rgba */ * x; in executeFunctionalTest() local 9190 if (de::abs(pixel_ptr[0]) > epsilon || de::abs(pixel_ptr[1] - 255) > epsilon || in executeFunctionalTest() 9191 de::abs(pixel_ptr[2]) > epsilon || de::abs(pixel_ptr[3]) > epsilon) in executeFunctionalTest() 9196 << (int)pixel_ptr[0] << ", " << (int)pixel_ptr[1] << ", " << (int)pixel_ptr[2] in executeFunctionalTest() 9197 << ", " << (int)pixel_ptr[3] in executeFunctionalTest()
|