Home
last modified time | relevance | path

Searched refs:chroma_width (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/test/testsupport/
Dvideo_frame_writer_unittest.cc47 int chroma_width = buffer->ChromaWidth(); in CreateI420Buffer() local
49 for (int x = 0; x < chroma_width; x++) { in CreateI420Buffer()
51 buffer->MutableDataU()[x + y * chroma_width] = 1; in CreateI420Buffer()
52 buffer->MutableDataV()[x + y * chroma_width] = 255; in CreateI420Buffer()
76 int chroma_width = expected->ChromaWidth(); in AssertI420BuffersEq() local
78 for (int x = 0; x < chroma_width; x++) { in AssertI420BuffersEq()
80 ASSERT_EQ(actual->DataU()[x + y * chroma_width], in AssertI420BuffersEq()
81 expected->DataU()[x + y * chroma_width]); in AssertI420BuffersEq()
82 ASSERT_EQ(actual->DataV()[x + y * chroma_width], in AssertI420BuffersEq()
83 expected->DataV()[x + y * chroma_width]); in AssertI420BuffersEq()
/external/libgav1/libgav1/src/dsp/arm/
Dfilm_grain_neon.cc238 const int chroma_width = in ApplyAutoRegressiveFilterToChromaGrains_NEON() local
245 (chroma_width - 2 * kAutoRegressionBorder) & 7; in ApplyAutoRegressiveFilterToChromaGrains_NEON()
249 u_grain += chroma_width * y; in ApplyAutoRegressiveFilterToChromaGrains_NEON()
250 v_grain += chroma_width * y; in ApplyAutoRegressiveFilterToChromaGrains_NEON()
274 GetSignedSource8(u_grain + x + delta_row * chroma_width - in ApplyAutoRegressiveFilterToChromaGrains_NEON()
277 GetSignedSource8(u_grain + x + delta_row * chroma_width - in ApplyAutoRegressiveFilterToChromaGrains_NEON()
280 GetSignedSource8(v_grain + x + delta_row * chroma_width - in ApplyAutoRegressiveFilterToChromaGrains_NEON()
283 GetSignedSource8(v_grain + x + delta_row * chroma_width - in ApplyAutoRegressiveFilterToChromaGrains_NEON()
346 } while (x < chroma_width - kAutoRegressionBorder - chroma_width_remainder); in ApplyAutoRegressiveFilterToChromaGrains_NEON()
362 u_grain + x + delta_row * chroma_width - auto_regression_coeff_lag); in ApplyAutoRegressiveFilterToChromaGrains_NEON()
[all …]
/external/webrtc/sdk/objc/unittests/
Dframe_buffer_helpers.mm58 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/libgav1/src/dsp/
Dfilm_grain.cc173 const int chroma_width = in ApplyAutoRegressiveFilterToChromaGrains_C() local
179 x < chroma_width - kAutoRegressionBorder; ++x) { in ApplyAutoRegressiveFilterToChromaGrains_C()
193 u_grain[(y + delta_row) * chroma_width + (x + delta_column)] * in ApplyAutoRegressiveFilterToChromaGrains_C()
196 v_grain[(y + delta_row) * chroma_width + (x + delta_column)] * in ApplyAutoRegressiveFilterToChromaGrains_C()
218 u_grain[y * chroma_width + x] = Clip3( in ApplyAutoRegressiveFilterToChromaGrains_C()
219 u_grain[y * chroma_width + x] + RightShiftWithRounding(sum_u, shift), in ApplyAutoRegressiveFilterToChromaGrains_C()
221 v_grain[y * chroma_width + x] = Clip3( in ApplyAutoRegressiveFilterToChromaGrains_C()
222 v_grain[y * chroma_width + x] + RightShiftWithRounding(sum_v, shift), in ApplyAutoRegressiveFilterToChromaGrains_C()
537 const int chroma_width = (width + subsampling_x) >> subsampling_x; in BlendNoiseWithImageChroma_C() local
581 } while (++x < chroma_width); in BlendNoiseWithImageChroma_C()
[all …]
/external/libgav1/libgav1/src/
Dfilm_grain.cc381 int chroma_width, in GenerateChromaGrains() argument
387 memset(u_grain, 0, chroma_height * chroma_width * sizeof(*u_grain)); in GenerateChromaGrains()
391 assert(chroma_width > 0); in GenerateChromaGrains()
399 } while (++x < chroma_width); in GenerateChromaGrains()
401 u_grain_row += chroma_width; in GenerateChromaGrains()
405 memset(v_grain, 0, chroma_height * chroma_width * sizeof(*v_grain)); in GenerateChromaGrains()
415 } while (++x < chroma_width); in GenerateChromaGrains()
417 v_grain_row += chroma_width; in GenerateChromaGrains()
Dfilm_grain.h86 int chroma_width, int chroma_height,
/external/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc75 int chroma_width = frame.ChromaWidth(); in PrintVideoFrame() local
81 if (PrintPlane(frame.DataU(), chroma_width, chroma_height, frame.StrideU(), in PrintVideoFrame()
85 if (PrintPlane(frame.DataV(), chroma_width, chroma_height, frame.StrideV(), in PrintVideoFrame()
109 int chroma_width = input_frame->ChromaWidth(); in ExtractBuffer() local
115 buffer + width * height, chroma_width, in ExtractBuffer()
116 buffer + width * height + chroma_width * chroma_height, in ExtractBuffer()
117 chroma_width, width, height); in ExtractBuffer()
/external/libgav1/libgav1/src/dsp/x86/
Dfilm_grain_sse4.cc245 const int chroma_width = (width + subsampling_x) >> subsampling_x; in BlendChromaPlaneWithCfl_SSE4_1() local
248 const int safe_chroma_width = (chroma_width - (width & 1)) & ~7; in BlendChromaPlaneWithCfl_SSE4_1()
276 if (x < chroma_width) { in BlendChromaPlaneWithCfl_SSE4_1()
373 const int chroma_width = (width + subsampling_x) >> subsampling_x; in BlendChromaPlane8bpp_SSE4_1() local
377 const int safe_chroma_width = (chroma_width - (width & 1)) & ~7; in BlendChromaPlane8bpp_SSE4_1()
399 if (x < chroma_width) { in BlendChromaPlane8bpp_SSE4_1()
411 const int valid_range_chroma = chroma_width - x; in BlendChromaPlane8bpp_SSE4_1()
/external/webrtc/media/base/
Dfake_video_renderer.h110 int chroma_width = i420_buffer->ChromaWidth(); in CheckFrameColorYuv() local
119 for (int j = 0; j < chroma_width; ++j) { in CheckFrameColorYuv()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_decoder.h51 unsigned chroma_width, chroma_height; member
Dvl_mpeg12_decoder.c952 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/webrtc/common_video/
Dvideo_frame_unittest.cc143 int chroma_width = buffer->ChromaWidth(); in CreateGradient() local
145 for (int x = 0; x < chroma_width; x++) { in CreateGradient()
147 buffer->MutableDataU()[x + y * chroma_width] = in CreateGradient()
148 255 * x / (chroma_width - 1); in CreateGradient()
149 buffer->MutableDataV()[x + y * chroma_width] = in CreateGradient()
/external/libvpx/libvpx/vp9/encoder/x86/
Dtemporal_filter_sse4.c863 chroma_width = block_width >> ss_x; in vp9_apply_temporal_filter_sse4_1() local
906 for (blk_col = 0; blk_col < chroma_width; blk_col += 8) { in vp9_apply_temporal_filter_sse4_1()
Dhighbd_temporal_filter_sse4.c870 chroma_width = block_width >> ss_x; in vp9_highbd_apply_temporal_filter_sse4_1() local
913 for (blk_col = 0; blk_col < chroma_width; blk_col += 8) { in vp9_highbd_apply_temporal_filter_sse4_1()
/external/libaom/libaom/av1/encoder/x86/
Dtemporal_filter_sse4.c970 chroma_width = block_width >> ss_x; in apply_temporal_filter_yuv() local
1013 for (blk_col = 0; blk_col < chroma_width; blk_col += 8) { in apply_temporal_filter_yuv()
1935 chroma_width = block_width >> ss_x; in highbd_apply_temporal_filter_yuv() local
1982 for (blk_col = 0; blk_col < chroma_width; blk_col += 8) { in highbd_apply_temporal_filter_yuv()