/external/webrtc/test/testsupport/ |
D | video_frame_writer_unittest.cc | 48 int chroma_width = buffer->ChromaWidth(); in CreateI420Buffer() local 50 for (int x = 0; x < chroma_width; x++) { in CreateI420Buffer() 52 buffer->MutableDataU()[x + y * chroma_width] = 1; in CreateI420Buffer() 53 buffer->MutableDataV()[x + y * chroma_width] = 255; in CreateI420Buffer() 77 int chroma_width = expected->ChromaWidth(); in AssertI420BuffersEq() local 79 for (int x = 0; x < chroma_width; x++) { in AssertI420BuffersEq() 81 ASSERT_EQ(actual->DataU()[x + y * chroma_width], in AssertI420BuffersEq() 82 expected->DataU()[x + y * chroma_width]); in AssertI420BuffersEq() 83 ASSERT_EQ(actual->DataV()[x + y * chroma_width], in AssertI420BuffersEq() 84 expected->DataV()[x + y * chroma_width]); in AssertI420BuffersEq()
|
/external/libgav1/src/dsp/arm/ |
D | film_grain_neon.cc | 266 const int chroma_width = in ApplyAutoRegressiveFilterToChromaGrains_NEON() local 273 (chroma_width - 2 * kAutoRegressionBorder) & 7; in ApplyAutoRegressiveFilterToChromaGrains_NEON() 277 u_grain += chroma_width * y; in ApplyAutoRegressiveFilterToChromaGrains_NEON() 278 v_grain += chroma_width * y; in ApplyAutoRegressiveFilterToChromaGrains_NEON() 302 GetSignedSource8(u_grain + x + delta_row * chroma_width - in ApplyAutoRegressiveFilterToChromaGrains_NEON() 305 GetSignedSource8(u_grain + x + delta_row * chroma_width - in ApplyAutoRegressiveFilterToChromaGrains_NEON() 308 GetSignedSource8(v_grain + x + delta_row * chroma_width - in ApplyAutoRegressiveFilterToChromaGrains_NEON() 311 GetSignedSource8(v_grain + x + delta_row * chroma_width - in ApplyAutoRegressiveFilterToChromaGrains_NEON() 374 } while (x < chroma_width - kAutoRegressionBorder - chroma_width_remainder); in ApplyAutoRegressiveFilterToChromaGrains_NEON() 390 u_grain + x + delta_row * chroma_width - auto_regression_coeff_lag); in ApplyAutoRegressiveFilterToChromaGrains_NEON() [all …]
|
/external/webrtc/sdk/objc/unittests/ |
D | frame_buffer_helpers.mm | 58 int chroma_width = buffer->ChromaWidth(); 60 for (int x = 0; x < chroma_width; x++) { 62 buffer->MutableDataU()[x + y * chroma_width] = 255 * x / (chroma_width - 1); 63 buffer->MutableDataV()[x + y * chroma_width] = 255 * y / (chroma_height - 1);
|
/external/libgav1/src/ |
D | film_grain.cc | 389 int chroma_width, in GenerateChromaGrains() argument 395 memset(u_grain, 0, chroma_height * chroma_width * sizeof(*u_grain)); in GenerateChromaGrains() 399 assert(chroma_width > 0); in GenerateChromaGrains() 407 } while (++x < chroma_width); in GenerateChromaGrains() 409 u_grain_row += chroma_width; in GenerateChromaGrains() 413 memset(v_grain, 0, chroma_height * chroma_width * sizeof(*v_grain)); in GenerateChromaGrains() 423 } while (++x < chroma_width); in GenerateChromaGrains() 425 v_grain_row += chroma_width; in GenerateChromaGrains()
|
D | film_grain_test.cc | 956 const int chroma_width = 44; in TEST() local 963 for (int x = 0; x < chroma_width; ++x) { in TEST() 964 EXPECT_NE(u_grain[y * chroma_width + x], 0); in TEST() 965 EXPECT_NE(v_grain[y * chroma_width + x], 0); in TEST() 969 FilmGrain<8>::GenerateChromaGrains(film_grain_params, chroma_width, in TEST() 973 for (int x = 0; x < chroma_width; ++x) { in TEST() 974 EXPECT_EQ(u_grain[y * chroma_width + x], 0); in TEST() 975 EXPECT_EQ(v_grain[y * chroma_width + x], 0); in TEST() 1266 const int chroma_width = in TestAutoRegressiveFilterChroma() local 1322 chroma_width, chroma_height, in TestAutoRegressiveFilterChroma() [all …]
|
D | film_grain.h | 86 int chroma_width, int chroma_height,
|
/external/libgav1/src/dsp/x86/ |
D | film_grain_sse4.cc | 230 const int chroma_width = (width + subsampling_x) >> subsampling_x; in BlendChromaPlaneWithCfl_SSE4_1() local 233 const int safe_chroma_width = (chroma_width - (width & 1)) & ~7; in BlendChromaPlaneWithCfl_SSE4_1() 257 if (x < chroma_width) { in BlendChromaPlaneWithCfl_SSE4_1() 353 const int chroma_width = (width + subsampling_x) >> subsampling_x; in BlendChromaPlane8bpp_SSE4_1() local 357 const int safe_chroma_width = (chroma_width - (width & 1)) & ~7; in BlendChromaPlane8bpp_SSE4_1() 379 if (x < chroma_width) { in BlendChromaPlane8bpp_SSE4_1() 391 const int valid_range_chroma = chroma_width - x; in BlendChromaPlane8bpp_SSE4_1()
|
/external/libgav1/src/dsp/ |
D | film_grain.cc | 181 const int chroma_width = in ApplyAutoRegressiveFilterToChromaGrains_C() local 187 x < chroma_width - kAutoRegressionBorder; ++x) { in ApplyAutoRegressiveFilterToChromaGrains_C() 201 u_grain[(y + delta_row) * chroma_width + (x + delta_column)] * in ApplyAutoRegressiveFilterToChromaGrains_C() 204 v_grain[(y + delta_row) * chroma_width + (x + delta_column)] * in ApplyAutoRegressiveFilterToChromaGrains_C() 226 u_grain[y * chroma_width + x] = Clip3( in ApplyAutoRegressiveFilterToChromaGrains_C() 227 u_grain[y * chroma_width + x] + RightShiftWithRounding(sum_u, shift), in ApplyAutoRegressiveFilterToChromaGrains_C() 229 v_grain[y * chroma_width + x] = Clip3( in ApplyAutoRegressiveFilterToChromaGrains_C() 230 v_grain[y * chroma_width + x] + RightShiftWithRounding(sum_v, shift), in ApplyAutoRegressiveFilterToChromaGrains_C() 543 const int chroma_width = (width + subsampling_x) >> subsampling_x; in BlendNoiseWithImageChroma_C() local 587 } while (++x < chroma_width); in BlendNoiseWithImageChroma_C() [all …]
|
/external/webrtc/common_video/ |
D | video_frame_unittest.cc | 67 int chroma_width = buffer->ChromaWidth(); in CreateGradient() local 69 for (int x = 0; x < chroma_width; x++) { in CreateGradient() 71 buffer->MutableDataU()[x + y * chroma_width] = in CreateGradient() 72 255 * x / (chroma_width - 1); in CreateGradient() 73 buffer->MutableDataV()[x + y * chroma_width] = in CreateGradient() 91 int chroma_width = buffer->ChromaWidth(); in CreateNV12Gradient() local 93 for (int x = 0; x < chroma_width; x++) { in CreateNV12Gradient() 96 255 * x / (chroma_width - 1); in CreateNV12Gradient()
|
/external/webrtc/media/base/ |
D | fake_video_renderer.cc | 49 int chroma_width = i420_buffer->ChromaWidth(); in CheckFrameColorYuv() local 58 for (int j = 0; j < chroma_width; ++j) { in CheckFrameColorYuv()
|
/external/webrtc/common_video/libyuv/ |
D | webrtc_libyuv.cc | 68 int chroma_width = input_frame->ChromaWidth(); in ExtractBuffer() local 74 buffer + width * height, chroma_width, in ExtractBuffer() 75 buffer + width * height + chroma_width * chroma_height, in ExtractBuffer() 76 chroma_width, width, height); in ExtractBuffer()
|
D | libyuv_unittest.cc | 49 int chroma_width = frame.ChromaWidth(); in PrintVideoFrame() local 55 if (PrintPlane(frame.DataU(), chroma_width, chroma_height, frame.StrideU(), in PrintVideoFrame() 59 if (PrintPlane(frame.DataV(), chroma_width, chroma_height, frame.StrideV(), in PrintVideoFrame()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mpeg12_decoder.h | 51 unsigned chroma_width, chroma_height; member
|
D | vl_mpeg12_decoder.c | 952 if (!vl_zscan_init(&dec->zscan_c, dec->context, dec->chroma_width, dec->chroma_height, in init_zscan() 1020 if(!vl_idct_init(&dec->idct_c, dec->context, dec->chroma_width, dec->chroma_height, in init_idct() 1142 dec->chroma_width = dec->base.width / 2; in vl_create_mpeg12_decoder() 1146 dec->chroma_width = dec->base.width / 2; in vl_create_mpeg12_decoder() 1150 dec->chroma_width = dec->base.width; in vl_create_mpeg12_decoder()
|
/external/libvpx/vp9/encoder/x86/ |
D | temporal_filter_sse4.c | 804 chroma_width = block_width >> ss_x; in vp9_apply_temporal_filter_sse4_1() local 847 for (blk_col = 0; blk_col < chroma_width; blk_col += 8) { in vp9_apply_temporal_filter_sse4_1()
|
D | highbd_temporal_filter_sse4.c | 821 chroma_width = block_width >> ss_x; in vp9_highbd_apply_temporal_filter_sse4_1() local 864 for (blk_col = 0; blk_col < chroma_width; blk_col += 8) { in vp9_highbd_apply_temporal_filter_sse4_1()
|