Home | History | Annotate | Download | only in dsp

Lines Matching full:num_pixels

238 void VP8LAddGreenToBlueAndRed_C(uint32_t* data, int num_pixels) {
240 for (i = 0; i < num_pixels; ++i) {
263 int num_pixels) {
265 for (i = 0; i < num_pixels; ++i) {
417 int num_pixels, uint8_t* dst) {
418 const uint32_t* const src_end = src + num_pixels;
428 int num_pixels, uint8_t* dst) {
429 const uint32_t* const src_end = src + num_pixels;
440 int num_pixels, uint8_t* dst) {
441 const uint32_t* const src_end = src + num_pixels;
457 int num_pixels, uint8_t* dst) {
458 const uint32_t* const src_end = src + num_pixels;
474 int num_pixels, uint8_t* dst) {
475 const uint32_t* const src_end = src + num_pixels;
484 static void CopyOrSwap(const uint32_t* src, int num_pixels, uint8_t* dst,
487 const uint32_t* const src_end = src + num_pixels;
509 memcpy(dst, src, num_pixels * sizeof(*src));
513 void VP8LConvertFromBGRA(const uint32_t* const in_data, int num_pixels,
517 VP8LConvertBGRAToRGB(in_data, num_pixels, rgba);
520 VP8LConvertBGRAToRGBA(in_data, num_pixels, rgba);
523 VP8LConvertBGRAToRGBA(in_data, num_pixels, rgba);
524 WebPApplyAlphaMultiply(rgba, 0, num_pixels, 1, 0);
527 VP8LConvertBGRAToBGR(in_data, num_pixels, rgba);
530 CopyOrSwap(in_data, num_pixels, rgba, 1);
533 CopyOrSwap(in_data, num_pixels, rgba, 1);
534 WebPApplyAlphaMultiply(rgba, 0, num_pixels, 1, 0);
537 CopyOrSwap(in_data, num_pixels, rgba, 0);
540 CopyOrSwap(in_data, num_pixels, rgba, 0);
541 WebPApplyAlphaMultiply(rgba, 1, num_pixels, 1, 0);
544 VP8LConvertBGRAToRGBA4444(in_data, num_pixels, rgba);
547 VP8LConvertBGRAToRGBA4444(in_data, num_pixels, rgba);
548 WebPApplyAlphaMultiply4444(rgba, num_pixels, 1, 0);
551 VP8LConvertBGRAToRGB565(in_data, num_pixels, rgba);