Home
last modified time | relevance | path

Searched refs:kPlaneY (Results 1 – 25 of 25) sorted by relevance

/external/exoplayer/tree/extensions/av1/src/main/jni/
Dgav1_jni.cc62 const int kPlaneY = 0; variable
130 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in ~JniFrameBuffer()
142 for (int plane_index = kPlaneY; plane_index < decoder_buffer.NumPlanes(); in SetFrameData()
176 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in MaybeReallocateGav1DataPlanes()
178 (plane_index == kPlaneY) ? y_plane_min_size : uv_plane_min_size; in MaybeReallocateGav1DataPlanes()
380 for (int plane_index = kPlaneY; plane_index < decoder_buffer->NumPlanes(); in CopyFrameToDataBuffer()
391 for (int plane_index = kPlaneY; plane_index < decoder_buffer->NumPlanes(); in Convert10BitFrameTo8BitDataBuffer()
419 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in Convert10BitFrameTo8BitDataBufferNeon()
600 decoder_buffer->displayed_width[kPlaneY], in DECODER_FUNC()
601 decoder_buffer->displayed_height[kPlaneY], in DECODER_FUNC()
[all …]
/external/libgav1/libgav1/src/post_filter/
Dcdef.cc92 int plane = kPlaneY; in SetupCdefBorder()
146 for (int plane = y_plane ? kPlaneY : kPlaneU; plane < max_planes; ++plane) { in PrepareCdefBlock()
276 int plane = kPlaneY; in ApplyCdefForOneUnit()
307 int plane = kPlaneY; in ApplyCdefForOneUnit()
327 GetSourceBuffer(kPlaneY, row4x4_start, in ApplyCdefForOneUnit()
330 CopyPixels(src_line, frame_buffer_.stride(kPlaneY), in ApplyCdefForOneUnit()
331 border_columns[border_columns_dst_index][kPlaneY], in ApplyCdefForOneUnit()
366 uint8_t* cdef_buffer_base = cdef_buffer_row_base[kPlaneY]; in ApplyCdefForOneUnit()
367 const uint8_t* src_buffer_base = src_buffer_row_base[kPlaneY]; in ApplyCdefForOneUnit()
368 const uint16_t* cdef_src_base = cdef_src_row_base[kPlaneY]; in ApplyCdefForOneUnit()
[all …]
Dpost_filter.cc191 int plane = kPlaneY;
211 int plane = kPlaneY;
224 int plane = kPlaneY;
232 plane = kPlaneY;
283 int plane = kPlaneY; in ExtendBordersForReferenceFrame()
346 int plane = kPlaneY; in CopyBordersForOneSuperBlockRow()
361 if (!for_loop_restoration && plane == kPlaneY) { in CopyBordersForOneSuperBlockRow()
393 int plane = kPlaneY; in SetupLoopRestorationBorder()
439 loop_restoration_border_.data(kPlaneY) + in SetupLoopRestorationBorder()
440 row_offset_start * loop_restoration_border_.stride(kPlaneY), in SetupLoopRestorationBorder()
[all …]
Dsuper_res.cc24 int plane = kPlaneY; in ApplySuperRes()
110 int plane = kPlaneY; in ApplySuperResForOneSuperBlockRow()
131 int plane = kPlaneY; in ApplySuperResForOneSuperBlockRow()
173 int plane = kPlaneY; in ApplySuperResThreaded()
Ddeblock.cc302 const ptrdiff_t src_stride = frame_buffer_.stride(kPlaneY); in HorizontalDeblockFilter()
303 uint8_t* src = GetSourceBuffer(kPlaneY, row4x4_start, column4x4_start); in HorizontalDeblockFilter()
375 const ptrdiff_t row_stride = MultiplyBy4(frame_buffer_.stride(kPlaneY)); in VerticalDeblockFilter()
376 const ptrdiff_t src_stride = frame_buffer_.stride(kPlaneY); in VerticalDeblockFilter()
377 uint8_t* src = GetSourceBuffer(kPlaneY, row4x4_start, column4x4_start); in VerticalDeblockFilter()
Dloop_restoration.cc103 int plane = kPlaneY; in ApplyLoopRestorationForOneSuperBlockRow()
/external/libgav1/libgav1/src/
Dyuv_buffer.cc90 stride_[kPlaneY] = frame_buffer.stride[0]; in Realloc()
93 buffer_[kPlaneY] = frame_buffer.plane[0]; in Realloc()
153 stride_[kPlaneY] = y_stride; in Realloc()
164 buffer_[kPlaneY] = AlignAddr( in Realloc()
176 left_border_[kPlaneY] = left_border; in Realloc()
177 right_border_[kPlaneY] = right_border; in Realloc()
178 top_border_[kPlaneY] = top_border; in Realloc()
179 bottom_border_[kPlaneY] = bottom_border; in Realloc()
Dloop_restoration_info.cc67 for (int plane = kPlaneY; plane < num_planes; ++plane) { in Reset()
74 (plane == kPlaneY) ? width : SubsampledValue(width, subsampling_x_); in Reset()
76 (plane == kPlaneY) ? height : SubsampledValue(height, subsampling_y_); in Reset()
94 for (int plane = kPlaneY; plane < num_planes; ++plane) { in Reset()
167 if (plane != kPlaneY) { in ReadWienerInfo()
171 for (int j = static_cast<int>(plane != kPlaneY); j < kNumWienerCoefficients; in ReadWienerInfo()
Dtile.h765 residual_size[kPlaneY] = kPlaneResidualSize[size][0][0]; in Block()
769 assert(residual_size[kPlaneY] != kBlockInvalid); in Block()
783 top_available[kPlaneY] = tile.IsTopInside(row4x4); in Block()
784 left_available[kPlaneY] = tile.IsLeftInside(column4x4); in Block()
812 if (top_available[kPlaneY]) { in Block()
816 if (left_available[kPlaneY]) { in Block()
840 return static_cast<int>(top_available[kPlaneY] && in CountReferences()
842 static_cast<int>(top_available[kPlaneY] && in CountReferences()
844 static_cast<int>(left_available[kPlaneY] && in CountReferences()
846 static_cast<int>(left_available[kPlaneY] && in CountReferences()
[all …]
Dfilm_grain.cc442 noise_stripes_[kPlaneY].Reset(max_luma_num, kNoiseStripeHeight * width_, in AllocateNoiseStripes()
464 !noise_image_[kPlaneY].Reset(height_, width_ + kNoiseImagePadding, in AllocateNoiseImage()
636 /*subsampling_x=*/0, /*subsampling_y=*/0, &noise_stripes_[kPlaneY]); in AddNoise()
657 &noise_stripes_[kPlaneY], width_, height_, /*subsampling_x=*/0, in AddNoise()
659 &noise_image_[kPlaneY]); in AddNoise()
662 &noise_stripes_[kPlaneY], width_, height_, /*subsampling_x=*/0, in AddNoise()
663 /*subsampling_y=*/0, &noise_image_[kPlaneY]); in AddNoise()
Dyuv_buffer.h101 return (plane == kPlaneY) ? y_width_ : uv_width_; in width()
104 return (plane == kPlaneY) ? y_height_ : uv_height_; in height()
Ddecoder_impl.cc1158 int plane = kPlaneY; in CopyFrameToOutputBuffer()
1459 for (int plane = kPlaneY; plane < num_planes; ++plane) { in DecodeTiles()
1461 (plane == kPlaneY) ? 0 : sequence_header.color_config.subsampling_x; in DecodeTiles()
1590 displayable_frame->buffer()->data(kPlaneY), in ApplyFilmGrain()
1591 displayable_frame->buffer()->stride(kPlaneY), in ApplyFilmGrain()
1594 (*film_grain_frame)->buffer()->data(kPlaneY), in ApplyFilmGrain()
1595 (*film_grain_frame)->buffer()->stride(kPlaneY), in ApplyFilmGrain()
1612 displayable_frame->buffer()->data(kPlaneY), in ApplyFilmGrain()
1613 displayable_frame->buffer()->stride(kPlaneY), in ApplyFilmGrain()
1616 (*film_grain_frame)->buffer()->data(kPlaneY), in ApplyFilmGrain()
[all …]
Dpost_filter.h192 return loop_restoration.type[kPlaneY] != kLoopRestorationTypeNone && in DoRestoration()
195 return (loop_restoration.type[kPlaneY] != kLoopRestorationTypeNone || in DoRestoration()
Dobu_parser.cc938 if (!ParseDeltaQuantizer(&quantizer->delta_dc[kPlaneY])) return false; in ParseQuantizerParameters()
963 quantizer->matrix_level[kPlaneY] = scratch; in ParseQuantizerParameters()
1086 segmentation->qindex[i] == 0 && quantizer->delta_dc[kPlaneY] == 0 && in ComputeSegmentLosslessAndQIndex()
1166 loop_restoration->unit_size_log2[kPlaneY] = 6 + unit_shift; in ParseLoopRestorationParameters()
Dmotion_vector.cc872 if (block.top_available[kPlaneY]) { in FindWarpSamples()
897 if (block.left_available[kPlaneY]) { in FindWarpSamples()
/external/libgav1/libgav1/src/tile/bitstream/
Dmode_info.cc134 if (block.top_available[kPlaneY] && block.left_available[kPlaneY]) { in GetUseCompoundReferenceContext()
149 if (block.top_available[kPlaneY]) { in GetUseCompoundReferenceContext()
154 if (block.left_available[kPlaneY]) { in GetUseCompoundReferenceContext()
189 if (block.top_available[kPlaneY] && block.left_available[kPlaneY]) { in ReadSegmentId()
195 if (block.top_available[kPlaneY]) { in ReadSegmentId()
199 if (block.left_available[kPlaneY]) { in ReadSegmentId()
261 if (block.top_available[kPlaneY] && block.bp_top->skip) { in ReadSkip()
264 if (block.left_available[kPlaneY] && block.bp_left->skip) { in ReadSkip()
285 (block.left_available[kPlaneY] in ReadSkipMode()
288 (block.top_available[kPlaneY] ? static_cast<int>(block.bp_top->skip_mode) in ReadSkipMode()
[all …]
Dtransform_size.cc73 if (!block.top_available[kPlaneY]) return 64; in GetTopTransformWidth()
86 if (!block.left_available[kPlaneY]) return 64; in GetLeftTransformHeight()
110 block.top_available[kPlaneY] in ReadFixedTransformSize()
114 block.left_available[kPlaneY] in ReadFixedTransformSize()
Dpalette.cc37 (block.top_available[kPlaneY] && Mod64(MultiplyBy4(block.row4x4)) != 0) in GetPaletteCache()
40 const int left_size = block.left_available[kPlaneY] in GetPaletteCache()
143 static_cast<int>(block.top_available[kPlaneY] && in ReadPaletteModeInfo()
146 static_cast<int>(block.left_available[kPlaneY] && in ReadPaletteModeInfo()
156 ReadPaletteColors(block, kPlaneY); in ReadPaletteModeInfo()
/external/libgav1/libgav1/src/tile/
Dprediction.cc256 (plane == kPlaneY && prediction_parameters.use_filter_intra); in IntraPrediction()
396 if (plane == kPlaneY) { in IsSmoothPrediction()
549 buffer_[kPlaneY].rows(), buffer_[kPlaneY].columns() / sizeof(Pixel), in ChromaFromLumaPrediction()
550 reinterpret_cast<Pixel*>(&buffer_[kPlaneY][0][0])); in ChromaFromLumaPrediction()
559 buffer_[kPlaneY].columns()); in ChromaFromLumaPrediction()
678 if (plane == kPlaneY) { in GetWarpParams()
780 if (plane == kPlaneY) { in InterPrediction()
850 if (block.top_available[kPlaneY] && in ObmcPrediction()
884 if (block.left_available[kPlaneY]) { in ObmcPrediction()
Dtile.cc505 for (int plane = kPlaneY; plane < PlaneCount(); ++plane) {
508 const int max_tx_length = (plane == kPlaneY) ? 64 : 32;
920 for (int plane = kPlaneY; plane < PlaneCount(); ++plane) { in PopulateIntraPredictionBuffer()
962 if (plane == kPlaneY) { in GetTransformAllZeroContext()
1026 if (plane == kPlaneY) { in ComputeTransformType()
1381 if (plane == kPlaneY) { in ReadTransformCoefficients()
1406 if (plane == kPlaneY) { in ReadTransformCoefficients()
1595 (plane == kPlaneY) in TransformBlock()
1612 if (plane != kPlaneY && bp.uv_mode == kPredictionModeChromaFromLuma) { in TransformBlock()
1617 if (plane == kPlaneY) { in TransformBlock()
[all …]
/external/libgav1/libgav1/src/utils/
Dconstants.h188 enum Plane : uint8_t { kPlaneY, kPlaneU, kPlaneV }; enumerator
189 enum : uint8_t { kMaxPlanesMonochrome = kPlaneY + 1, kMaxPlanes = kPlaneV + 1 };
Dcommon.h316 return MultiplyBy4(row_or_column4x4) >> (plane == kPlaneY ? 0 : subsampling); in RowOrColumn4x4ToPixel()
320 return static_cast<PlaneType>(plane != kPlaneY); in GetPlaneType()
/external/libgav1/libgav1/src/dsp/x86/
Dfilm_grain_sse4.cc188 __m128i noise = LoadSource(&(noise_image[kPlaneY][y + start_height][x])); in BlendNoiseWithImageLuma_SSE4_1()
205 __m128i noise = LoadSource(&(noise_image[kPlaneY][y + start_height][x])); in BlendNoiseWithImageLuma_SSE4_1()
/external/libgav1/libgav1/src/dsp/
Dfilm_grain.cc516 int noise = noise_image[kPlaneY][y + start_height][x]; in BlendNoiseWithImageLuma_C()
/external/libgav1/libgav1/src/dsp/arm/
Dfilm_grain_neon.cc720 GetSignedSource8(&(noise_image[kPlaneY][y + start_height][x])); in BlendNoiseWithImageLuma_NEON()