Home
last modified time | relevance | path

Searched refs:kPlaneU (Results 1 – 19 of 19) sorted by relevance

/external/libgav1/libgav1/src/
Dyuv_buffer.cc91 stride_[kPlaneU] = frame_buffer.stride[1]; in Realloc()
94 buffer_[kPlaneU] = frame_buffer.plane[1]; in Realloc()
154 stride_[kPlaneU] = stride_[kPlaneV] = uv_stride; in Realloc()
166 buffer_[kPlaneU] = in Realloc()
183 left_border_[kPlaneU] = left_border_[kPlaneV] = uv_left_border; in Realloc()
184 right_border_[kPlaneU] = right_border_[kPlaneV] = uv_right_border; in Realloc()
185 top_border_[kPlaneU] = top_border_[kPlaneV] = uv_top_border; in Realloc()
186 bottom_border_[kPlaneU] = bottom_border_[kPlaneV] = uv_bottom_border; in Realloc()
193 assert(!is_monochrome || stride_[kPlaneU] == 0); in Realloc()
195 assert(!is_monochrome || buffer_[kPlaneU] == nullptr); in Realloc()
Dfilm_grain.cc447 noise_stripes_[kPlaneU].Reset(max_luma_num, in AllocateNoiseStripes()
469 if (!noise_image_[kPlaneU].Reset( in AllocateNoiseImage()
563 if (plane == kPlaneU) { in BlendNoiseChromaWorker()
642 subsampling_y_, &noise_stripes_[kPlaneU]); in AddNoise()
667 ConstructNoiseImage(&noise_stripes_[kPlaneU], width_, height_, in AddNoise()
671 &noise_image_[kPlaneU]); in AddNoise()
679 &noise_stripes_[kPlaneU], width_, height_, subsampling_x_, in AddNoise()
680 subsampling_y_, &noise_image_[kPlaneU]); in AddNoise()
713 planes_to_blend[num_planes++] = kPlaneU; in AddNoise()
726 planes_to_blend[num_planes++] = kPlaneU; in AddNoise()
[all …]
Dtile.h766 residual_size[kPlaneU] = residual_size[kPlaneV] = in Block()
767 kPlaneResidualSize[size][tile.subsampling_x_[kPlaneU]] in Block()
768 [tile.subsampling_y_[kPlaneU]]; in Block()
771 assert(residual_size[kPlaneU] != kBlockInvalid); in Block()
793 top_available[kPlaneU] = top_available[kPlaneV] = tile.IsTopInside( in Block()
803 left_available[kPlaneU] = left_available[kPlaneV] = tile.IsLeftInside( in Block()
Ddecoder_impl.cc1574 assert(displayable_frame->buffer()->stride(kPlaneU) == in ApplyFilmGrain()
1576 const int input_stride_uv = displayable_frame->buffer()->stride(kPlaneU); in ApplyFilmGrain()
1577 assert((*film_grain_frame)->buffer()->stride(kPlaneU) == in ApplyFilmGrain()
1579 const int output_stride_uv = (*film_grain_frame)->buffer()->stride(kPlaneU); in ApplyFilmGrain()
1592 displayable_frame->buffer()->data(kPlaneU), in ApplyFilmGrain()
1596 (*film_grain_frame)->buffer()->data(kPlaneU), in ApplyFilmGrain()
1614 displayable_frame->buffer()->data(kPlaneU), in ApplyFilmGrain()
1618 (*film_grain_frame)->buffer()->data(kPlaneU), in ApplyFilmGrain()
Dobu_parser.cc945 if (!ParseDeltaQuantizer(&quantizer->delta_dc[kPlaneU]) || in ParseQuantizerParameters()
946 !ParseDeltaQuantizer(&quantizer->delta_ac[kPlaneU])) { in ParseQuantizerParameters()
955 quantizer->delta_dc[kPlaneV] = quantizer->delta_dc[kPlaneU]; in ParseQuantizerParameters()
956 quantizer->delta_ac[kPlaneV] = quantizer->delta_ac[kPlaneU]; in ParseQuantizerParameters()
965 quantizer->matrix_level[kPlaneU] = scratch; in ParseQuantizerParameters()
970 quantizer->matrix_level[kPlaneV] = quantizer->matrix_level[kPlaneU]; in ParseQuantizerParameters()
1087 quantizer->delta_dc[kPlaneU] == 0 && in ComputeSegmentLosslessAndQIndex()
1088 quantizer->delta_ac[kPlaneU] == 0 && in ComputeSegmentLosslessAndQIndex()
1174 loop_restoration->unit_size_log2[kPlaneU] = in ParseLoopRestorationParameters()
Dpost_filter.h196 loop_restoration.type[kPlaneU] != kLoopRestorationTypeNone || in DoRestoration()
/external/libgav1/libgav1/src/post_filter/
Ddeblock.cc156 const int subsampling_x = subsampling_x_[kPlaneU]; in GetHorizontalDeblockFilterEdgeInfoUV()
157 const int subsampling_y = subsampling_y_[kPlaneU]; in GetHorizontalDeblockFilterEdgeInfoUV()
168 bool need_filter_u = frame_header_.loop_filter.level[kPlaneU + 1] != 0; in GetHorizontalDeblockFilterEdgeInfoUV()
172 kDeblockFilterLevelIndex[kPlaneU][kLoopFilterTypeHorizontal]; in GetHorizontalDeblockFilterEdgeInfoUV()
246 const int subsampling_x = subsampling_x_[kPlaneU]; in GetVerticalDeblockFilterEdgeInfoUV()
256 bool need_filter_u = frame_header_.loop_filter.level[kPlaneU + 1] != 0; in GetVerticalDeblockFilterEdgeInfoUV()
260 kDeblockFilterLevelIndex[kPlaneU][kLoopFilterTypeVertical]; in GetVerticalDeblockFilterEdgeInfoUV()
331 const int8_t subsampling_x = subsampling_x_[kPlaneU]; in HorizontalDeblockFilter()
332 const int8_t subsampling_y = subsampling_y_[kPlaneU]; in HorizontalDeblockFilter()
334 const ptrdiff_t src_stride_u = frame_buffer_.stride(kPlaneU); in HorizontalDeblockFilter()
[all …]
Dcdef.cc125 const int8_t subsampling_x = y_plane ? 0 : subsampling_x_[kPlaneU]; in PrepareCdefBlock()
126 const int8_t subsampling_y = y_plane ? 0 : subsampling_y_[kPlaneU]; in PrepareCdefBlock()
146 for (int plane = y_plane ? kPlaneY : kPlaneU; plane < max_planes; ++plane) { in PrepareCdefBlock()
471 for (int plane = kPlaneU; plane <= kPlaneV; ++plane) { in ApplyCdefForOneUnit()
485 for (int plane = kPlaneU; plane <= kPlaneV; ++plane) { in ApplyCdefForOneUnit()
511 for (int plane = kPlaneU; plane <= kPlaneV; ++plane) { in ApplyCdefForOneUnit()
Dsuper_res.cc155 if ((thread_pool_rows & 1) != 0 && subsampling_y_[kPlaneU] != 0) { in ApplySuperResThreaded()
163 if ((current_thread_rows & 1) != 0 && subsampling_y_[kPlaneU] != 0) { in ApplySuperResThreaded()
Dpost_filter.cc166 needs_chroma_deblock_(frame_header.loop_filter.level[kPlaneU + 1] != 0 ||
441 loop_restoration_border_.data(kPlaneU) + in SetupLoopRestorationBorder()
442 row_offset_start * loop_restoration_border_.stride(kPlaneU), in SetupLoopRestorationBorder()
/external/exoplayer/tree/extensions/av1/src/main/jni/
Dgav1_jni.cc63 const int kPlaneU = 1; variable
602 decoder_buffer->stride[kPlaneY], decoder_buffer->stride[kPlaneU], in DECODER_FUNC()
725 CopyPlane(jni_buffer->Plane(kPlaneU), jni_buffer->Stride(kPlaneU), in DECODER_FUNC()
728 native_window_buffer_uv_stride, jni_buffer->DisplayedWidth(kPlaneU), in DECODER_FUNC()
730 jni_buffer->DisplayedHeight(kPlaneU))); in DECODER_FUNC()
/external/libgav1/libgav1/src/dsp/x86/
Dfilm_grain_sse4.cc442 assert(plane == kPlaneU || plane == kPlaneV); in BlendNoiseWithImageChroma8bpp_SSE4_1()
449 const int offset = (plane == kPlaneU) ? params.u_offset : params.v_offset; in BlendNoiseWithImageChroma8bpp_SSE4_1()
451 (plane == kPlaneU) ? params.u_luma_multiplier : params.v_luma_multiplier; in BlendNoiseWithImageChroma8bpp_SSE4_1()
453 (plane == kPlaneU) ? params.u_multiplier : params.v_multiplier; in BlendNoiseWithImageChroma8bpp_SSE4_1()
/external/libgav1/libgav1/src/dsp/arm/
Dfilm_grain_neon.cc973 assert(plane == kPlaneU || plane == kPlaneV); in BlendNoiseWithImageChroma8bpp_NEON()
980 const int offset = (plane == kPlaneU) ? params.u_offset : params.v_offset; in BlendNoiseWithImageChroma8bpp_NEON()
982 (plane == kPlaneU) ? params.u_luma_multiplier : params.v_luma_multiplier; in BlendNoiseWithImageChroma8bpp_NEON()
984 (plane == kPlaneU) ? params.u_multiplier : params.v_multiplier; in BlendNoiseWithImageChroma8bpp_NEON()
/external/libgav1/libgav1/src/dsp/
Dfilm_grain.cc547 const int offset = (plane == kPlaneU) ? params.u_offset : params.v_offset; in BlendNoiseWithImageChroma_C()
549 (plane == kPlaneU) ? params.u_luma_multiplier : params.v_luma_multiplier; in BlendNoiseWithImageChroma_C()
551 (plane == kPlaneU) ? params.u_multiplier : params.v_multiplier; in BlendNoiseWithImageChroma_C()
/external/libgav1/libgav1/src/utils/
Dconstants.h188 enum Plane : uint8_t { kPlaneY, kPlaneU, kPlaneV }; enumerator
/external/libgav1/libgav1/src/tile/bitstream/
Dpalette.cc169 ReadPaletteColors(block, kPlaneU); in ReadPaletteModeInfo()
Dmode_info.cc449 chroma_from_luma_allowed = block.residual_size[kPlaneU] == kBlock4x4; in ReadPredictionModeUV()
/external/libgav1/libgav1/src/tile/
Dtile.cc1033 std::max(block.column4x4, block_x << subsampling_x_[kPlaneU]); in ComputeTransformType()
1034 const int y4 = std::max(block.row4x4, block_y << subsampling_y_[kPlaneU]); in ComputeTransformType()
1840 if (block.width < 8 && subsampling_x_[kPlaneU] != 0) { in IsMvValid()
1843 if (block.height < 8 && subsampling_y_[kPlaneU] != 0) { in IsMvValid()
2170 : kUVTransformSize[block.residual_size[kPlaneU]]; in ProcessBlock()
Dprediction.cc568 (plane == kPlaneU) ? prediction_parameters.cfl_alpha_u in ChromaFromLumaPrediction()